{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"\/v1\/users\/budget-choice":{"get":{"summary":"Get Budget Choice","operationId":"get_budget_choice_v1_users_budget_choice_get","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Omi-Held-Content","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-Held-Content"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BudgetChoiceResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"put":{"summary":"Put Budget Choice","operationId":"put_budget_choice_v1_users_budget_choice_put","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Omi-Held-Content","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-Held-Content"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BudgetChoiceRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BudgetChoiceWriteResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/messaging\/link-proofs":{"post":{"tags":["messaging"],"summary":"Mint Link Proof","operationId":"mint_link_proof_v1_messaging_link_proofs_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ChannelLinkRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ChannelLinkProof"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/messaging\/links":{"get":{"tags":["messaging"],"summary":"List Links","operationId":"list_links_v1_messaging_links_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ChannelLinksResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/messaging\/links\/{link_id}":{"delete":{"tags":["messaging"],"summary":"Unlink","operationId":"unlink_v1_messaging_links__link_id__delete","parameters":[{"name":"link_id","in":"path","required":true,"schema":{"type":"string","title":"Link Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ChannelLinkReceipt"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["messaging"],"summary":"Set Visibility","operationId":"set_visibility_v1_messaging_links__link_id__patch","parameters":[{"name":"link_id","in":"path","required":true,"schema":{"type":"string","title":"Link Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ChannelVisibilityRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ChannelLinkReceipt"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/messaging\/webhooks\/{adapter_id}":{"post":{"tags":["messaging"],"summary":"Receive Webhook","operationId":"receive_webhook_v1_messaging_webhooks__adapter_id__post","parameters":[{"name":"adapter_id","in":"path","required":true,"schema":{"type":"string","title":"Adapter Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/proactivity\/feed":{"get":{"summary":"Get Proactivity Feed","operationId":"get_proactivity_feed","deprecated":true,"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":1024,"default":"","title":"Cursor"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProactivityFeedResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/proactivity\/items\/{item_id}\/outcomes":{"post":{"summary":"Record Proactivity Outcome","operationId":"record_proactivity_outcome","deprecated":true,"parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProactivityOutcomeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProactivityOutcomeResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/release-channel":{"put":{"summary":"Record Channel","operationId":"record_channel_v1_users_release_channel_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReleaseChannel"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/dream\/runs":{"get":{"summary":"Get Runs","operationId":"get_runs_v1_dream_runs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":20,"minimum":1,"default":10,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DreamRunsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"post":{"summary":"Run Now","operationId":"run_now_v1_dream_runs_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DreamRunRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DreamRun"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/static-map":{"get":{"summary":"Get Static Map","operationId":"get_static_map_v1_static_map_get","parameters":[{"name":"pins","in":"query","required":true,"schema":{"type":"string","description":"Pipe-separated 'lat,lng' pairs (max 50 after de-duplication)","title":"Pins"},"description":"Pipe-separated 'lat,lng' pairs (max 50 after de-duplication)"},{"name":"width","in":"query","required":true,"schema":{"type":"integer","maximum":1280,"minimum":64,"description":"Requested image width in px","title":"Width"},"description":"Requested image width in px"},{"name":"height","in":"query","required":true,"schema":{"type":"integer","maximum":1280,"minimum":64,"description":"Requested image height in px","title":"Height"},"description":"Requested image height in px"},{"name":"theme","in":"query","required":false,"schema":{"enum":["light","dark"],"type":"string","description":"Map colors to match the app; builds that send none get dark","default":"dark","title":"Theme"},"description":"Map colors to match the app; builds that send none get dark"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/auto\/model-pick":{"get":{"summary":"Auto Model Pick","description":"Current best realtime-voice provider for 'Auto' users (daily-cached).","operationId":"auto_model_pick_v1_auto_model_pick_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AutoModelPick"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/live":{"get":{"summary":"Get Live Conversation","operationId":"get_live_conversation_v1_conversations_live_get","parameters":[{"name":"X-Omi-App-Channel","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-App-Channel"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationsLiveResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations":{"post":{"tags":["conversations"],"summary":"Process In Progress Conversation","operationId":"process_in_progress_conversation_v1_conversations_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProcessConversationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateConversationResponse"}}}},"404":{"description":"No in-progress conversation was found"},"500":{"description":"Conversation processing failed","content":{"application\/json":{"schema":{"type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}}}}},"503":{"description":"Transient provider failure; the in-progress conversation is recoverable and may be retried","content":{"application\/json":{"schema":{"type":"object","required":["detail"],"properties":{"detail":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["conversation_processing_retryable"]},"message":{"type":"string"}}}}}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["conversations"],"summary":"Get Conversations","description":"List responses may omit detail-only fields such as transcript_segments. Clients should treat omitted transcript_segments as unknown\/not loaded, not as an empty transcript. Large accounts can outrun the request budget; such responses return a partial newest-first array with the X-Omi-List-Truncated: true header instead of a 504 (#11831).","operationId":"get_conversations_v1_conversations_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"statuses","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"processing,completed","title":"Statuses"}},{"name":"include_discarded","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Discarded"}},{"name":"sources","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated source filter (e.g. friend,omi); combine with statuses only for one source.","title":"Sources"},"description":"Comma-separated source filter (e.g. friend,omi); combine with statuses only for one source."},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Filter by start date (inclusive)","title":"Start Date"},"description":"Filter by start date (inclusive)"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Filter by end date (inclusive)","title":"End Date"},"description":"Filter by end date (inclusive)"},{"name":"folder_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by folder ID","title":"Folder Id"},"description":"Filter by folder ID"},{"name":"starred","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Filter by starred status","title":"Starred"},"description":"Filter by starred status"},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque page cursor from a previous response's X-Omi-Next-Cursor header; when accepted it replaces offset. An unknown or stale cursor falls back to offset.","title":"Cursor"},"description":"Opaque page cursor from a previous response's X-Omi-Next-Cursor header; when accepted it replaces offset. An unknown or stale cursor falls back to offset."},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/models__conversation__Conversation"},"title":"Response Get Conversations V1 Conversations Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/finalize":{"post":{"tags":["conversations"],"summary":"Finalize Conversation","description":"Finalize exactly one backend conversation.\n\nUnlike POST \/v1\/conversations, this does not operate on the user's Redis\n\"current in-progress\" pointer, so desktop retry\/rotation cannot accidentally\nfinalize a newer recording.","operationId":"finalize_conversation_v1_conversations__conversation_id__finalize_post","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProcessConversationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateConversationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/finalization":{"get":{"tags":["conversations"],"summary":"Get Conversation Finalization Status","operationId":"get_conversation_finalization_status_v1_conversations__conversation_id__finalization_get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationFinalizationStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/reprocess":{"post":{"tags":["conversations"],"summary":"Reprocess Conversation","description":"Whenever a user wants to reprocess a conversation, or wants to force process a discarded one\n:param conversation_id: The ID of the conversation to reprocess\n:param language_code: Optional language code to use for processing\n:param app_id: Optional app ID to use for processing (if provided, only this app will be triggered)\n:param source: ``omi`` asks for Omi's own notes only: neither the preferred app nor a suggested\n    app runs. Omitted keeps the legacy meaning (Omi notes plus the user's preferred app).\n:return: The updated conversation after reprocessing.","operationId":"reprocess_conversation_v1_conversations__conversation_id__reprocess_post","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"language_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language Code"}},{"name":"app_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"}},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"const":"omi","type":"string"},{"type":"null"}],"title":"Source"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/models__conversation__Conversation"}}}},"400":{"description":"The selected app cannot summarize conversations, or app_id was combined with source=omi"},"403":{"description":"The selected app is not available to this user"},"404":{"description":"The conversation or selected app does not exist"},"409":{"description":"The selected app is disabled or not enabled by this user, or the conversation is already being processed (detail code conversation_processing_in_progress)"},"500":{"description":"Conversation processing failed","content":{"application\/json":{"schema":{"type":"object","required":["detail"],"properties":{"detail":{"type":"string"}}}}}},"502":{"description":"The selected app produced no summary (detail code app_result_failed)"},"503":{"description":"Transient provider failure or a refused processing write (stale source, lost lease, or another writer); the conversation is recoverable and may be retried","content":{"application\/json":{"schema":{"type":"object","required":["detail"],"properties":{"detail":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["conversation_processing_retryable"]},"message":{"type":"string"}}}}}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/hidden-noise-counts":{"get":{"tags":["conversations"],"summary":"Get Hidden Noise Counts","description":"Count hidden noise\/media without gating on MEDIA_NOISE_MODE for this uid.\n\nZero-count days are omitted. A 1000-row scan cap sets truncated=true when\nhit; days and total then represent lower bounds. Locked rows are eligible;\ndeletion\/merge tombstones never count; Dream duplicates count because the\ninclude_discarded reveal list shows them. No hidden rows\nreturns empty days and total=0, even when the media\/noise mode is disabled.","operationId":"get_hidden_noise_counts_v1_conversations_hidden_noise_counts_get","parameters":[{"name":"start_date","in":"query","required":true,"schema":{"type":"string","format":"date-time","description":"Inclusive start instant; naive timestamps use UTC","title":"Start Date"},"description":"Inclusive start instant; naive timestamps use UTC"},{"name":"end_date","in":"query","required":true,"schema":{"type":"string","format":"date-time","description":"Inclusive end instant; maximum window is 31 days","title":"End Date"},"description":"Inclusive end instant; maximum window is 31 days"},{"name":"tz","in":"query","required":false,"schema":{"type":"string","description":"IANA timezone for local created_at day buckets","default":"UTC","title":"Tz"},"description":"IANA timezone for local created_at day buckets"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HiddenNoiseCountsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/count":{"get":{"tags":["conversations"],"summary":"Get Conversations Count","operationId":"get_conversations_count_v1_conversations_count_get","parameters":[{"name":"statuses","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated status filter (e.g. processing,completed)","title":"Statuses"},"description":"Comma-separated status filter (e.g. processing,completed)"},{"name":"include_discarded","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Discarded"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Filter by start date (inclusive)","title":"Start Date"},"description":"Filter by start date (inclusive)"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Filter by end date (inclusive)","title":"End Date"},"description":"Filter by end date (inclusive)"},{"name":"folder_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by folder ID","title":"Folder Id"},"description":"Filter by folder ID"},{"name":"starred","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Filter by starred status","title":"Starred"},"description":"Filter by starred status"},{"name":"sources","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated source filter (e.g. friend,omi); combine with statuses only for one source.","title":"Sources"},"description":"Comma-separated source filter (e.g. friend,omi); combine with statuses only for one source."},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationsCountResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}":{"get":{"tags":["conversations"],"summary":"Get Conversation By Id","description":"Detail responses include transcript fields when available. Locked or redacted conversations may include an empty transcript_segments array even though transcript data exists.","operationId":"get_conversation_by_id_v1_conversations__conversation_id__get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Optional provenance constraint for a detail read","title":"Source"},"description":"Optional provenance constraint for a detail read"},{"name":"include_discarded","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Discarded"}},{"name":"include_translations","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Translations"}},{"name":"translation_cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Translation Cursor"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/models__conversation__Conversation"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["conversations"],"summary":"Delete Conversation","operationId":"delete_conversation_v1_conversations__conversation_id__delete","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"cascade","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Cascade"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/title":{"patch":{"tags":["conversations"],"summary":"Patch Conversation Title","operationId":"patch_conversation_title_v1_conversations__conversation_id__title_patch","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"title","in":"query","required":true,"schema":{"type":"string","title":"Title"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/calendar-event":{"delete":{"tags":["conversations"],"summary":"Unlink Calendar Event","description":"Unlink a calendar event from a conversation.\nThis removes the calendar_event field from the conversation.","operationId":"unlink_calendar_event_v1_conversations__conversation_id__calendar_event_delete","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"post":{"tags":["conversations"],"summary":"Link Calendar Event","description":"Link a specific Google Calendar event to an existing conversation.\nFetches the event details and stores the calendar_event on the conversation.","operationId":"link_calendar_event_v1_conversations__conversation_id__calendar_event_post","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/LinkCalendarEventRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CalendarEventLink"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/calendar-event\/auto-link":{"post":{"tags":["conversations"],"summary":"Auto Link Calendar Event","description":"Auto-link a conversation to the best overlapping Google Calendar event.\nUses the conversation's started_at\/finished_at to find a matching event.\nReturns 404 if no overlapping event is found.","operationId":"auto_link_calendar_event_v1_conversations__conversation_id__calendar_event_auto_link_post","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CalendarEventLink"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/capture-group\/separate":{"post":{"tags":["conversations"],"summary":"Separate Conversation From Capture Group","description":"Separate this conversation from the capture group (one event recorded by several devices) it belongs to. The decision is sticky: this capture is never regrouped with the members it left. Idempotent.","operationId":"separate_conversation_from_capture_group_v1_conversations__conversation_id__capture_group_separate_post","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/summary":{"patch":{"tags":["conversations"],"summary":"Patch Conversation Summary","operationId":"patch_conversation_summary_v1_conversations__conversation_id__summary_patch","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateSummaryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/segments\/text":{"patch":{"tags":["conversations"],"summary":"Patch Conversation Segment Text","operationId":"patch_conversation_segment_text_v1_conversations__conversation_id__segments_text_patch","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateSegmentTextRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/photos":{"get":{"tags":["conversations"],"summary":"Get Conversation Photos","operationId":"get_conversation_photos_v1_conversations__conversation_id__photos_get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ConversationPhoto"},"title":"Response Get Conversation Photos V1 Conversations  Conversation Id  Photos Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/transcripts":{"get":{"tags":["conversations"],"summary":"Get Conversation Transcripts By Models","operationId":"get_conversation_transcripts_by_models_v1_conversations__conversation_id__transcripts_get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#\/components\/schemas\/TranscriptSegment"}},"title":"Response Get Conversation Transcripts By Models V1 Conversations  Conversation Id  Transcripts Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/recording":{"get":{"tags":["conversations"],"summary":"Conversation Has Audio Recording","operationId":"conversation_has_audio_recording_v1_conversations__conversation_id__recording_get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationRecordingResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/events":{"patch":{"tags":["conversations"],"summary":"Set Conversation Events State","operationId":"set_conversation_events_state_v1_conversations__conversation_id__events_patch","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SetConversationEventsStateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/action-items":{"patch":{"tags":["conversations"],"summary":"Set Action Item Status","operationId":"set_action_item_status_v1_conversations__conversation_id__action_items_patch","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SetConversationActionItemsStateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["action-items"],"summary":"Delete Conversation Action Items","description":"Delete all action items for a specific conversation.","operationId":"delete_conversation_action_items_v1_conversations__conversation_id__action_items_delete","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationActionItemsDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["action-items"],"summary":"Get Conversation Action Items","description":"Get all action items for a specific conversation.","operationId":"get_conversation_action_items_v1_conversations__conversation_id__action_items_get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationActionItemsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/action-items\/{action_item_idx}":{"patch":{"tags":["conversations"],"summary":"Update Action Item Description","operationId":"update_action_item_description_v1_conversations__conversation_id__action_items__action_item_idx__patch","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateActionItemDescriptionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/segments\/{segment_idx}\/assign":{"patch":{"tags":["conversations"],"summary":"Set Assignee Conversation Segment","operationId":"set_assignee_conversation_segment_v1_conversations__conversation_id__segments__segment_idx__assign_patch","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"segment_idx","in":"path","required":true,"schema":{"type":"integer","title":"Segment Idx"}},{"name":"assign_type","in":"query","required":true,"schema":{"type":"string","title":"Assign Type"}},{"name":"value","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value"}},{"name":"use_for_speech_training","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Use For Speech Training"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/models__conversation__Conversation"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/assign-speaker\/{speaker_id}":{"patch":{"tags":["conversations"],"summary":"Set Assignee Conversation Speaker","operationId":"set_assignee_conversation_segment_v1_conversations__conversation_id__assign_speaker__speaker_id__patch","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"speaker_id","in":"path","required":true,"schema":{"type":"integer","title":"Speaker Id"}},{"name":"assign_type","in":"query","required":true,"schema":{"type":"string","title":"Assign Type"}},{"name":"value","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value"}},{"name":"use_for_speech_training","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Use For Speech Training"}},{"name":"start","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Range start in conversation-offset seconds (inclusive)","title":"Start"},"description":"Range start in conversation-offset seconds (inclusive)"},{"name":"end","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Range end in conversation-offset seconds (exclusive)","title":"End"},"description":"Range end in conversation-offset seconds (exclusive)"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"content":{"application\/json":{"schema":{"anyOf":[{"$ref":"#\/components\/schemas\/BulkAssignSegmentsRequest"},{"type":"null"}],"title":"Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/models__conversation__Conversation"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/segments\/assign-bulk":{"patch":{"tags":["conversations"],"summary":"Assign Segments Bulk","operationId":"assign_segments_bulk_v1_conversations__conversation_id__segments_assign_bulk_patch","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BulkAssignSegmentsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/models__conversation__Conversation"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/visibility":{"patch":{"tags":["conversations"],"summary":"Set Conversation Visibility","operationId":"set_conversation_visibility_v1_conversations__conversation_id__visibility_patch","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"value","in":"query","required":true,"schema":{"$ref":"#\/components\/schemas\/ConversationVisibility"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/share-recipients":{"get":{"tags":["conversations"],"summary":"Get Conversation Share Recipients","description":"Who the meeting summary could be sent to: calendar-detected participants minus the owner.","operationId":"get_conversation_share_recipients_v1_conversations__conversation_id__share_recipients_get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ShareRecipientsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/share-email":{"post":{"tags":["conversations"],"summary":"Send Conversation Share Email","description":"Send the meeting summary to the addresses the owner chose.\n\nThe card lets the owner type a recipient, so the address is theirs to pick\nrather than something we detected; detection only prefills the field. What\nkeeps this from being an open relay is unchanged: the sender must own the\nconversation, the mail carries only that conversation's own summary and\nshare link with the owner as reply-to, the request schema caps how many\naddresses one send may carry, and a per-owner daily quota bounds the total.\nSending\nmakes the conversation link-visible first (same contract as copying the\nshare link) so the emailed link resolves.","operationId":"send_conversation_share_email_v1_conversations__conversation_id__share_email_post","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SendShareEmailRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SendShareEmailResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/starred":{"patch":{"tags":["conversations"],"summary":"Set Conversation Starred","operationId":"set_conversation_starred_v1_conversations__conversation_id__starred_patch","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"starred","in":"query","required":true,"schema":{"type":"boolean","title":"Starred"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/shared":{"get":{"tags":["conversations"],"summary":"Get Shared Conversation By Id","operationId":"get_shared_conversation_by_id_v1_conversations__conversation_id__shared_get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SharedConversationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/topic":{"post":{"tags":["conversations"],"summary":"Generate Conversation Topic Endpoint","description":"Return-only emoji + short title through the managed conv_structure feature.\n\nDoes not write Firestore. Desktop clients call this for the fast provisional title\non a just-saved conversation instead of inventing one via Anthropic Haiku chat\ncompletions; full backend processing still overwrites it later.","operationId":"generate_conversation_topic_endpoint_v1_conversations_topic_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationTopicRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationTopicResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/search":{"post":{"tags":["conversations"],"summary":"Search Conversations Endpoint","operationId":"search_conversations_endpoint_v1_conversations_search_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SearchRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/routers__conversations__SearchConversationsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/suggested-apps":{"get":{"tags":["conversations"],"summary":"Get Conversation Suggested Apps","operationId":"get_conversation_suggested_apps_v1_conversations__conversation_id__suggested_apps_get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationSuggestedAppsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/analytics":{"get":{"tags":["conversations"],"summary":"Get Conversation Analytics","description":"Per-speaker analytics for a conversation (issue #4481).\n\nReturns each speaker's talk time, word count, and words per minute, plus the\nconversation totals. Speakers are the account owner (\"You\"), identified people\n(resolved to their name), and any remaining diarization speakers.","operationId":"get_conversation_analytics_v1_conversations__conversation_id__analytics_get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationAnalytics"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/test-prompt":{"post":{"tags":["conversations"],"summary":"Test Prompt","operationId":"test_prompt_v1_conversations__conversation_id__test_prompt_post","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TestPromptRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationTestPromptResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/merge":{"post":{"tags":["conversations"],"summary":"Merge Conversations","description":"Admit completed sources, merge into a new ID asynchronously, then notify the client.","operationId":"merge_conversations_v1_conversations_merge_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MergeConversationsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MergeConversationsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/summary\/open":{"post":{"tags":["conversations"],"summary":"Open Historical Summary","description":"Generate the one summary of a historical conversation (`summary_on_open: true`) when its owner opens it. Summary only: no memories, tasks, apps or notifications. `X-Omi-Summary-Outcome` is `existing` (no model call) or `generated`. Typed refusals: 404, 409 (`conversation_locked`, `conversation_discarded`, `not_historical`, `byok_keys_required`, `conversation_processing_in_progress`), 402, 429 with Retry-After, 502 `summary_unavailable`, 503 `historical_summary_disabled` or retryable `historical_summary_retry`.","operationId":"open_historical_summary_v1_conversations__conversation_id__summary_open_post","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/models__conversation__Conversation"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/summary\/stream":{"get":{"tags":["conversations"],"summary":"Conversation Summary Stream","operationId":"conversation_summary_stream_v1_conversations__conversation_id__summary_stream_get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"text\/event-stream":{"schema":{"type":"string"}}}},"409":{"description":"Another summary writer holds the lease; poll conversation detail.","content":{"application\/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","const":"summary_in_progress"}},"required":["detail"]}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/summary\/live-catchup\/stream":{"get":{"tags":["conversations"],"summary":"Conversation Live Catchup Stream","operationId":"conversation_live_catchup_stream_v1_conversations__conversation_id__summary_live_catchup_stream_get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"text\/event-stream":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/task-presence":{"post":{"tags":["conversations"],"summary":"Task Presence","operationId":"task_presence_v1_conversations_task_presence_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationTaskPresenceRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationTaskPresenceResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/with-tasks\/page":{"post":{"tags":["conversations"],"summary":"Conversations With Tasks","operationId":"conversations_with_tasks_v1_conversations_with_tasks_page_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TaskConversationPageRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TaskConversationPageResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/recording-speakers":{"get":{"tags":["conversations"],"summary":"Get Recording Speakers","operationId":"get_recording_speakers_v1_conversations__conversation_id__recording_speakers_get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"X-Omi-App-Channel","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-App-Channel"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RecordingTranscriptResponse"}}}},"413":{"description":"Recording exceeds the member or segment limit","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RecordingSpeakerLimit"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["conversations"],"summary":"Assign Recording Speakers","operationId":"assign_recording_speakers_v1_conversations__conversation_id__recording_speakers_patch","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RecordingSpeakerRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RecordingSpeakerResponse"}}}},"409":{"description":"Recording rename disabled or speaker selection stale","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RecordingSpeakerConflict"}}}},"413":{"description":"Recording exceeds the member or segment limit","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RecordingSpeakerLimit"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/mutations":{"post":{"tags":["conversations"],"summary":"Apply Conversation Sync Mutation","description":"Apply or exactly replay one durable optimistic conversation mutation.","operationId":"apply_conversation_sync_mutation_v1_conversations__conversation_id__mutations_post","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationSyncMutationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationSyncMutationResponse"}}}},"409":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationSyncConflictResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/spaces\/{sid}\/changes":{"get":{"tags":["spaces"],"summary":"Changes","operationId":"changes_v1_spaces__sid__changes_get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Cursor"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":200,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SpaceChangesResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/spaces\/{sid}\/snapshot":{"get":{"tags":["spaces"],"summary":"Snapshot","description":"Set the post-snapshot cursor to page 1's head, never the last page's head.\nRestart the snapshot if epoch changes between pages; then pull from that\nfirst head to catch concurrent updates, including rows on earlier pages.\nApply rows and deletion entries on every page, including snapshot?since.","operationId":"snapshot_v1_spaces__sid__snapshot_get","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":200,"title":"Limit"}},{"name":"since","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Since"}},{"name":"page_token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Token"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SpaceSnapshotResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/spaces\/{sid}\/mutations":{"post":{"tags":["spaces"],"summary":"Mutations","operationId":"mutations_v1_spaces__sid__mutations_post","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SpaceMutationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SpaceMutationResponse"}}}},"409":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SpaceMutationConflictResponse"}}},"description":"Conflict"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/spaces\/{sid}\/cursors":{"post":{"tags":["spaces"],"summary":"Cursors","operationId":"cursors_v1_spaces__sid__cursors_post","parameters":[{"name":"sid","in":"path","required":true,"schema":{"type":"string","title":"Sid"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SpaceCursorRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SpaceCursorResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/action-items\/batch":{"patch":{"tags":["action-items"],"summary":"Batch Update Action Items","description":"Batch update sort_order and indent_level for multiple action items.","operationId":"batch_update_action_items_v1_action_items_batch_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BatchUpdateActionItemsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BatchMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"post":{"tags":["action-items"],"summary":"Create Action Items Batch","description":"Create multiple action items in a batch.","operationId":"create_action_items_batch_v1_action_items_batch_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ActionItemCreateRequest"},"title":"Action Items"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BatchCreateActionItemsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/action-items\/pending-sync":{"get":{"tags":["action-items"],"summary":"Get Pending Sync Items","description":"Get action items that need sync: pending export + already synced items for bidirectional sync.","operationId":"get_pending_sync_items_v1_action_items_pending_sync_get","parameters":[{"name":"platform","in":"query","required":false,"schema":{"type":"string","description":"Sync platform","default":"apple_reminders","title":"Platform"},"description":"Sync platform"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PendingSyncResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/action-items\/sync-batch":{"patch":{"tags":["action-items"],"summary":"Sync Batch Update","description":"Batch update action items during reminders sync. Single Firestore batch commit.","operationId":"sync_batch_update_v1_action_items_sync_batch_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SyncBatchRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BatchMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/action-items":{"post":{"tags":["action-items"],"summary":"Create Action Item","description":"Create a new action item.\n\nIdempotent only when the client sends ``Idempotency-Key``. Two creates\nwith the same description (and different keys, or no key) are two tasks.","operationId":"create_action_item_v1_action_items_post","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ActionItemCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/models__action_item__ActionItemResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["action-items"],"summary":"Get Action Items","description":"Get action items for the current user.\n\nLarge accounts can outrun the request budget; such reads return the honest\npartial page with ``truncated=true``, ``has_more=true``, and the\n``X-Omi-List-Truncated: true`` header instead of a bare middleware 504\n(#11831).","operationId":"get_action_items_v1_action_items_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"description":"Maximum number of action items to return","default":50,"title":"Limit"},"description":"Maximum number of action items to return"},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of action items to skip","default":0,"title":"Offset"},"description":"Number of action items to skip"},{"name":"completed","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Filter by completion status","title":"Completed"},"description":"Filter by completion status"},{"name":"conversation_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by conversation ID","title":"Conversation Id"},"description":"Filter by conversation ID"},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Filter by creation start date (inclusive)","title":"Start Date"},"description":"Filter by creation start date (inclusive)"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Filter by creation end date (inclusive)","title":"End Date"},"description":"Filter by creation end date (inclusive)"},{"name":"due_start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Filter by due start date (inclusive)","title":"Due Start Date"},"description":"Filter by due start date (inclusive)"},{"name":"due_end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Filter by due end date (inclusive)","title":"Due End Date"},"description":"Filter by due end date (inclusive)"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ActionItemsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/action-items\/search":{"get":{"tags":["action-items"],"summary":"Search Action Items","description":"Semantic search across action items using vector similarity.","operationId":"search_action_items_v1_action_items_search_get","parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","minLength":1,"description":"Search query","title":"Query"},"description":"Search query"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"description":"Maximum results","default":10,"title":"Limit"},"description":"Maximum results"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ActionItemsSearchResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/action-items\/ids":{"get":{"tags":["action-items"],"summary":"List Action Item Ids","description":"Return the user's action-item IDs (lightweight reconciliation).\n\nWithout ``completed``: returns every ID with no field reads \u2014 the cheapest\nway for a client to know which tasks it has without paging the full list.\n\nWith ``completed``: returns only non-deleted IDs in the requested bucket. The\n``completed`` bucket is filtered server-side; only documents in that bucket are\nstreamed (a two-field ``completed``, ``deleted`` projection), and the ``deleted``\nexclusion is still applied in Python since Firestore equality filters would drop\nundeleted rows that have no ``deleted`` field.\n\nDeclared before \/v1\/action-items\/{action_item_id} so the static path is not\ncaptured as an action item id.","operationId":"list_action_item_ids_v1_action_items_ids_get","parameters":[{"name":"completed","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"When present, return only non-deleted IDs in this completion bucket","title":"Completed"},"description":"When present, return only non-deleted IDs in this completion bucket"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ActionItemIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/action-items\/{action_item_id}":{"get":{"tags":["action-items"],"summary":"Get Action Item","description":"Get a specific action item by ID.","operationId":"get_action_item_v1_action_items__action_item_id__get","parameters":[{"name":"action_item_id","in":"path","required":true,"schema":{"type":"string","title":"Action Item Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/models__action_item__ActionItemResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["action-items"],"summary":"Update Action Item","description":"Update an action item.","operationId":"update_action_item_v1_action_items__action_item_id__patch","parameters":[{"name":"action_item_id","in":"path","required":true,"schema":{"type":"string","title":"Action Item Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ActionItemUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/models__action_item__ActionItemResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["action-items"],"summary":"Delete Action Item","description":"Delete an action item.","operationId":"delete_action_item_v1_action_items__action_item_id__delete","parameters":[{"name":"action_item_id","in":"path","required":true,"schema":{"type":"string","title":"Action Item Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/action-items\/{action_item_id}\/completed":{"patch":{"tags":["action-items"],"summary":"Toggle Action Item Completion","description":"Mark an action item as completed or uncompleted.","operationId":"toggle_action_item_completion_v1_action_items__action_item_id__completed_patch","parameters":[{"name":"action_item_id","in":"path","required":true,"schema":{"type":"string","title":"Action Item Id"}},{"name":"completed","in":"query","required":true,"schema":{"type":"boolean","description":"Whether to mark as completed or not","title":"Completed"},"description":"Whether to mark as completed or not"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/models__action_item__ActionItemResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/action-items\/batch-delete":{"post":{"tags":["action-items"],"summary":"Batch Delete Action Items","description":"Delete multiple action items in one request.\n\nFirestore deletes go through chunked batched commits in the DB layer; the\nvector store delete and the FCM cancellation message both use their batch\nhelpers \u2014 no per-id loop on this hot path.","operationId":"batch_delete_action_items_v1_action_items_batch_delete_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BatchDeleteActionItemsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BatchDeleteActionItemsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/action-items\/count":{"get":{"tags":["action-items"],"summary":"Get Conversation Action Items Count","description":"Return total \/ completed \/ incomplete action-item counts for one conversation.\n\nA task-progress badge (e.g. 2 of 3 done) for a conversation without paging its items.","operationId":"get_conversation_action_items_count_v1_conversations__conversation_id__action_items_count_get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationActionItemsCountResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/action-items\/share":{"post":{"tags":["action-items"],"summary":"Share Action Items","description":"Create a shareable link for selected action items.","operationId":"share_action_items_v1_action_items_share_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ShareTasksRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ShareActionItemsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/action-items\/shared\/{token}":{"get":{"tags":["action-items"],"summary":"Get Shared Action Items","description":"Public endpoint \u2014 get shared task preview (no auth required).","operationId":"get_shared_action_items_v1_action_items_shared__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SharedActionItemsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/action-items\/accept":{"post":{"tags":["action-items"],"summary":"Accept Shared Action Items","description":"Save shared tasks to the recipient's task list.","operationId":"accept_shared_action_items_v1_action_items_accept_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AcceptSharedTasksRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AcceptSharedActionItemsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/account\/cutover\/control":{"get":{"tags":["account-cutover"],"summary":"Get Account Cutover Control","description":"Stable authenticated bootstrap projection for bridge clients.\n\nAlways reachable for signed-in users, including while product traffic is\nfenced for migrating \/ force-upgrade \/ stranded states. Does not migrate\nany account; absent documents project as legacy. Malformed authoritative\ndocuments fail closed.","operationId":"get_account_cutover_control_v1_account_cutover_control_get","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-App-Build","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-App-Build"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AccountCutoverControl"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/candidates":{"post":{"tags":["candidates"],"summary":"Create Candidate","operationId":"create_candidate_v1_candidates_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":512,"title":"Idempotency-Key"}},{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CandidateCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CandidateRecord"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["candidates"],"summary":"List Candidates","operationId":"list_candidates_v1_candidates_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#\/components\/schemas\/CandidateStatus"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"surface","in":"query","required":false,"schema":{"anyOf":[{"const":"suggested","type":"string"},{"type":"null"}],"title":"Surface"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CandidateListResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/candidates\/migrate-staged":{"post":{"tags":["candidates"],"summary":"Migrate Staged Candidates","operationId":"migrate_staged_candidates_v1_candidates_migrate_staged_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CandidateMigrationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CandidateMigrationReport"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/candidates\/control":{"get":{"tags":["candidates"],"summary":"Get Candidate Workflow Control","operationId":"get_candidate_workflow_control_v1_candidates_control_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TaskWorkflowControl"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/candidates\/integrations\/drain":{"post":{"tags":["candidates"],"summary":"Drain Candidate Integrations","operationId":"drain_candidate_integrations_v1_candidates_integrations_drain_post","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"object","additionalProperties":{"type":"integer"},"title":"Response Drain Candidate Integrations V1 Candidates Integrations Drain Post"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/candidates\/from-conversation":{"post":{"tags":["candidates"],"summary":"Prepare Conversation Task Candidate","description":"Prepare only; the reader must separately accept to materialize a task.","operationId":"prepare_conversation_task_candidate_v1_candidates_from_conversation_post","parameters":[{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":512,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SummaryTaskReference"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CandidateRecord"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/candidates\/{candidate_id}":{"get":{"tags":["candidates"],"summary":"Get Candidate","operationId":"get_candidate_v1_candidates__candidate_id__get","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"string","title":"Candidate Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CandidateRecord"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/candidates\/{candidate_id}\/accept":{"post":{"tags":["candidates"],"summary":"Accept Candidate","operationId":"accept_candidate_v1_candidates__candidate_id__accept_post","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"string","title":"Candidate Id"}},{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"content":{"application\/json":{"schema":{"anyOf":[{"$ref":"#\/components\/schemas\/CandidateAcceptanceRequest"},{"type":"null"}],"title":"Request"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CandidateResolutionReceipt"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/candidates\/{candidate_id}\/reject":{"post":{"tags":["candidates"],"summary":"Reject Candidate","operationId":"reject_candidate_v1_candidates__candidate_id__reject_post","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"string","title":"Candidate Id"}},{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CandidateResolutionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CandidateResolutionReceipt"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/candidates\/{candidate_id}\/expire":{"post":{"tags":["candidates"],"summary":"Expire Candidate","operationId":"expire_candidate_v1_candidates__candidate_id__expire_post","parameters":[{"name":"candidate_id","in":"path","required":true,"schema":{"type":"string","title":"Candidate Id"}},{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CandidateResolutionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CandidateResolutionReceipt"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/chat-first\/blocks\/validate":{"post":{"tags":["chat-first"],"summary":"Validate Chat First Blocks","description":"Validate all requested blocks or return a typed no-mutation rejection.","operationId":"validate_chat_first_blocks_v1_chat_first_blocks_validate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ChatFirstBlockValidationReceipt"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/chat\/materialize-prompts":{"post":{"tags":["chat-first"],"summary":"Materialize Prompts V1","description":"Preserve the released block union; new receipt types remain pending for v2 clients.","operationId":"materialize_prompts_v1_chat_materialize_prompts_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MaterializePromptsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/LegacyMaterializePromptsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/chat\/materialize-prompts":{"post":{"tags":["chat-first"],"summary":"Materialize Prompts","operationId":"materialize_prompts_v2_chat_materialize_prompts_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MaterializePromptsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MaterializePromptsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/chat\/deferrals":{"post":{"tags":["chat-first"],"summary":"Record Chat Deferral","description":"Receive one idempotent kernel-outbox deferral without touching Chat state.","operationId":"record_chat_deferral_v1_chat_deferrals_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeferralCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeferralReceipt"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/task-integrations":{"get":{"tags":["task-integrations"],"summary":"Get Task Integrations","description":"Get all task integration connections for the current user.","operationId":"get_task_integrations_v1_task_integrations_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TaskIntegrationsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/task-integrations\/default":{"get":{"tags":["task-integrations"],"summary":"Get Default Task Integration","description":"Get the user's default task integration app.","operationId":"get_default_task_integration_v1_task_integrations_default_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultTaskIntegrationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"put":{"tags":["task-integrations"],"summary":"Set Default Task Integration","description":"Set the user's default task integration app.","operationId":"set_default_task_integration_v1_task_integrations_default_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultTaskIntegrationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DefaultTaskIntegrationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/task-integrations\/{app_key}":{"put":{"tags":["task-integrations"],"summary":"Save Task Integration","description":"Save or update a task integration connection.","operationId":"save_task_integration_v1_task_integrations__app_key__put","parameters":[{"name":"app_key","in":"path","required":true,"schema":{"type":"string","title":"App Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TaskIntegrationData"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TaskIntegrationMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["task-integrations"],"summary":"Delete Task Integration","description":"Delete a task integration connection.","operationId":"delete_task_integration_v1_task_integrations__app_key__delete","parameters":[{"name":"app_key","in":"path","required":true,"schema":{"type":"string","title":"App Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/task-integrations\/{app_key}\/oauth-url":{"get":{"tags":["task-integrations"],"summary":"Get Oauth Url","description":"Get OAuth authorization URL for a task integration.\nFrontend opens this URL in browser to start OAuth flow.\nUses secure random state tokens to prevent CSRF attacks.","operationId":"get_oauth_url_v1_task_integrations__app_key__oauth_url_get","parameters":[{"name":"app_key","in":"path","required":true,"schema":{"type":"string","title":"App Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/routers__task_integrations__OAuthUrlResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/task-integrations\/{app_key}\/tasks":{"post":{"tags":["task-integrations"],"summary":"Create Task Via Integration","description":"Create a task in the specified integration using stored credentials.","operationId":"create_task_via_integration_v1_task_integrations__app_key__tasks_post","parameters":[{"name":"app_key","in":"path","required":true,"schema":{"type":"string","title":"App Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateTaskRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateTaskResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/task-integrations\/asana\/workspaces":{"get":{"tags":["task-integrations"],"summary":"Get Asana Workspaces","description":"Get user's Asana workspaces","operationId":"get_asana_workspaces_v1_task_integrations_asana_workspaces_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AsanaWorkspacesResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/task-integrations\/asana\/projects\/{workspace_gid}":{"get":{"tags":["task-integrations"],"summary":"Get Asana Projects","description":"Get projects in an Asana workspace","operationId":"get_asana_projects_v1_task_integrations_asana_projects__workspace_gid__get","parameters":[{"name":"workspace_gid","in":"path","required":true,"schema":{"type":"string","title":"Workspace Gid"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AsanaProjectsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/task-integrations\/clickup\/teams":{"get":{"tags":["task-integrations"],"summary":"Get Clickup Teams","description":"Get user's ClickUp teams","operationId":"get_clickup_teams_v1_task_integrations_clickup_teams_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ClickUpTeamsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/task-integrations\/clickup\/spaces\/{team_id}":{"get":{"tags":["task-integrations"],"summary":"Get Clickup Spaces","description":"Get spaces in a ClickUp team","operationId":"get_clickup_spaces_v1_task_integrations_clickup_spaces__team_id__get","parameters":[{"name":"team_id","in":"path","required":true,"schema":{"type":"string","title":"Team Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ClickUpSpacesResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/task-integrations\/clickup\/lists\/{space_id}":{"get":{"tags":["task-integrations"],"summary":"Get Clickup Lists","description":"Get lists in a ClickUp space","operationId":"get_clickup_lists_v1_task_integrations_clickup_lists__space_id__get","parameters":[{"name":"space_id","in":"path","required":true,"schema":{"type":"string","title":"Space Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ClickUpListsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/integrations\/todoist\/callback":{"get":{"tags":["task-integrations","oauth"],"summary":"Todoist Oauth Callback","description":"OAuth callback endpoint for Todoist integration.","operationId":"todoist_oauth_callback_v2_integrations_todoist_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/integrations\/asana\/callback":{"get":{"tags":["task-integrations","oauth"],"summary":"Asana Oauth Callback","description":"OAuth callback endpoint for Asana integration.","operationId":"asana_oauth_callback_v2_integrations_asana_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/integrations\/google-tasks\/callback":{"get":{"tags":["task-integrations","oauth"],"summary":"Google Tasks Oauth Callback","description":"OAuth callback endpoint for Google Tasks integration.","operationId":"google_tasks_oauth_callback_v2_integrations_google_tasks_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/integrations\/clickup\/callback":{"get":{"tags":["task-integrations","oauth"],"summary":"Clickup Oauth Callback","description":"OAuth callback endpoint for ClickUp integration.","operationId":"clickup_oauth_callback_v2_integrations_clickup_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/connectors\/synthesize":{"post":{"tags":["integrations"],"summary":"Synthesize Connector Data","description":"Return-only calendar\/gmail\/notes synthesis through the managed memories feature.\n\nDoes not write Firestore. Desktop connector importers call this instead of building\ntheir own prompts and inventing memories via Anthropic Haiku chat completions, then\npersist through the normal memory\/task write APIs.","operationId":"synthesize_connector_data_v1_connectors_synthesize_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConnectorSynthesisRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConnectorSynthesisResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/integrations\/{app_key}":{"get":{"tags":["integrations"],"summary":"Get Integration","description":"Get integration connection status for the current user.\n\nGmail has no grant of its own \u2014 it rides the Google Calendar OAuth grant and is\nconnected only when that grant actually carries the Gmail scope.","operationId":"get_integration_v1_integrations__app_key__get","parameters":[{"name":"app_key","in":"path","required":true,"schema":{"type":"string","title":"App Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/IntegrationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"put":{"tags":["integrations"],"summary":"Save Integration","description":"Save non-secret state for integrations without server-managed OAuth.\n\nOAuth credentials are accepted only from a provider callback into the\nencrypted control plane. This legacy compatibility route cannot inject or\nreplace a provider token.","operationId":"save_integration_v1_integrations__app_key__put","parameters":[{"name":"app_key","in":"path","required":true,"schema":{"type":"string","title":"App Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/IntegrationData"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/IntegrationMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["integrations"],"summary":"Delete Integration","description":"Delete an integration connection.\n\nDeleting a derived integration deletes the grant it rides on \u2014 there is no\nseparate token to revoke.","operationId":"delete_integration_v1_integrations__app_key__delete","parameters":[{"name":"app_key","in":"path","required":true,"schema":{"type":"string","title":"App Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/integrations\/apple-health\/sync":{"put":{"tags":["integrations"],"summary":"Sync Apple Health Data","description":"Sync Apple Health data from the iOS device.\n\nThis endpoint receives health data collected from Apple HealthKit on the user's\niPhone\/Apple Watch and stores it for use in chat queries.\n\nUnlike other integrations that use OAuth, Apple Health data is pushed from the device.","operationId":"sync_apple_health_data_v1_integrations_apple_health_sync_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppleHealthSyncData"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppleHealthSyncResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/integrations\/{app_key}\/oauth-url":{"get":{"tags":["integrations"],"summary":"Get Oauth Url","description":"Get OAuth authorization URL for an integration.\nFrontend opens this URL in browser to start OAuth flow.\nUses secure random state tokens to prevent CSRF attacks.\n\nA derived integration (Gmail) authorizes through the grant it rides on, so the\nwhole flow \u2014 state, provider config and callback \u2014 runs under the source key.","operationId":"get_oauth_url_v1_integrations__app_key__oauth_url_get","parameters":[{"name":"app_key","in":"path","required":true,"schema":{"type":"string","title":"App Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/routers__integrations__OAuthUrlResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/integrations\/{app_key}\/callback":{"get":{"tags":["integrations","oauth"],"summary":"Oauth Callback","operationId":"oauth_callback_v2_integrations__app_key__callback_get","parameters":[{"name":"app_key","in":"path","required":true,"schema":{"type":"string","title":"App Key"}},{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/x\/oauth-url":{"get":{"tags":["x"],"summary":"X Oauth Url","operationId":"x_oauth_url_v1_x_oauth_url_get","parameters":[{"name":"success_redirect_url","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Success Redirect Url"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/routers__x_connector__OAuthUrlResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/x\/oauth\/callback":{"get":{"tags":["x"],"summary":"X Oauth Callback","operationId":"x_oauth_callback_v1_x_oauth_callback_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"error","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}}],"responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/x\/connection-status":{"get":{"tags":["x"],"summary":"X Connection Status","operationId":"x_connection_status_v1_x_connection_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/XConnectionStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/x\/posts":{"get":{"tags":["x"],"summary":"List X Posts","description":"List the user's synced X posts, newest first.\n\nThe connector stores every synced post under the user's account and mines memories\nfrom them, but there was no endpoint to read the raw posts back. Supports an optional\nkind filter ('tweet', 'bookmark', 'like') and a bounded limit.","operationId":"list_x_posts_v1_x_posts_get","parameters":[{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by kind: 'tweet', 'bookmark', or 'like'","title":"Kind"},"description":"Filter by kind: 'tweet', 'bookmark', or 'like'"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"description":"Maximum number of posts to return","default":100,"title":"Limit"},"description":"Maximum number of posts to return"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/XPostsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/x\/sync":{"post":{"tags":["x"],"summary":"X Sync","operationId":"x_sync_v1_x_sync_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/XSyncResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/x\/disconnect":{"post":{"tags":["x"],"summary":"X Disconnect","operationId":"x_disconnect_v1_x_disconnect_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/XDisconnectResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/memories\/extract":{"post":{"tags":["memories"],"summary":"Extract Memory Log","description":"Return-only memory-log extraction through the managed memories feature (OpenRouter Luna).\n\nDoes not write Firestore. Desktop onboarding\/import should call this instead of inventing\nmemories via Anthropic Haiku chat completions, then persist via the normal memory write APIs.","operationId":"extract_memory_log_v1_memories_extract_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExtractMemoryLogRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExtractMemoryLogResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v3\/memories":{"post":{"tags":["memories"],"summary":"Create Memory","operationId":"create_memory_v3_memories_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Memory"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemoryDB"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["memories"],"summary":"Get Memories","description":"List memories, newest first, as a bare JSON array.\n\nLarge accounts can outrun the request budget; such reads return an honest\npartial array with the ``X-Omi-List-Truncated: true`` header and no\n``X-Omi-Memory-Next-Cursor`` instead of a bare middleware 504 (#11831).","operationId":"get_memories_v3_memories_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"include_archive","in":"query","required":false,"schema":{"type":"boolean","description":"When true, include Archive-tier memories that are otherwise excluded from default reads.","default":false,"title":"Include Archive"},"description":"When true, include Archive-tier memories that are otherwise excluded from default reads."},{"name":"device_scope","in":"query","required":false,"schema":{"type":"string","default":"all","title":"Device Scope"}},{"name":"client_device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Device Id"}},{"name":"view","in":"query","required":false,"schema":{"type":"string","default":"released","title":"View"}},{"name":"as_of","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/MemoryDB"},"title":"Response Get Memories V3 Memories Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["memories"],"summary":"Delete Memories","operationId":"delete_memories_v3_memories_delete","parameters":[{"name":"scope","in":"query","required":false,"schema":{"enum":["all","default"],"type":"string","description":"Delete all memories or only default-access Short-term and Long-term memories.","default":"all","title":"Scope"},"description":"Delete all memories or only default-access Short-term and Long-term memories."},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemoryMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v3\/memories\/batch":{"post":{"tags":["memories"],"summary":"Create Memories Batch","operationId":"create_memories_batch_v3_memories_batch_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/routers__memories__BatchMemoriesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/routers__memories__BatchMemoriesResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["memories"],"summary":"Delete Memories Batch","description":"Delete up to MEMORIES_BATCH_MAX memories in one request.\n\nReplaces the N concurrent DELETE \/v3\/memories\/{id} calls the web UI used to fan out\non bulk selection, which blew through the per-UID rate limiter and 429'd.\n\nAuthorization parity with DELETE \/v3\/memories\/{memory_id}: every requested id is\nvalidated with the SAME business rules as the single-delete path. Validation is\nall-or-nothing \u2014 if any id fails, nothing is deleted, so the batch route can never\nbypass the single-delete guardrails (missing\/not-owned -> 404, locked paid-plan\nmemory -> 402).","operationId":"delete_memories_batch_v3_memories_batch_delete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BatchDeleteMemoriesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemoryMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v3\/memory-imports\/batch":{"post":{"tags":["memories"],"summary":"Create Memory Import Batch","description":"Ingest imported source artifacts without creating product memories.\n\nImporters produce durable evidence. Candidate extraction, acceptance,\npromotion, vector sync, keyword sync, and KG extraction are backend-owned\nlater stages.","operationId":"create_memory_import_batch_v3_memory_imports_batch_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemoryImportBatchRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemoryImportBatchResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v3\/memories\/ledger-history":{"get":{"tags":["memories"],"summary":"Get Ledger History","description":"Return explicit owner-scoped rejected and closed ledger rows.\n\n``GET \/v3\/memories`` remains the current product view and continues to\nfilter these rows.  This history endpoint is intentionally read-only and\ncanonical-only; it returns rows newest-first by ``updated_at`` then\n``memory_id`` (``limit`` is capped at 500 and the compatibility\n``offset + limit`` window at 5000).  The provider window is bounded to 500\nrows plus one sentinel.  When available, the sentinel becomes an\nowner-bound signed keyset cursor in ``X-Omi-Memory-Next-Cursor``; an\nincomplete provider\/budget window is also marked with\n``X-Omi-List-Truncated: true``.  Tombstoned and hidden rows are never\nresurrected for history UI.","operationId":"get_ledger_history_v3_memories_ledger_history_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/MemoryDB"},"title":"Response Get Ledger History V3 Memories Ledger History Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v3\/memories\/review-queue":{"get":{"tags":["memories"],"summary":"List Memory Review Queue","operationId":"list_memory_review_queue_v3_memories_review_queue_get","parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string","default":"pending","title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response List Memory Review Queue V3 Memories Review Queue Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v3\/memories\/review-queue\/{review_id}":{"get":{"tags":["memories"],"summary":"Get Memory Review Item","description":"Fetch a single memory review conflict by id.\n\nThe list endpoint only returns conflicts in the 'pending' status, so once a conflict is\nresolved it can no longer be retrieved. This fetches any of the user's review conflicts\nby id regardless of status, returning 404 if it does not exist.","operationId":"get_memory_review_item_v3_memories_review_queue__review_id__get","parameters":[{"name":"review_id","in":"path","required":true,"schema":{"type":"string","title":"Review Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemoryReviewItemResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v3\/memories\/review-queue\/{review_id}\/resolve":{"post":{"tags":["memories"],"summary":"Resolve Memory Review Item","operationId":"resolve_memory_review_item_v3_memories_review_queue__review_id__resolve_post","parameters":[{"name":"review_id","in":"path","required":true,"schema":{"type":"string","title":"Review Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReviewResolutionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReviewResolutionResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v3\/memories\/{memory_id}":{"delete":{"tags":["memories"],"summary":"Delete Memory","operationId":"delete_memory_v3_memories__memory_id__delete","parameters":[{"name":"memory_id","in":"path","required":true,"schema":{"type":"string","title":"Memory Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemoryMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["memories"],"summary":"Edit Memory","operationId":"edit_memory_v3_memories__memory_id__patch","parameters":[{"name":"memory_id","in":"path","required":true,"schema":{"type":"string","title":"Memory Id"}},{"name":"value","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Deprecated; send JSON body {'value': ...} instead","deprecated":true,"title":"Value"},"description":"Deprecated; send JSON body {'value': ...} instead","deprecated":true},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"content":{"application\/json":{"schema":{"anyOf":[{"$ref":"#\/components\/schemas\/MemoryValueRequest"},{"type":"null"}],"title":"Request"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemoryEditResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v3\/memories\/{memory_id}\/review":{"post":{"tags":["memories"],"summary":"Review Memory","operationId":"review_memory_v3_memories__memory_id__review_post","parameters":[{"name":"memory_id","in":"path","required":true,"schema":{"type":"string","title":"Memory Id"}},{"name":"value","in":"query","required":true,"schema":{"type":"boolean","title":"Value"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemoryMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v3\/memories\/{memory_id}\/revert":{"post":{"tags":["memories"],"summary":"Revert Memory","description":"Append a fresh current fact from one closed ledger history row.","operationId":"revert_memory_v3_memories__memory_id__revert_post","parameters":[{"name":"memory_id","in":"path","required":true,"schema":{"type":"string","title":"Memory Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemoryRevertRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemoryEditResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v3\/memories\/{memory_id}\/visibility":{"patch":{"tags":["memories"],"summary":"Update Memory Visibility","operationId":"update_memory_visibility_v3_memories__memory_id__visibility_patch","parameters":[{"name":"memory_id","in":"path","required":true,"schema":{"type":"string","title":"Memory Id"}},{"name":"value","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Deprecated; send JSON body {'value': ...} instead","deprecated":true,"title":"Value"},"description":"Deprecated; send JSON body {'value': ...} instead","deprecated":true},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"content":{"application\/json":{"schema":{"anyOf":[{"$ref":"#\/components\/schemas\/MemoryValueRequest"},{"type":"null"}],"title":"Request"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemoryMutationResponse"}}}},"409":{"description":"Visibility write contention exhausted its retry budget","headers":{"Retry-After":{"schema":{"type":"integer"}}}},"503":{"description":"Visibility write temporarily unavailable","headers":{"Retry-After":{"schema":{"type":"integer"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v3\/memories\/{memory_id}\/read":{"patch":{"tags":["memories"],"summary":"Update Memory Read Status","description":"Persist durable insight\/memory read and dismiss state for desktop clients.","operationId":"update_memory_read_status_v3_memories__memory_id__read_patch","parameters":[{"name":"memory_id","in":"path","required":true,"schema":{"type":"string","title":"Memory Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemoryReadStatusRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemoryDB"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v3\/memories\/{memory_id}\/baseline":{"patch":{"tags":["memories"],"summary":"Update Memory Baseline","description":"Preserve the released baseline flag through universal memory authority.","operationId":"update_memory_baseline_v3_memories__memory_id__baseline_patch","parameters":[{"name":"memory_id","in":"path","required":true,"schema":{"type":"string","title":"Memory Id"}},{"name":"value","in":"query","required":true,"schema":{"type":"boolean","title":"Value"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemoryMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/messages":{"post":{"tags":["chat"],"summary":"Send Message","operationId":"send_message_v2_messages_post","parameters":[{"name":"plugin_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plugin Id"}},{"name":"app_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"}},{"name":"chat_session_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Session Id"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SendMessageRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ResponseMessage"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["chat"],"summary":"Clear Chat Messages","operationId":"clear_chat_messages_v2_messages_delete","parameters":[{"name":"app_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"}},{"name":"plugin_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plugin Id"}},{"name":"chat_session_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Message"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["chat"],"summary":"Get Messages","operationId":"get_messages_v2_messages_get","parameters":[{"name":"plugin_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plugin Id"}},{"name":"app_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"}},{"name":"chat_session_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Session Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Message"},"title":"Response Get Messages V2 Messages Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/messages\/device-tool\/{call_id}\/result":{"post":{"tags":["chat"],"summary":"Submit Device Tool Result","description":"Deliver a client's result for an in-flight device tool call.\n\nThe awaiting tool coroutine may be on a different worker than this request,\nso the result is handed over through Redis rather than an in-process future.\nThe key is scoped by uid, so one user cannot answer another user's call.\n\nA result is only accepted for a call that is actually in flight for this uid.\nWithout that check the endpoint is a write primitive: an authenticated caller\ncould invent call ids and park an oversized value in shared Redis for each\none, at the full rate limit, for the length of the TTL.","operationId":"submit_device_tool_result_v2_messages_device_tool__call_id__result_post","parameters":[{"name":"call_id","in":"path","required":true,"schema":{"type":"string","title":"Call Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeviceToolResultRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeviceToolResultResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/messages\/{message_id}\/report":{"post":{"tags":["chat"],"summary":"Report Message","operationId":"report_message_v2_messages__message_id__report_post","parameters":[{"name":"message_id","in":"path","required":true,"schema":{"type":"string","title":"Message Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MessageReportResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/initial-message":{"post":{"tags":["chat"],"summary":"Create Initial Message","operationId":"create_initial_message_v2_initial_message_post","parameters":[{"name":"app_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"}},{"name":"plugin_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plugin Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Message"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/voice-messages":{"post":{"summary":"Create Voice Message Stream","operationId":"create_voice_message_stream_v2_voice_messages_post","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"$ref":"#\/components\/schemas\/Body_create_voice_message_stream_v2_voice_messages_post"}}}},"responses":{"200":{"description":"Server-sent event stream of chat message chunks.","content":{"text\/event-stream":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/voice-message\/transcribe":{"post":{"summary":"Transcribe Voice Message","description":"Transcribe audio and return the transcript text.\n\nAccepts two content types:\n- multipart\/form-data: file upload with optional 'language' form field (mobile)\n- application\/octet-stream: raw PCM bytes with query params (desktop PTT)\n\nReturns {\"transcript\": \"...\", \"language\": \"...\"}.","operationId":"transcribe_voice_message_v2_voice_message_transcribe_post","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VoiceMessageTranscriptionResponse"}}}},"400":{"description":"Invalid audio input","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TranscriptionErrorResponse"}}}},"502":{"description":"Upstream or unexpected-empty result","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TranscriptionErrorResponse"}}}},"503":{"description":"Provider configuration unavailable","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TranscriptionErrorResponse"}}}},"504":{"description":"Provider timeout","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TranscriptionErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/files":{"post":{"tags":["chat"],"summary":"Upload File Chat","operationId":"upload_file_chat_v2_files_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"$ref":"#\/components\/schemas\/Body_upload_file_chat_v2_files_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/FileChat"},"title":"Response Upload File Chat V2 Files Post"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/files":{"post":{"tags":["chat"],"summary":"Upload File Chat V1","operationId":"upload_file_chat_v1_files_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"$ref":"#\/components\/schemas\/Body_upload_file_chat_v1_files_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/FileChat"},"title":"Response Upload File Chat V1 Files Post"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/messages\/{message_id}\/report":{"post":{"tags":["chat"],"summary":"Report Message V1","operationId":"report_message_v1_messages__message_id__report_post","parameters":[{"name":"message_id","in":"path","required":true,"schema":{"type":"string","title":"Message Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Report Message V1 Messages  Message Id  Report Post"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/messages":{"delete":{"tags":["chat"],"summary":"Clear Chat Messages V1","operationId":"clear_chat_messages_v1_messages_delete","parameters":[{"name":"plugin_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plugin Id"}},{"name":"app_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Message"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/initial-message":{"post":{"tags":["chat"],"summary":"Create Initial Message V1","operationId":"create_initial_message_v1_initial_message_post","parameters":[{"name":"plugin_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plugin Id"}},{"name":"app_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Message"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/messages\/{message_id}\/rating":{"patch":{"tags":["chat"],"summary":"Rate Message","description":"Rate a chat message (thumbs up\/down). Used by desktop client.","operationId":"rate_message_v2_messages__message_id__rating_patch","parameters":[{"name":"message_id","in":"path","required":true,"schema":{"type":"string","title":"Message Id"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}},{"name":"X-App-Build","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-App-Build"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/models__chat__RateMessageRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ChatRatingResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/messages\/share":{"post":{"tags":["chat"],"summary":"Share Chat Messages","description":"Create a shareable link for chat messages.","operationId":"share_chat_messages_v2_messages_share_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ShareChatMessagesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ShareChatMessagesResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/messages\/shared\/{token}":{"get":{"tags":["chat"],"summary":"Get Shared Chat Messages","description":"Public endpoint \u2014 get shared chat messages (no auth required).","operationId":"get_shared_chat_messages_v2_messages_shared__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SharedChatMessagesResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/chat\/receipts\/{receipt_id}\/undo":{"post":{"summary":"Undo Chat Receipt","description":"Undo an owner-scoped chat write once and return its updated content block.","operationId":"undo_chat_receipt_v1_chat_receipts__receipt_id__undo_post","parameters":[{"name":"receipt_id","in":"path","required":true,"schema":{"type":"string","title":"Receipt Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UndoChatReceiptResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/files\/video":{"post":{"tags":["chat"],"summary":"Upload Video Frames Chat","description":"A video the client sampled on device: stills (and audio) instead of the whole clip.\n\nSame result as uploading the clip to \/v2\/files: one chat file whose image is a numbered\ncontact sheet of the clip's most distinct frames.","operationId":"upload_video_frames_chat_v2_files_video_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"$ref":"#\/components\/schemas\/Body_upload_video_frames_chat_v2_files_video_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/FileChat"},"title":"Response Upload Video Frames Chat V2 Files Video Post"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v3\/speech-profile":{"get":{"tags":["v3"],"summary":"Has Speech Profile","operationId":"has_speech_profile_v3_speech_profile_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HasSpeechProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v3\/speech-profile\/stt-availability":{"get":{"tags":["v3"],"summary":"Get Speech Profile Stt Availability","description":"Pre-flight check the client uses before entering the recording UI, so a\nknown-down streaming primary (whichever provider STT_SERVICE_MODELS\ncurrently leads with) surfaces as an upfront error dialog instead of a\ndead recording screen with no questions\/progress.","operationId":"get_speech_profile_stt_availability_v3_speech_profile_stt_availability_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SttAvailabilityResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v4\/speech-profile":{"get":{"tags":["v3"],"summary":"Get Speech Profile","operationId":"get_speech_profile_v4_speech_profile_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SpeechProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v3\/speech-profile\/status":{"get":{"tags":["v3"],"summary":"Get Speech Profile Status","description":"Consolidated speech-profile status for the settings UI.\n\nFolds together data split across GET \/v3\/speech-profile (existence), GET\n\/v4\/speech-profile (url), and GET \/v3\/speech-profile\/expand (extra sample\nrecordings), plus the cached duration written on upload.","operationId":"get_speech_profile_status_v3_speech_profile_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SpeechProfileStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v3\/upload-audio":{"post":{"tags":["v3"],"summary":"Upload Profile","operationId":"upload_profile_v3_upload_audio_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"$ref":"#\/components\/schemas\/Body_upload_profile_v3_upload_audio_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SpeechProfileUploadResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v3\/speech-profile\/expand":{"delete":{"tags":["v3"],"summary":"Delete Extra Speech Profile Sample","operationId":"delete_extra_speech_profile_sample_v3_speech_profile_expand_delete","parameters":[{"name":"memory_id","in":"query","required":true,"schema":{"type":"string","title":"Memory Id"}},{"name":"segment_idx","in":"query","required":true,"schema":{"type":"integer","title":"Segment Idx"}},{"name":"person_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Person Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SpeechProfileMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["v3"],"summary":"Get Extra Speech Profile Samples","operationId":"get_extra_speech_profile_samples_v3_speech_profile_expand_get","parameters":[{"name":"person_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Person Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"type":"string"},"title":"Response Get Extra Speech Profile Samples V3 Speech Profile Expand Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/speaker-tag-prompts":{"get":{"tags":["speaker-tag-prompts"],"summary":"Get Speaker Tag Prompts","description":"Today's small set of voices to confirm, from conversations in the last 48 hours.","operationId":"get_speaker_tag_prompts_v1_speaker_tag_prompts_get","parameters":[{"name":"owner_excerpt","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Owner Excerpt"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SpeakerTagPromptsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/speaker-tag-prompts\/shown":{"post":{"tags":["speaker-tag-prompts"],"summary":"Mark Speaker Tag Prompts Shown","description":"The client displayed a set; starts the once-a-day cooldown.","operationId":"mark_speaker_tag_prompts_shown_v1_speaker_tag_prompts_shown_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SpeakerTagPromptsShownRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SpeakerTagPromptsShownResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/speaker-tag-prompts\/dismiss":{"post":{"tags":["speaker-tag-prompts"],"summary":"Dismiss Speaker Tag Prompts","description":"The user closed a set without answering; repeated dismissals slow the prompts down.","operationId":"dismiss_speaker_tag_prompts_v1_speaker_tag_prompts_dismiss_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/speaker-tag-prompts\/answer":{"post":{"tags":["speaker-tag-prompts"],"summary":"Answer Speaker Tag Prompt","operationId":"answer_speaker_tag_prompt_v1_speaker_tag_prompts_answer_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SpeakerTagPromptAnswerRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SpeakerTagPromptAnswerResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/speaker-tag-prompts\/clip":{"get":{"tags":["speaker-tag-prompts"],"summary":"Get Speaker Tag Prompt Clip","description":"A short clip of the user's own stored conversation audio (base64 WAV, at most 12 s).","operationId":"get_speaker_tag_prompt_clip_v1_speaker_tag_prompts_clip_get","parameters":[{"name":"conversation_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":128,"title":"Conversation Id"}},{"name":"start","in":"query","required":true,"schema":{"type":"number","minimum":0,"title":"Start"}},{"name":"end","in":"query","required":true,"schema":{"type":"number","exclusiveMinimum":0,"title":"End"}},{"name":"prompt_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Prompt Id"}},{"name":"evidence_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Evidence Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SpeakerTagPromptClip"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/speaker-tag-prompts\/ignored-voices":{"get":{"tags":["speaker-tag-prompts"],"summary":"Get Ignored Voices","description":"Voices the user marked Not a Person, newest first.","operationId":"get_ignored_voices_v1_speaker_tag_prompts_ignored_voices_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/IgnoredVoicesResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/speaker-tag-prompts\/ignored-voices\/{conversation_id}\/{speaker_id}":{"delete":{"tags":["speaker-tag-prompts"],"summary":"Restore Ignored Voice","description":"Undo Not a Person: Omi may ask about this voice again.","operationId":"restore_ignored_voice_v1_speaker_tag_prompts_ignored_voices__conversation_id___speaker_id__delete","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"speaker_id","in":"path","required":true,"schema":{"type":"integer","title":"Speaker Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/voice-profile-settings":{"get":{"tags":["v1"],"summary":"Get Voice Profile Settings","operationId":"get_voice_profile_settings_v1_users_voice_profile_settings_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VoiceProfileSettings"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["v1"],"summary":"Update Voice Profile Settings","operationId":"update_voice_profile_settings_v1_users_voice_profile_settings_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VoiceProfileSettingsUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VoiceProfileSettings"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/speakers\/{speaker_id}\/reject":{"post":{"tags":["conversations"],"summary":"Reject Speaker Label","operationId":"reject_speaker_label_v1_conversations__conversation_id__speakers__speaker_id__reject_post","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"speaker_id","in":"path","required":true,"schema":{"type":"integer","title":"Speaker Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RejectSpeakerRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/models__conversation__Conversation"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/people\/{person_id}\/voice-matches":{"get":{"tags":["v1"],"summary":"Get Person Voice Matches","operationId":"get_person_voice_matches_v1_users_people__person_id__voice_matches_get","parameters":[{"name":"person_id","in":"path","required":true,"schema":{"type":"string","title":"Person Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VoiceMatchesResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/people\/{person_id}\/pinned":{"patch":{"tags":["v1"],"summary":"Set Person Pinned","description":"Pin (keep, and expect in conversations) or unpin a person. Returns the updated person.","operationId":"set_person_pinned_v1_users_people__person_id__pinned_patch","parameters":[{"name":"person_id","in":"path","required":true,"schema":{"type":"string","title":"Person Id"}},{"name":"value","in":"query","required":true,"schema":{"type":"boolean","title":"Value"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Person"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/fcm-token":{"post":{"summary":"Save Token","operationId":"save_token_v1_users_fcm_token_post","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SaveFcmTokenRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FcmTokenResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/time-zone":{"put":{"summary":"Sync User Time Zone","description":"Persist the device's IANA timezone without requiring push notification registration.","operationId":"sync_user_time_zone_v1_users_time_zone_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SyncUserTimeZoneRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FcmTokenResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/notification":{"post":{"summary":"Send Notification To User","operationId":"send_notification_to_user_v1_notification_post","parameters":[{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","title":"Secret-Key"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","additionalProperties":true,"title":"Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Send Notification To User V1 Notification Post"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/integrations\/notification":{"post":{"summary":"Send App Notification To User","operationId":"send_app_notification_to_user_v1_integrations_notification_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","additionalProperties":true,"title":"Data"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/IntegrationNotificationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/integrations\/{app_id}\/user\/conversations":{"post":{"tags":["integration","conversations"],"summary":"Create Conversation Via Integration","operationId":"create_conversation_via_integration_v2_integrations__app_id__user_conversations_post","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"uid","in":"query","required":true,"schema":{"type":"string","title":"Uid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExternalIntegrationCreateConversation"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationCreateResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/integrations\/{app_id}\/user\/memories":{"post":{"tags":["integration","memories"],"summary":"Create Memories Via Integration","operationId":"create_memories_via_integration_v2_integrations__app_id__user_memories_post","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"uid","in":"query","required":true,"schema":{"type":"string","title":"Uid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExternalIntegrationCreateMemory"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EmptyResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/integrations\/{app_id}\/memories":{"get":{"tags":["integration","memories"],"summary":"Get Memories Via Integration","description":"Get all memories (facts) for a user via integration API.\nAuthentication is required via API key in the Authorization header.","operationId":"get_memories_via_integration_v2_integrations__app_id__memories_get","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"uid","in":"query","required":true,"schema":{"type":"string","title":"Uid"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemoriesResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/integrations\/{app_id}\/conversations":{"get":{"tags":["integration","conversations"],"summary":"Get Conversations Via Integration","description":"Get all conversations for a user via integration API.\nAuthentication is required via API key in the Authorization header.\n\nOptional date range filtering:\n- start_date: Filter conversations after this date (ISO format)\n- end_date: Filter conversations before this date (ISO format)","operationId":"get_conversations_via_integration_v2_integrations__app_id__conversations_get","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"uid","in":"query","required":true,"schema":{"type":"string","title":"Uid"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"include_discarded","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Discarded"}},{"name":"statuses","in":"query","required":false,"schema":{"type":"array","items":{"type":"string"},"default":[],"title":"Statuses"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"string"},{"type":"null"}],"description":"Filter conversations after this date (ISO format)","title":"Start Date"},"description":"Filter conversations after this date (ISO format)"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"string"},{"type":"null"}],"description":"Filter conversations before this date (ISO format)","title":"End Date"},"description":"Filter conversations before this date (ISO format)"},{"name":"max_transcript_segments","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":-1,"description":"Maximum number of transcript segments to include per conversation. Use -1 for no limit.","default":100,"title":"Max Transcript Segments"},"description":"Maximum number of transcript segments to include per conversation. Use -1 for no limit."},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/integrations\/{app_id}\/search\/conversations":{"post":{"tags":["integration","conversations"],"summary":"Search Conversations Via Integration","description":"Search conversations for a user via integration API.\nAuthentication is required via API key in the Authorization header.","operationId":"search_conversations_via_integration_v2_integrations__app_id__search_conversations_post","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"uid","in":"query","required":true,"schema":{"type":"string","title":"Uid"}},{"name":"max_transcript_segments","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":-1,"description":"Maximum number of transcript segments to include per conversation. Use -1 for no limit.","default":100,"title":"Max Transcript Segments"},"description":"Maximum number of transcript segments to include per conversation. Use -1 for no limit."},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SearchRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/models__integrations__SearchConversationsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/integrations\/{app_id}\/notification":{"post":{"tags":["integration","notifications"],"summary":"Send Notification Via Integration","operationId":"send_notification_via_integration_v2_integrations__app_id__notification_post","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"message","in":"query","required":true,"schema":{"type":"string","title":"Message"}},{"name":"uid","in":"query","required":true,"schema":{"type":"string","title":"Uid"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/IntegrationNotificationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/integrations\/{app_id}\/tasks":{"get":{"tags":["integration","tasks"],"summary":"Get Tasks Via Integration","description":"Get all tasks (action items) for a user via integration API.\nAuthentication is required via API key in the Authorization header.\n\nOptional filters:\n- **completed**: Filter by completion status (true\/false\/null for all)\n- **conversation_id**: Filter by conversation ID\n- **start_date**: Filter by creation start date (ISO format or YYYY-MM-DD)\n- **end_date**: Filter by creation end date (ISO format or YYYY-MM-DD)\n- **due_start_date**:  Filter by due start date (ISO format or YYYY-MM-DD)\n- **due_end_date**: Filter by due end date (ISO format or YYYY-MM-DD)","operationId":"get_tasks_via_integration_v2_integrations__app_id__tasks_get","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"uid","in":"query","required":true,"schema":{"type":"string","title":"Uid"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"completed","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Filter by completion status","title":"Completed"},"description":"Filter by completion status"},{"name":"conversation_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by conversation ID","title":"Conversation Id"},"description":"Filter by conversation ID"},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"string"},{"type":"null"}],"description":"Filter by creation start date (ISO format or YYYY-MM-DD)","title":"Start Date"},"description":"Filter by creation start date (ISO format or YYYY-MM-DD)"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"string"},{"type":"null"}],"description":"Filter by creation end date (ISO format or YYYY-MM-DD)","title":"End Date"},"description":"Filter by creation end date (ISO format or YYYY-MM-DD)"},{"name":"due_start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"string"},{"type":"null"}],"description":"Filter by due start date (ISO format or YYYY-MM-DD)","title":"Due Start Date"},"description":"Filter by due start date (ISO format or YYYY-MM-DD)"},{"name":"due_end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"string"},{"type":"null"}],"description":"Filter by due end date (ISO format or YYYY-MM-DD)","title":"Due End Date"},"description":"Filter by due end date (ISO format or YYYY-MM-DD)"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TasksResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/delete-account":{"delete":{"tags":["v1"],"summary":"Delete Account","operationId":"delete_account_v1_users_delete_account_delete","parameters":[{"name":"grace","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Grace"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeleteAccountRequest","default":{"erase_now":false}}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AccountDeletionActionResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/deletion-status":{"get":{"tags":["v1"],"summary":"Get Account Deletion Status Endpoint","description":"Status plus metadata counts used by the account-deletion warning screen.","operationId":"get_account_deletion_status_endpoint_v1_users_deletion_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AccountDeletionStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/restore-account":{"post":{"tags":["v1"],"summary":"Restore Account Deletion Endpoint","description":"Cancel a pending grace wipe while the deadline remains in the future.","operationId":"restore_account_deletion_endpoint_v1_users_restore_account_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AccountDeletionRestoreResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/profile":{"get":{"tags":["v1"],"summary":"Get User Profile Endpoint","description":"Gets the full user profile, including data protection and migration status.","operationId":"get_user_profile_endpoint_v1_users_profile_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/geolocation":{"patch":{"tags":["v1"],"summary":"Set User Geolocation","operationId":"set_user_geolocation_v1_users_geolocation_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GeolocationInput"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/developer\/webhook\/{wtype}":{"post":{"tags":["v1"],"summary":"Set User Webhook Endpoint","operationId":"set_user_webhook_endpoint_v1_users_developer_webhook__wtype__post","parameters":[{"name":"wtype","in":"path","required":true,"schema":{"$ref":"#\/components\/schemas\/WebhookType"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SetUserWebhookUrlRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["v1"],"summary":"Get User Webhook Endpoint","operationId":"get_user_webhook_endpoint_v1_users_developer_webhook__wtype__get","parameters":[{"name":"wtype","in":"path","required":true,"schema":{"$ref":"#\/components\/schemas\/WebhookType"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserWebhookUrlResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/developer\/webhook\/{wtype}\/disable":{"post":{"tags":["v1"],"summary":"Disable User Webhook Endpoint","operationId":"disable_user_webhook_endpoint_v1_users_developer_webhook__wtype__disable_post","parameters":[{"name":"wtype","in":"path","required":true,"schema":{"$ref":"#\/components\/schemas\/WebhookType"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/developer\/webhook\/{wtype}\/enable":{"post":{"tags":["v1"],"summary":"Enable User Webhook Endpoint","operationId":"enable_user_webhook_endpoint_v1_users_developer_webhook__wtype__enable_post","parameters":[{"name":"wtype","in":"path","required":true,"schema":{"$ref":"#\/components\/schemas\/WebhookType"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/developer\/button-event":{"post":{"tags":["v1"],"summary":"Post Developer Button Event","description":"App \u2192 backend forward of an opt-in hardware button gesture (#11719).","operationId":"post_developer_button_event_v1_users_developer_button_event_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ButtonEventRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/developer\/webhooks\/status":{"get":{"tags":["v1"],"summary":"Get User Webhooks Status","operationId":"get_user_webhooks_status_v1_users_developer_webhooks_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserWebhooksStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/store-recording-permission":{"post":{"tags":["v1"],"summary":"Store Recording Permission","operationId":"store_recording_permission_v1_users_store_recording_permission_post","parameters":[{"name":"value","in":"query","required":true,"schema":{"type":"boolean","title":"Value"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["v1"],"summary":"Get Store Recording Permission","operationId":"get_store_recording_permission_v1_users_store_recording_permission_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StoreRecordingPermissionResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["v1"],"summary":"Delete Permission And Recordings","operationId":"delete_permission_and_recordings_v1_users_store_recording_permission_delete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/onboarding":{"get":{"tags":["v1"],"summary":"Get Onboarding State","description":"Get the user's onboarding state (completed status, acquisition source, etc.).","operationId":"get_onboarding_state_v1_users_onboarding_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OnboardingStateResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["v1"],"summary":"Update Onboarding State","description":"Update the user's onboarding state.","operationId":"update_onboarding_state_v1_users_onboarding_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OnboardingStateUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/private-cloud-sync":{"post":{"tags":["v1"],"summary":"Set Private Cloud Sync","operationId":"set_private_cloud_sync_v1_users_private_cloud_sync_post","parameters":[{"name":"value","in":"query","required":true,"schema":{"type":"boolean","title":"Value"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["v1"],"summary":"Get Private Cloud Sync","operationId":"get_private_cloud_sync_v1_users_private_cloud_sync_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PrivateCloudSyncResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/people":{"post":{"tags":["v1"],"summary":"Get Or Create Person","description":"Create a new person or return existing one with same name (idempotent by name).\n\nThis enables backward compatibility: old apps can call this API and get the\nsame person that backend already created, preventing duplicates.","operationId":"get_or_create_person_v1_users_people_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreatePerson"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Person"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["v1"],"summary":"Get All People","operationId":"get_all_people_v1_users_people_get","parameters":[{"name":"include_speech_samples","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Include Speech Samples"}},{"name":"include_stats","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Stats"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Person"},"title":"Response Get All People V1 Users People Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/people\/{person_id}":{"get":{"tags":["v1"],"summary":"Get Single Person","operationId":"get_single_person_v1_users_people__person_id__get","parameters":[{"name":"person_id","in":"path","required":true,"schema":{"type":"string","title":"Person Id"}},{"name":"include_speech_samples","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Speech Samples"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Person"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["v1"],"summary":"Delete Person Endpoint","operationId":"delete_person_endpoint_v1_users_people__person_id__delete","parameters":[{"name":"person_id","in":"path","required":true,"schema":{"type":"string","title":"Person Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/people\/{person_id}\/name":{"patch":{"tags":["v1"],"summary":"Update Person Name","operationId":"update_person_name_v1_users_people__person_id__name_patch","parameters":[{"name":"person_id","in":"path","required":true,"schema":{"type":"string","title":"Person Id"}},{"name":"value","in":"query","required":true,"schema":{"type":"string","title":"Value"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/people\/{person_id}\/speech-samples\/{sample_index}":{"delete":{"tags":["v1"],"summary":"Delete Person Speech Sample Endpoint","description":"Delete a specific speech sample for a person by index.","operationId":"delete_person_speech_sample_endpoint_v1_users_people__person_id__speech_samples__sample_index__delete","parameters":[{"name":"person_id","in":"path","required":true,"schema":{"type":"string","title":"Person Id"}},{"name":"sample_index","in":"path","required":true,"schema":{"type":"integer","title":"Sample Index"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/joan\/{memory_id}\/followup-question":{"delete":{"tags":["v1"],"summary":"Delete Followup Question Endpoint","operationId":"delete_followup_question_endpoint_v1_joan__memory_id__followup_question_delete","parameters":[{"name":"memory_id","in":"path","required":true,"schema":{"type":"string","title":"Memory Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FollowupQuestionResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/analytics\/memory_summary":{"post":{"tags":["v1"],"summary":"Set Memory Summary Rating","operationId":"set_memory_summary_rating_v1_users_analytics_memory_summary_post","parameters":[{"name":"memory_id","in":"query","required":true,"schema":{"type":"string","title":"Memory Id"}},{"name":"value","in":"query","required":true,"schema":{"type":"integer","title":"Value"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["v1"],"summary":"Get Memory Summary Rating","operationId":"get_memory_summary_rating_v1_users_analytics_memory_summary_get","parameters":[{"name":"memory_id","in":"query","required":true,"schema":{"type":"string","title":"Memory Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemorySummaryRatingResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/analytics\/chat_message":{"post":{"tags":["v1"],"summary":"Set Chat Message Analytics","description":"Submit feedback rating for a chat message.\n\nArgs:\n    message_id: ID of the message being rated\n    value: Rating value (1 = thumbs up, -1 = thumbs down, 0 = user cleared)\n    reason: Optional reason for thumbs down. Enum keys only.","operationId":"set_chat_message_analytics_v1_users_analytics_chat_message_post","parameters":[{"name":"message_id","in":"query","required":true,"schema":{"type":"string","title":"Message Id"}},{"name":"value","in":"query","required":true,"schema":{"type":"integer","title":"Value"}},{"name":"reason","in":"query","required":false,"schema":{"type":"string","title":"Reason"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}},{"name":"X-App-Build","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-App-Build"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/available-languages":{"get":{"tags":["v1"],"summary":"Get Available Languages","description":"Primary-language options for the picker, in render order.","operationId":"get_available_languages_v1_users_available_languages_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AvailableLanguagesResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/language":{"get":{"tags":["v1"],"summary":"Get User Language","description":"Get the user's preferred language.","operationId":"get_user_language_v1_users_language_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserLanguageResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["v1"],"summary":"Set User Language","description":"Set the user's preferred language (e.g., 'en', 'vi', etc.).","operationId":"set_user_language_v1_users_language_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SetUserLanguageRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserLanguageUpdateResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/transcription-preferences":{"get":{"tags":["v1"],"summary":"Get Transcription Preferences Endpoint","description":"Get user's transcription preferences (single language mode, vocabulary).","operationId":"get_transcription_preferences_endpoint_v1_users_transcription_preferences_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TranscriptionPreferencesResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["v1"],"summary":"Update Transcription Preferences Endpoint","description":"Update user's transcription preferences.\n\n- single_language_mode: If True, uses exact language for higher accuracy but disables translation\n- vocabulary: List of custom keywords\/terms (max 100) for better transcription accuracy","operationId":"update_transcription_preferences_endpoint_v1_users_transcription_preferences_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TranscriptionPreferencesUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/migration\/requests":{"post":{"tags":["v1"],"summary":"Handle Migration Requests","description":"Handles data migration requests.\n- If 'id' and 'type' are present, it migrates a single object.\n- Otherwise, it initiates the data migration process for a 'target_level'.","operationId":"handle_migration_requests_v1_users_migration_requests_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"anyOf":[{"$ref":"#\/components\/schemas\/MigrationRequest"},{"$ref":"#\/components\/schemas\/MigrationTargetRequest"}],"title":"Request"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MigrationStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["v1"],"summary":"Get Migration Requests","description":"Checks which documents need to be migrated to the target level.","operationId":"get_migration_requests_v1_users_migration_requests_get","parameters":[{"name":"target_level","in":"query","required":true,"schema":{"type":"string","title":"Target Level"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MigrationRequestsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/migration\/batch-requests":{"post":{"tags":["v1"],"summary":"Handle Batch Migration Requests","description":"Migrates a batch of data objects to the target protection level.","operationId":"handle_batch_migration_requests_v1_users_migration_batch_requests_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BatchMigrationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MigrationStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/migration\/requests\/data-protection-level\/finalize":{"post":{"tags":["v1"],"summary":"Finalize Migration Request","description":"Finalizes the migration by setting the user's global protection level.","operationId":"finalize_migration_request_v1_users_migration_requests_data_protection_level_finalize_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MigrationTargetRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MigrationStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/preferences\/app":{"put":{"tags":["v1"],"summary":"Set Preferred App For User","description":"Sets the user's preferred app for future processing.","operationId":"set_preferred_app_for_user_v1_users_preferences_app_put","parameters":[{"name":"app_id","in":"query","required":true,"schema":{"type":"string","description":"The ID of the app to set as preferred","title":"App Id"},"description":"The ID of the app to set as preferred"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["v1"],"summary":"Clear Preferred App For User","description":"Clears the user's preferred app: future processing uses Omi's own summary. Idempotent.","operationId":"clear_preferred_app_for_user_v1_users_preferences_app_delete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/training-data-opt-in":{"get":{"tags":["v1"],"summary":"Get Training Data Opt In Status","description":"Get the user's training data opt-in status.","operationId":"get_training_data_opt_in_status_v1_users_training_data_opt_in_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TrainingDataOptInResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"post":{"tags":["v1"],"summary":"Set Training Data Opt In Status","description":"Opt-in for training data program. User's request will be reviewed.","operationId":"set_training_data_opt_in_status_v1_users_training_data_opt_in_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/location-context-consent":{"get":{"tags":["v1"],"summary":"Get Location Context Consent","description":"Return the current city-context disclosure and active server-side consent state.","operationId":"get_location_context_consent_v1_users_location_context_consent_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/LocationContextConsentResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"put":{"tags":["v1"],"summary":"Set Location Context Consent","description":"Grant, renew, or revoke city-only location context for interactive chat.","operationId":"set_location_context_consent_v1_users_location_context_consent_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/LocationContextConsentUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/LocationContextConsentResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/me\/usage":{"get":{"tags":["v1"],"summary":"Get User Usage Stats Endpoint","description":"Gets daily and monthly usage stats for the authenticated user.","operationId":"get_user_usage_stats_endpoint_v1_users_me_usage_get","parameters":[{"name":"period","in":"query","required":false,"schema":{"$ref":"#\/components\/schemas\/UsagePeriod","default":"today"}},{"name":"time_zone","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Time Zone"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserUsageResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/me\/byok-active":{"post":{"tags":["v1"],"summary":"Activate Byok Endpoint","description":"Flip the user onto the BYOK free plan.\n\nThe client sends SHA-256 fingerprints of the 4 provider keys so we can\ndetect rotation without ever seeing the keys. The live keys themselves\ntravel on every request as headers; they are never persisted.","operationId":"activate_byok_endpoint_v1_users_me_byok_active_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BYOKActivateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BYOKActiveResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["v1"],"summary":"Deactivate Byok Endpoint","description":"Drop the user off the BYOK free plan (keys were cleared client-side).","operationId":"deactivate_byok_endpoint_v1_users_me_byok_active_delete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BYOKActiveResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/me\/subscription":{"get":{"tags":["v1"],"summary":"Get User Subscription Endpoint","description":"Gets the user's subscription plan and usage, plus the one transcription-allowance answer.","operationId":"get_user_subscription_endpoint_v1_users_me_subscription_get","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}},{"name":"X-App-Build","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-App-Build"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/processing-backlog\/process":{"post":{"tags":["v1"],"summary":"Process Waiting Recordings","operationId":"process_waiting_recordings_v1_users_processing_backlog_process_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":8,"maxLength":128,"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProcessingBacklog"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/me\/usage-quota":{"get":{"tags":["users"],"summary":"Get User Chat Usage Quota","description":"Current-month chat usage for the user, plus their plan's cap.\n\nUsed by the desktop app. Mobile uses the subscription endpoint instead.","operationId":"get_user_chat_usage_quota_v1_users_me_usage_quota_get","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ChatUsageQuota"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/me\/paywall":{"get":{"tags":["users"],"summary":"Get User Paywall Status","description":"Released desktop middleware still reads this permanently disabled gate.","operationId":"get_user_paywall_status_v1_users_me_paywall_get","parameters":[{"name":"platform","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PaywallStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/me\/trial":{"get":{"tags":["users"],"summary":"Get User Trial Status","description":"Retain the disabled trial's constant metadata for released desktop decoders.","operationId":"get_user_trial_status_v1_users_me_trial_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TrialMetadata"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/daily-summary-settings":{"get":{"tags":["v1"],"summary":"Get Daily Summary Settings","description":"Get user's daily summary notification settings.\n\nReturns:\n    - enabled: Whether daily summary notifications are enabled (default: True)\n    - hour: Preferred hour in user's local timezone (0-23, default: 22 for 10 PM)\n    - depth: Recap detail level (brief by default)","operationId":"get_daily_summary_settings_v1_users_daily_summary_settings_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DailySummarySettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["v1"],"summary":"Update Daily Summary Settings","description":"Update user's daily summary notification settings.\n\nParameters:\n    - enabled: Enable\/disable daily summary notifications\n    - hour: Preferred hour in local timezone (0-23).\n            Examples: 22 (10 PM), 8 (8 AM), 18 (6 PM)\n    - depth: brief, normal, or deep for newly generated recaps\n\nNote: Hour is stored as local time. The system determines when to send\nbased on the user's timezone and will send the summary at the correct local time","operationId":"update_daily_summary_settings_v1_users_daily_summary_settings_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DailySummarySettingsUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DailySummarySettingsUpdateResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/daily-summary-settings\/test":{"post":{"tags":["v1"],"summary":"Test Daily Summary","description":"Test endpoint to manually trigger daily summary for the authenticated user.\nThis bypasses the time check and sends a summary immediately.\nOptionally accepts a date parameter (YYYY-MM-DD) to generate summary for a specific date.","operationId":"test_daily_summary_v1_users_daily_summary_settings_test_post","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TestDailySummaryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DailySummaryTestResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/desktop-usage\/daily":{"post":{"tags":["v1"],"summary":"Record Desktop Daily Usage","operationId":"record_desktop_daily_usage_v1_users_desktop_usage_daily_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DesktopDailyUsageRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DesktopDailyUsageResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/daily-summaries":{"get":{"tags":["v1"],"summary":"Get Daily Summaries","description":"Get list of daily summaries for the authenticated user.\nReturns summaries in reverse chronological order.","operationId":"get_daily_summaries_v1_users_daily_summaries_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DailySummariesResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"post":{"tags":["v1"],"summary":"Create User Daily Summary","description":"Generate (or return) a daily summary for a local calendar date.\n\nNo FCM token is required and no push is sent \u2014 the caller is looking at the\nscreen. A record already stored for that date is returned without spending\nLLM tokens.","operationId":"create_user_daily_summary_v1_users_daily_summaries_post","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateDailySummaryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DailySummaryResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/daily-summaries\/search":{"get":{"tags":["v1"],"summary":"Search Daily Summaries","description":"Search the user's recent daily summaries, newest first.\n\nCase-insensitive substring match: every whitespace-separated term must appear\nin the recap's readable text (headline, overview, highlights, action items,\nquestions, decisions, knowledge nuggets, learned memories, place addresses).\nOnly the latest 365 summaries are scanned.","operationId":"search_daily_summaries_v1_users_daily_summaries_search_get","parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"Query"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":10,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DailySummariesResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/daily-summaries\/{summary_id}":{"get":{"tags":["v1"],"summary":"Get Daily Summary","description":"Get a single daily summary by ID.","operationId":"get_daily_summary_v1_users_daily_summaries__summary_id__get","parameters":[{"name":"summary_id","in":"path","required":true,"schema":{"type":"string","title":"Summary Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DailySummaryResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["v1"],"summary":"Delete Daily Summary","description":"Delete a daily summary by ID.","operationId":"delete_daily_summary_v1_users_daily_summaries__summary_id__delete","parameters":[{"name":"summary_id","in":"path","required":true,"schema":{"type":"string","title":"Summary Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/daily-summaries\/{summary_id}\/visibility":{"patch":{"tags":["v1"],"summary":"Set Daily Summary Visibility","description":"Set the visibility of a daily summary. Use value='shared' to make it shareable.","operationId":"set_daily_summary_visibility_v1_users_daily_summaries__summary_id__visibility_patch","parameters":[{"name":"summary_id","in":"path","required":true,"schema":{"type":"string","title":"Summary Id"}},{"name":"value","in":"query","required":true,"schema":{"type":"string","title":"Value"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/daily-summaries\/{summary_id}\/regenerate":{"post":{"tags":["v1"],"summary":"Regenerate Daily Summary","description":"Re-run summary generation for the date of an existing daily summary and\noverwrite the same doc in place. No push notification \u2014 the user is\nalready looking at the page.","operationId":"regenerate_daily_summary_v1_users_daily_summaries__summary_id__regenerate_post","parameters":[{"name":"summary_id","in":"path","required":true,"schema":{"type":"string","title":"Summary Id"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DailySummaryResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/daily-summaries\/{summary_id}\/shared":{"get":{"tags":["v1"],"summary":"Get Shared Daily Summary","description":"Public endpoint to retrieve a daily summary for sharing. No auth required.","operationId":"get_shared_daily_summary_v1_daily_summaries__summary_id__shared_get","parameters":[{"name":"summary_id","in":"path","required":true,"schema":{"type":"string","title":"Summary Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DailySummaryResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/mentor-notification-settings":{"get":{"tags":["v1"],"summary":"Get Mentor Notification Settings","description":"Get user's mentor notification frequency preference.\n\nReturns:\n    - frequency: Notification frequency (0-5)\n      - 0 = disabled\n      - 1 = ultra selective (least frequent)\n      - 3 = balanced (default)\n      - 5 = very proactive (most frequent)","operationId":"get_mentor_notification_settings_v1_users_mentor_notification_settings_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MentorNotificationSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["v1"],"summary":"Update Mentor Notification Settings","description":"Update user's mentor notification frequency preference.\n\nParameters:\n    - frequency: Notification frequency (0-5)\n      - 0 = disabled\n      - 1 = ultra selective (least frequent)\n      - 3 = balanced (default)\n      - 5 = very proactive (most frequent)","operationId":"update_mentor_notification_settings_v1_users_mentor_notification_settings_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MentorNotificationSettingsUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/me\/llm-usage":{"get":{"tags":["users"],"summary":"Get Llm Usage","description":"Get LLM token usage summary for the current user.\n\nReturns usage breakdown by feature for the specified time period.","operationId":"get_llm_usage_v1_users_me_llm_usage_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":30,"title":"Days"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/LlmUsageResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"post":{"tags":["users"],"summary":"Record Llm Usage Bucket","operationId":"record_llm_usage_bucket_v1_users_me_llm_usage_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RecordLlmUsageBucketRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/LlmUsageRecordResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/me\/llm-usage\/top-features":{"get":{"tags":["users"],"summary":"Get Llm Top Features","description":"Get top features by LLM token usage for the current user.\n\nReturns the top N features sorted by total token consumption.","operationId":"get_llm_top_features_v1_users_me_llm_usage_top_features_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":30,"title":"Days"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":10,"minimum":1,"default":3,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/LlmUsageFeatureResponse"},"title":"Response Get Llm Top Features V1 Users Me Llm Usage Top Features Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/export":{"get":{"tags":["v1"],"summary":"Export All User Data","description":"Export all user data for GDPR\/CCPA compliance.","operationId":"export_all_user_data_v1_users_export_get","parameters":[{"name":"stream","in":"query","required":false,"schema":{"type":"boolean","description":"Stream the export lazily instead of spooling it server-side before headers. When true, clients MUST verify the body ends with the \"export_complete\": true completion suffix; a truncated body is a failed export even after HTTP 200.","default":false,"title":"Stream"},"description":"Stream the export lazily instead of spooling it server-side before headers. When true, clients MUST verify the body ends with the \"export_complete\": true completion suffix; a truncated body is a failed export even after HTTP 200."},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserDataExportResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/notification-settings":{"get":{"tags":["users"],"summary":"Get Notification Settings","operationId":"get_notification_settings_v1_users_notification_settings_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/NotificationSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["users"],"summary":"Update Notification Settings","operationId":"update_notification_settings_v1_users_notification_settings_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateNotificationSettingsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/NotificationSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/assistant-settings":{"get":{"tags":["users"],"summary":"Get Assistant Settings","operationId":"get_assistant_settings_v1_users_assistant_settings_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AssistantSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["users"],"summary":"Update Assistant Settings","operationId":"update_assistant_settings_v1_users_assistant_settings_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateAssistantSettingsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AssistantSettingsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/ai-profile":{"get":{"tags":["users"],"summary":"Get Ai Profile","description":"The backend-owned profile. Never blocks on generation; a stale one is refreshed in the background.","operationId":"get_ai_profile_v1_users_ai_profile_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"anyOf":[{"$ref":"#\/components\/schemas\/AIUserProfileResponse"},{"type":"null"}],"title":"Response Get Ai Profile V1 Users Ai Profile Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["users"],"summary":"Update Ai Profile","operationId":"update_ai_profile_v1_users_ai_profile_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateAIUserProfileRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AIUserProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["users"],"summary":"Delete Ai Profile","description":"Forget the profile; the backend builds a new one on the next refresh trigger.","operationId":"delete_ai_profile_v1_users_ai_profile_delete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/ai-profile\/refresh":{"post":{"tags":["users"],"summary":"Refresh Ai Profile","description":"Regenerate the profile now from the owner's backend data (Generate Now \/ Regenerate).","operationId":"refresh_ai_profile_v1_users_ai_profile_refresh_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AIUserProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/ai-profile\/synthesize":{"post":{"tags":["users"],"summary":"Synthesize Ai Profile","description":"Return-only two-stage AI user profile synthesis through the managed memories feature.\n\nDeprecated: kept only for released desktop builds that still generate locally; current\nclients use the backend-owned profile (GET\/PATCH\/DELETE and POST \/refresh). Remove once\nthe minimum supported macOS and Windows builds no longer call it.\n\nDoes not write Firestore. Desktop clients send their formatted source lines plus up to\nfive past profiles (oldest first) instead of carrying the prompts and calling Anthropic\nHaiku themselves, then persist through PATCH \/v1\/users\/ai-profile.","operationId":"synthesize_ai_profile_v1_users_ai_profile_synthesize_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SynthesizeAIUserProfileRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SynthesizeAIUserProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/me\/llm-usage\/total":{"get":{"tags":["users"],"summary":"Get Total Llm Cost","operationId":"get_total_llm_cost_v1_users_me_llm_usage_total_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/LlmTotalCostResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/client-state":{"post":{"tags":["users"],"summary":"Report Surface State","description":"Explicit expiring human-surface intent; no user-document lookup.","operationId":"report_surface_state_v1_users_client_state_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SurfaceStateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/me\/referral":{"get":{"tags":["referrals"],"summary":"Get Referral Link","operationId":"get_referral_link_v1_users_me_referral_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralLinkResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/r\/{code}":{"get":{"tags":["referrals"],"summary":"Capture Referral","operationId":"capture_referral_r__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}}],"responses":{"307":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/me\/referral\/claim":{"post":{"tags":["referrals"],"summary":"Claim Referral","operationId":"claim_referral_v1_users_me_referral_claim_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralClaimRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralClaimResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/users\/me\/referral\/campaign":{"get":{"tags":["referrals"],"summary":"Get Campaign","operationId":"get_campaign_v2_users_me_referral_campaign_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CampaignSnapshotResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/users\/me\/referral\/campaign\/claim":{"post":{"tags":["referrals"],"summary":"Claim Campaign","operationId":"claim_campaign_v2_users_me_referral_campaign_claim_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CampaignSnapshotResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/users\/me\/referral\/campaign\/attribution":{"post":{"tags":["referrals"],"summary":"Attribute Campaign","operationId":"attribute_campaign_v2_users_me_referral_campaign_attribution_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReferralClaimRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CampaignAttributionResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/referrals\/shopify\/webhook":{"post":{"tags":["referrals"],"summary":"Campaign Shopify Webhook","operationId":"campaign_shopify_webhook_v2_referrals_shopify_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}}},"\/v1\/csat\/config":{"get":{"tags":["csat"],"summary":"Get Csat Config","operationId":"get_csat_config_v1_csat_config_get","parameters":[{"name":"platform","in":"query","required":false,"schema":{"type":"string","default":"macos","title":"Platform"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CsatConfigResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/csat\/ratings":{"post":{"tags":["csat"],"summary":"Submit Csat Rating","operationId":"submit_csat_rating_v1_csat_ratings_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CsatRatingRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CsatRatingReceipt"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/admin\/feedback\/reports":{"get":{"tags":["admin"],"summary":"List Feedback Reports","description":"Dates that have a materialized report, newest first.","operationId":"list_feedback_reports_v1_admin_feedback_reports_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":90,"minimum":1,"default":30,"title":"Limit"}},{"name":"X-Admin-Key","in":"header","required":true,"schema":{"type":"string","title":"X-Admin-Key"}},{"name":"X-Admin-User","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-User"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FeedbackReportDatesResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/admin\/feedback\/reports\/{report_date}":{"get":{"tags":["admin"],"summary":"Get Feedback Report","description":"One day's report: counts plus pointer windows. Carries no message text.","operationId":"get_feedback_report_v1_admin_feedback_reports__report_date__get","parameters":[{"name":"report_date","in":"path","required":true,"schema":{"type":"string","title":"Report Date"}},{"name":"X-Admin-Key","in":"header","required":true,"schema":{"type":"string","title":"X-Admin-Key"}},{"name":"X-Admin-User","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-User"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FeedbackReport"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/admin\/feedback\/reports\/{report_date}\/generate":{"post":{"tags":["admin"],"summary":"Generate Feedback Report","description":"Build (or rebuild) one day's report.\n\nThis is the scheduler's entry point and also the manual backfill path: a\nday whose nightly run failed can be regenerated as long as its events are\nstill in the ledger.","operationId":"generate_feedback_report_v1_admin_feedback_reports__report_date__generate_post","parameters":[{"name":"report_date","in":"path","required":true,"schema":{"type":"string","title":"Report Date"}},{"name":"X-Admin-Key","in":"header","required":true,"schema":{"type":"string","title":"X-Admin-Key"}},{"name":"X-Admin-User","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-User"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FeedbackReportGenerateResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/admin\/feedback\/reports\/generate-yesterday":{"post":{"tags":["admin"],"summary":"Generate Yesterdays Feedback Report","description":"Nightly cron target \u2014 no date arithmetic in the scheduler config.","operationId":"generate_yesterdays_feedback_report_v1_admin_feedback_reports_generate_yesterday_post","parameters":[{"name":"X-Admin-Key","in":"header","required":true,"schema":{"type":"string","title":"X-Admin-Key"}},{"name":"X-Admin-User","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-User"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FeedbackReportGenerateResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/admin\/feedback\/events\/{event_id}\/context":{"get":{"tags":["admin"],"summary":"Get Feedback Event Context","description":"Decrypt and return the conversation around one thumbs-down.\n\nThis is the only endpoint that returns user conversation text. Each call is\nlogged with the event id and the admin key hash, so reads of user chat are\nattributable after the fact.","operationId":"get_feedback_event_context_v1_admin_feedback_events__event_id__context_get","parameters":[{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"report_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Report containing this event. Given, the stored pointer window is reused.","title":"Report Date"},"description":"Report containing this event. Given, the stored pointer window is reused."},{"name":"X-Admin-Key","in":"header","required":true,"schema":{"type":"string","title":"X-Admin-Key"}},{"name":"X-Admin-User","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-User"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FeedbackContextHydrated"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/email\/unsubscribe":{"get":{"tags":["email"],"summary":"Get Email Unsubscribe","description":"Confirm page for the link in a lifecycle email. Never writes.\n\nA link prefetch by a mail scanner lands here and changes nothing, which is\nthe entire reason the write lives on ``POST``.","operationId":"get_email_unsubscribe_email_unsubscribe_get","parameters":[{"name":"token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"post":{"tags":["email"],"summary":"Post Email Unsubscribe","description":"The writer: RFC 8058 one-click target, and the confirm page's submit.\n\nThe mail client's form body (``List-Unsubscribe=One-Click``) is\nintentionally not read \u2014 the token in the query string is the only input\nthat matters, and requiring a specific body would break the one-click\ncontract the RFC exists to guarantee.\n\nReturns HTML for a browser submitting the confirm form; a mail client\nignores the body and reads only the status.","operationId":"post_email_unsubscribe_email_unsubscribe_post","parameters":[{"name":"token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"text\/plain":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mobile\/feedback":{"post":{"tags":["mobile-feedback"],"summary":"Submit Mobile Feedback","description":"Persist one explicit mobile feedback action.\n\nSummary targets are authenticated conversation ids. Recording targets are\nauthenticated recording-session ids whose user-scoped binding is read\nbefore the write. The idempotency key is scoped to the authenticated UID,\nso a retry is safe while a reused key with a different payload is rejected.","operationId":"submit_mobile_feedback_v1_mobile_feedback_post","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}},{"name":"X-App-Build","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-App-Build"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MobileFeedbackRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MobileFeedbackReceipt"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mobile\/device-diagnostics":{"post":{"tags":["device-diagnostics"],"summary":"Upload Device Diagnostics","operationId":"upload_device_diagnostics_v1_mobile_device_diagnostics_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DiagnosticsUpload"}}}},"responses":{"201":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DiagnosticsReceipt"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/admin\/device-diagnostics\/{ticket}":{"get":{"tags":["device-diagnostics","admin"],"summary":"Read Device Diagnostics","operationId":"read_device_diagnostics_v1_admin_device_diagnostics__ticket__get","parameters":[{"name":"ticket","in":"path","required":true,"schema":{"type":"string","title":"Ticket"}},{"name":"X-Admin-Key","in":"header","required":true,"schema":{"type":"string","title":"X-Admin-Key"}},{"name":"X-Admin-User","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-User"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DiagnosticsBundle"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/desktop\/prompts":{"get":{"tags":["desktop-prompts"],"summary":"Get Desktop Prompts","operationId":"get_desktop_prompts_v2_desktop_prompts_get","parameters":[{"name":"channel","in":"query","required":false,"schema":{"type":"string","default":"stable","title":"Channel"}},{"name":"build","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Build"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DesktopPromptsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/pending-work":{"get":{"tags":["processing"],"summary":"Pending Work","operationId":"pending_work_v1_pending_work_get","parameters":[{"name":"X-Omi-App-Channel","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-App-Channel"}},{"name":"X-Omi-Home-Ownership","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-Home-Ownership"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PendingWorkSnapshot"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/attention-items":{"get":{"tags":["processing"],"summary":"Attention Items","operationId":"attention_items_v1_attention_items_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AttentionItemsPage"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/attention-items\/retry-all":{"post":{"tags":["processing"],"summary":"Retry All","operationId":"retry_all_v1_attention_items_retry_all_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RetryAllRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AttentionRetryAllResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/attention-items\/seen":{"post":{"tags":["processing"],"summary":"Seen","operationId":"seen_v1_attention_items_seen_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SeenRequest"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/attention-items\/{item_id}\/retry":{"post":{"tags":["processing"],"summary":"Retry","operationId":"retry_v1_attention_items__item_id__retry_post","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AttentionRetryResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/attention-items\/{item_id}\/dismiss":{"post":{"tags":["processing"],"summary":"Dismiss","operationId":"dismiss_v1_attention_items__item_id__dismiss_post","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/capture\/boundary-evidence":{"post":{"tags":["capture"],"summary":"Store Boundary Evidence","operationId":"store_boundary_evidence_v1_capture_boundary_evidence_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/BoundarySignal"},"maxItems":64,"title":"Signals"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"object","additionalProperties":{"type":"integer"},"title":"Response Store Boundary Evidence V1 Capture Boundary Evidence Post"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/episodes":{"get":{"tags":["episodes"],"summary":"List Episodes","operationId":"list_episodes_v1_episodes_get","parameters":[{"name":"from","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"From"}},{"name":"to","in":"query","required":true,"schema":{"type":"string","format":"date-time","title":"To"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}],"title":"Cursor"}},{"name":"X-Omi-App-Channel","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-App-Channel"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EpisodeListResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/episodes\/live":{"get":{"tags":["episodes"],"summary":"Get Live Episode","operationId":"get_live_episode_v1_episodes_live_get","parameters":[{"name":"X-Omi-App-Channel","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-App-Channel"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EpisodeLiveResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/episodes\/by-conversation\/{conversation_id}":{"get":{"tags":["episodes"],"summary":"Get Episode For Conversation","operationId":"get_episode_for_conversation_v1_episodes_by_conversation__conversation_id__get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"X-Omi-App-Channel","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-App-Channel"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EpisodeLookupResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/episodes\/{episode_id}":{"get":{"tags":["episodes"],"summary":"Get Episode","operationId":"get_episode_v1_episodes__episode_id__get","parameters":[{"name":"episode_id","in":"path","required":true,"schema":{"type":"string","title":"Episode Id"}},{"name":"X-Omi-App-Channel","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-App-Channel"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Episode"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/episodes\/{episode_id}\/wrap-up":{"post":{"tags":["episodes"],"summary":"Wrap Up Episode","operationId":"wrap_up_episode_v1_episodes__episode_id__wrap_up_post","parameters":[{"name":"episode_id","in":"path","required":true,"schema":{"type":"string","title":"Episode Id"}},{"name":"X-Omi-App-Channel","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-App-Channel"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"content":{"application\/json":{"schema":{"anyOf":[{"$ref":"#\/components\/schemas\/EpisodeWrapUpRequest"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Episode"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/episodes\/{episode_id}\/items\/{item_id}\/dismiss":{"post":{"tags":["episodes"],"summary":"Dismiss Episode Item","operationId":"dismiss_episode_item_v1_episodes__episode_id__items__item_id__dismiss_post","parameters":[{"name":"episode_id","in":"path","required":true,"schema":{"type":"string","title":"Episode Id"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"X-Omi-App-Channel","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-App-Channel"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Episode"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/episodes\/{episode_id}\/assign-speaker":{"patch":{"tags":["episodes"],"summary":"Assign Episode Speaker","operationId":"assign_episode_speaker_v1_episodes__episode_id__assign_speaker_patch","parameters":[{"name":"episode_id","in":"path","required":true,"schema":{"type":"string","title":"Episode Id"}},{"name":"X-Omi-App-Channel","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-App-Channel"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RecordingSpeakerRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RecordingSpeakerResponse"}}}},"409":{"description":"Recording rename disabled or speaker selection stale","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RecordingSpeakerConflict"}}}},"413":{"description":"Recording exceeds the member or segment limit","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RecordingSpeakerLimit"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/home\/feed":{"get":{"tags":["episodes","home"],"summary":"Get Home Feed","operationId":"get_home_feed_v1_home_feed_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Cursor"}},{"name":"X-Omi-App-Channel","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-App-Channel"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HomeFeedResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/home\/feed\/prepare":{"post":{"tags":["episodes","home"],"summary":"Prepare Home Feed","operationId":"prepare_home_feed_v1_home_feed_prepare_post","parameters":[{"name":"X-Omi-App-Channel","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-App-Channel"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HomeFeedPreparationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/trends":{"get":{"tags":["trends"],"summary":"Get Trends","operationId":"get_trends_v1_trends_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"items":{},"type":"array","title":"Response Get Trends V1 Trends Get"}}}}}}},"\/v1\/health":{"get":{"summary":"Health Check","description":"Health check endpoint.","operationId":"health_check_v1_health_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StatusResponse"}}}}}},"head":{"summary":"Health Check","description":"Health check endpoint.","operationId":"health_check_v1_health_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StatusResponse"}}}}}}},"\/v2\/firmware\/latest":{"get":{"summary":"Get Latest Version","description":"Return the newest eligible update using stable device rollout cohorts.\n\ndevice_id is the hex SHA-256 of the device's normalized DIS serial, never the\nraw serial. Omit it when no serial is available; unidentified clients cannot\nreceive partial rollouts. Blocked releases are never offered. Releases with an\naudience (allow_uid_sha256, channels) also read the caller's token and app channel.","operationId":"get_latest_version_v2_firmware_latest_get","parameters":[{"name":"device_model","in":"query","required":true,"schema":{"type":"string","title":"Device Model"}},{"name":"firmware_revision","in":"query","required":true,"schema":{"type":"string","title":"Firmware Revision"}},{"name":"hardware_revision","in":"query","required":true,"schema":{"type":"string","title":"Hardware Revision"}},{"name":"manufacturer_name","in":"query","required":true,"schema":{"type":"string","title":"Manufacturer Name"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"}},{"name":"bootloader_sha256","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bootloader Sha256"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FirmwareVersionResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/firmware\/stable":{"get":{"summary":"Get Stable Version","description":"Return the latest stable firmware for a device, regardless of current version.\n\nUsed for rolling back to the official stable firmware after flashing custom firmware.","operationId":"get_stable_version_v2_firmware_stable_get","parameters":[{"name":"device_model","in":"query","required":true,"schema":{"type":"string","title":"Device Model"}},{"name":"bootloader_sha256","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bootloader Sha256"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FirmwareVersionResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/firmware\/version":{"get":{"summary":"Get Firmware Version","description":"Return the OTA metadata for a specific published firmware version of a device.\n\nComplements \/v2\/firmware\/stable by making any individual published build addressable, e.g. to pin\nor roll a device back to a known-good earlier version, or for QA\/support to flash a named build.\nExplicit requests ignore rollout_percent for support\/reverts, but blocked releases return 404.","operationId":"get_firmware_version_v2_firmware_version_get","parameters":[{"name":"device_model","in":"query","required":true,"schema":{"type":"string","title":"Device Model"}},{"name":"version","in":"query","required":true,"schema":{"type":"string","title":"Version"}},{"name":"bootloader_sha256","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bootloader Sha256"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FirmwareVersionResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/desktop\/appcast.xml":{"get":{"summary":"Get Desktop Appcast Xml","description":"Sparkle appcast XML endpoint for desktop auto-updates.\n\nidentity=beta is requested only by the separately-installable \"Omi Beta\" app\n(its SUFeedURL carries the parameter): it gets beta-channel items only, with\nbeta-identity enclosures, so Sparkle can never replace it with a\nstable-identity bundle.\n\nThe default (stable-identity) feed serves only the stable channel. Stable.app\nmust not Sparkle-install beta-channel Omi.zip builds; that leftover path left\nthe same bundle on production APIs with newer Swift. Old Stable clients that\nstill request Sparkle channel=beta therefore freeze until macos-stable\nsurpasses their build.","operationId":"get_desktop_appcast_xml_v2_desktop_appcast_xml_get","parameters":[{"name":"platform","in":"query","required":false,"schema":{"type":"string","pattern":"^(macos|windows|linux)$","default":"macos","title":"Platform"}},{"name":"identity","in":"query","required":false,"schema":{"type":"string","pattern":"^(stable|beta)$","default":"stable","title":"Identity"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/desktop\/download\/latest":{"get":{"summary":"Download Latest Desktop Release","description":"Serve the latest desktop release installer as an auto-download landing page.\nBoth channels resolve only from their explicit channel pointer or the same\nchannel in the legacy release metadata; the requested channel is strict\n(404 when empty \u2014 QA\/tooling contract).\nDefaults to stable channel (for macos.omi.me). Use channel=beta for QA.\nidentity selects which installer that channel serves: identity=beta is the\nseparately-installable \"Omi Beta\" DMG that runs side-by-side with stable.\nWhen identity is absent it follows the channel (channel=beta alone serves\nthe beta-identity DMG \u2014 the macos.omi.me\/beta redirect contract); pass\nidentity explicitly to request the cross product.","operationId":"download_latest_desktop_release_v2_desktop_download_latest_get","parameters":[{"name":"platform","in":"query","required":false,"schema":{"type":"string","pattern":"^(macos|windows|linux)$","default":"macos","title":"Platform"}},{"name":"channel","in":"query","required":false,"schema":{"type":"string","pattern":"^(beta|stable)$","default":"stable","title":"Channel"}},{"name":"identity","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(stable|beta)$"},{"type":"null"}],"title":"Identity"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/desktop\/download\/beta":{"get":{"summary":"Download Beta Desktop Release","description":"Serve the latest beta release as an auto-download landing page.\nLegacy convenience route: macos.omi.me\/beta now redirects straight to\n\/v2\/desktop\/download\/latest?channel=beta (URL-map urlRedirect.pathRedirect\ndoes carry query params); kept for old shared links. Serves the\nside-by-side Omi Beta identity once a live beta release ships it.","operationId":"download_beta_desktop_release_v2_desktop_download_beta_get","parameters":[{"name":"platform","in":"query","required":false,"schema":{"type":"string","pattern":"^(macos|windows|linux)$","default":"macos","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/desktop\/update-feed\/windows":{"get":{"summary":"Get Windows Desktop Update Feed","description":"Resolve one immutable, platform-scoped electron-updater feed.\n\nThe GitHub provider's repository-wide ``\/releases\/latest`` endpoint can\nselect a macOS release in this multi-platform repository. Windows clients\nuse this endpoint first, then point the generic provider at the selected\nrelease directory. Stable never falls through to beta. Beta may fall back\nto stable while the prerelease slot is empty after a promotion.","operationId":"get_windows_desktop_update_feed_v2_desktop_update_feed_windows_get","parameters":[{"name":"channel","in":"query","required":false,"schema":{"type":"string","pattern":"^(beta|stable)$","default":"stable","title":"Channel"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DesktopWindowsUpdateFeedResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/desktop\/download\/windows":{"get":{"summary":"Download Windows Desktop Release","description":"Serve the latest Windows release as an auto-download landing page.\n\nPublic-link endpoint behind windows.omi.me (stable) and windows.omi.me\/beta\n(channel=beta). Unlike \/v2\/desktop\/download\/latest, an empty requested\nchannel falls back to the other one: the Windows beta slot empties every\ntime a prerelease is promoted to stable (channel = GitHub release state),\nand a shared public link must keep serving an installer through that\nwindow. The landing page always shows the channel actually served.","operationId":"download_windows_desktop_release_v2_desktop_download_windows_get","parameters":[{"name":"channel","in":"query","required":false,"schema":{"type":"string","pattern":"^(beta|stable)$","default":"stable","title":"Channel"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/desktop\/previews\/{slug}":{"get":{"summary":"Download Current Desktop Preview","description":"Serve a public landing page for the current approved preview of one slug.","operationId":"download_current_desktop_preview_v2_desktop_previews__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"summary":"Delist Desktop Preview","description":"Remove only a slug's mutable landing-page pointer, retaining immutable artifacts.","operationId":"delist_desktop_preview_v2_desktop_previews__slug__delete","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","title":"Secret-Key"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DesktopPreviewDelistRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/desktop\/previews\/{slug}\/{source_sha}":{"get":{"summary":"Download Immutable Desktop Preview","description":"Serve a public landing page for one immutable approved preview artifact.","operationId":"download_immutable_desktop_preview_v2_desktop_previews__slug___source_sha__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}},{"name":"source_sha","in":"path","required":true,"schema":{"type":"string","title":"Source Sha"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/desktop\/previews\/publish":{"post":{"summary":"Publish Desktop Preview","description":"Register a preview artifact without touching normal desktop release state.","operationId":"publish_desktop_preview_v2_desktop_previews_publish_post","parameters":[{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","title":"Secret-Key"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DesktopPreviewPublishRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/desktop\/update-policy":{"get":{"summary":"Get Desktop Update Policy Endpoint","description":"Server-controlled desktop update banner policy.\n\nDefaults to inactive when the Firestore document is missing. Configure\n``desktop_update_policy\/current`` to show a dismissible banner or a required\nmanual-update prompt to future desktop clients.","operationId":"get_desktop_update_policy_endpoint_v2_desktop_update_policy_get","parameters":[{"name":"platform","in":"query","required":false,"schema":{"type":"string","pattern":"^(macos|windows|linux)$","default":"macos","title":"Platform"}},{"name":"current_build","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Current Build"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DesktopUpdatePolicyResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/desktop\/clear-cache":{"post":{"summary":"Clear Desktop Cache","description":"Clear the GitHub releases cache for desktop updates.\nThis forces the next appcast.xml request to fetch fresh data from GitHub.\nLast-known-good entries are deliberately preserved for incident recovery.","operationId":"clear_desktop_cache_v2_desktop_clear_cache_post","parameters":[{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","title":"Secret-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ClearCacheResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/desktop\/releases":{"post":{"summary":"Register Desktop Release","description":"Register an immutable release manifest without making it user-visible.","operationId":"register_desktop_release_v2_desktop_releases_post","parameters":[{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","title":"Secret-Key"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","additionalProperties":true,"title":"Request"}}}},"responses":{"201":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/desktop\/beta\/promote-candidate":{"post":{"summary":"Promote Beta Candidate","description":"Authenticate, independently admit, then atomically advance macOS Beta only.","operationId":"promote_beta_candidate_v2_desktop_beta_promote_candidate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BetaCandidatePromotionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/desktop\/beta\/breakglass":{"post":{"summary":"Mutate Broken Beta","description":"Rollback or emergency-roll-forward only the hard-coded macOS Beta pointer.","operationId":"mutate_broken_beta_v2_desktop_beta_breakglass_post","parameters":[{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","title":"Secret-Key"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BetaBreakglassRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/desktop\/beta\/candidates\/reserve":{"post":{"summary":"Reserve Beta Candidate Endpoint","description":"Fence an immutable candidate before GitHub makes it canonical.","operationId":"reserve_beta_candidate_endpoint_v2_desktop_beta_candidates_reserve_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BetaCandidatePromotionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/desktop\/beta\/admission":{"put":{"summary":"Set Beta Admission","description":"Allow only ADMIN_KEY operators to pause or resume the Beta fence.","operationId":"set_beta_admission_v2_desktop_beta_admission_put","parameters":[{"name":"secret-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret-Key"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BetaAdmissionControlRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/desktop\/releases\/{release_id}":{"get":{"summary":"Get Desktop Release Manifest","description":"Return the retained manifest used for a pointer transition, not GitHub metadata.","operationId":"get_desktop_release_manifest_v2_desktop_releases__release_id__get","parameters":[{"name":"release_id","in":"path","required":true,"schema":{"type":"string","title":"Release Id"}},{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","title":"Secret-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/desktop\/channels\/promote":{"post":{"summary":"Promote Desktop Channel","description":"Atomically advance or repoint one explicit qualified channel pointer.","operationId":"promote_desktop_channel_v2_desktop_channels_promote_post","parameters":[{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","title":"Secret-Key"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DesktopChannelPromotionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/capture-coverage":{"get":{"summary":"Get Capture Coverage","operationId":"get_capture_coverage_v2_capture_coverage_get","parameters":[{"name":"capture_root","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"title":"Capture Root"}},{"name":"start","in":"query","required":true,"schema":{"type":"array","items":{"type":"integer"},"minItems":1,"maxItems":32,"title":"Start"}},{"name":"end","in":"query","required":true,"schema":{"type":"array","items":{"type":"integer"},"minItems":1,"maxItems":32,"title":"End"}},{"name":"channel","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":256,"default":"default","title":"Channel"}},{"name":"clock_epoch","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":256,"default":"default","title":"Clock Epoch"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"null"}],"title":"Device Id"}},{"name":"recording_session_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"null"}],"title":"Recording Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AdmitResult"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/sync-capture-manifest":{"post":{"summary":"Create Sync Capture Manifest","operationId":"create_sync_capture_manifest_v2_sync_capture_manifest_post","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SyncCaptureManifestRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SyncCaptureManifestResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/sync-local-files":{"put":{"summary":"Check Sync Retry","description":"Check a live wait after manifest admission. A 204 directs the client to upload.","operationId":"check_sync_retry_v2_sync_local_files_put","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-Omi-Wal-Retry","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-Wal-Retry"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SyncCaptureManifestRequest"}}}},"responses":{"204":{"description":"Successful Response"},"503":{"description":"Only a typed record_capture_pending response defers the multipart upload"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"post":{"summary":"Sync Local Files V2","description":"Async version of sync-local-files. Saves raw files and returns 202\nimmediately, then runs the full pipeline (decode \u2192 VAD \u2192 STT \u2192 LLM) as\nan async background task. The app polls GET \/v2\/sync-local-files\/{job_id}.","operationId":"sync_local_files_v2_v2_sync_local_files_post","parameters":[{"name":"conversation_id","in":"query","required":false,"schema":{"type":"string","description":"Target conversation ID to attach audio to (auto-sync from live capture)","title":"Conversation Id"},"description":"Target conversation ID to attach audio to (auto-sync from live capture)"},{"name":"recording_session_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Client recording session id. When conversation_id is omitted and one conversation for this user, source, and device already carries this id, attach the audio to that conversation.","title":"Recording Session Id"},"description":"Client recording session id. When conversation_id is omitted and one conversation for this user, source, and device already carries this id, attach the audio to that conversation."},{"name":"audio_start_seconds","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Audio Start Seconds"}},{"name":"audio_end_seconds","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Audio End Seconds"}},{"name":"repair_job_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Original batch job for an exact custody repair bundle","title":"Repair Job Id"},"description":"Original batch job for an exact custody repair bundle"},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}},{"name":"X-Request-ID","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Request-Id"}},{"name":"X-Cloud-Trace-Context","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Cloud-Trace-Context"}},{"name":"X-Omi-Sync-Capture-Manifest","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-Sync-Capture-Manifest"}},{"name":"X-Omi-Firmware-Version","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-Firmware-Version"}},{"name":"X-Omi-Device-Model","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-Device-Model"}},{"name":"X-Omi-Conversation-Geolocation","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-Conversation-Geolocation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"$ref":"#\/components\/schemas\/Body_sync_local_files_v2_v2_sync_local_files_post"}}}},"responses":{"202":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SyncJobStartResponse"}}}},"409":{"description":"The same audio is already processing; follow its owner when present","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SyncContentInProgressResponse"}}}},"422":{"description":"Automatic recovery window exceeded or malformed request","content":{"application\/json":{"schema":{"anyOf":[{"$ref":"#\/components\/schemas\/SyncRecoveryWindowExceededResponse"},{"$ref":"#\/components\/schemas\/SyncRequestValidationErrorResponse"}],"title":"Response 422 Sync Local Files V2 V2 Sync Local Files Post"}}}}}}},"\/v2\/sync-capture-end":{"post":{"summary":"Record Sync Capture End","description":"The phone states that a recording ended and how much of it is uploaded.\n\nStored on the recording's own session document. It lets notes start once\nthe recording's speech has landed, without the arrival-quiet wait. It never\nchanges custody and never deletes or finalizes anything itself.","operationId":"record_sync_capture_end_v2_sync_capture_end_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SyncCaptureEndRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SyncCaptureEndResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/sync\/audio\/{conversation_id}\/precache":{"post":{"tags":["v1"],"summary":"Precache Conversation Audio Endpoint","description":"Warm the audio cache for a conversation.\nReturns immediately - caching happens in background.","operationId":"precache_conversation_audio_endpoint_v1_sync_audio__conversation_id__precache_post","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AudioPrecacheResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/sync\/audio\/{conversation_id}\/urls":{"get":{"tags":["v1"],"summary":"Get Audio Signed Urls Endpoint","description":"Get signed URLs for all audio files in a conversation.\nSynchronously caches the first uncached file for immediate playback.\nRemaining files are cached in background.\n\nReturns:\n    List of audio file info with signed_url (if cached) or status \"pending\"","operationId":"get_audio_signed_urls_endpoint_v1_sync_audio__conversation_id__urls_get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AudioUrlsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/sync\/audio\/{conversation_id}\/{audio_file_id}":{"get":{"tags":["v1"],"summary":"Download Audio File Endpoint","description":"Download audio file from private cloud sync in the specified format.\nMerges chunks on-demand.\n\nArgs:\n    conversation_id: ID of the conversation\n    audio_file_id: ID of the audio file within the conversation\n    request: FastAPI Request object (for Range header)\n    format: Output format - 'wav' or 'pcm' (raw) (default: wav)\n    uid: User ID (from authentication)\n\nReturns:\n    StreamingResponse with the audio file in the requested format.\n    Returns 206 Partial Content for Range requests, 200 OK for full file.","operationId":"download_audio_file_endpoint_v1_sync_audio__conversation_id___audio_file_id__get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"audio_file_id","in":"path","required":true,"schema":{"type":"string","title":"Audio File Id"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","pattern":"^(wav|pcm)$","default":"wav","title":"Format"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Audio stream.","content":{"audio\/wav":{"schema":{"type":"string","format":"binary"}},"audio\/mpeg":{"schema":{"type":"string","format":"binary"}},"application\/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"202":{"description":"Audio artifact is being prepared.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AudioDownloadPendingResponse"}}}},"206":{"description":"Partial audio stream.","content":{"audio\/wav":{"schema":{"type":"string","format":"binary"}},"audio\/mpeg":{"schema":{"type":"string","format":"binary"}},"application\/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/sync-local-files":{"post":{"summary":"Sync Local Files","description":"Retired by legacy-retire C6; v2 is the successor and the client retains local audio.","operationId":"sync_local_files_v1_sync_local_files_post","deprecated":true,"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"410":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/sync-local-files\/{job_id}\/release-hold":{"post":{"summary":"Release Sync Upload Hold","description":"Precise owner-authenticated user-open hint; no priority promotion.\n\nGeneric polling, Home refresh and app foreground never call this operation.\nThe normal per-owner limiter bounds repeated hints; wrong-owner and unknown\nhandles have the same response. The producer kill switch does not gate it.","operationId":"release_sync_upload_hold_v2_sync_local_files__job_id__release_hold_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SyncUploadHoldReleaseResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/sync-local-files\/{job_id}":{"get":{"summary":"Get Sync Job Status","description":"Poll for the status of an async sync job.","operationId":"get_sync_job_status_v2_sync_local_files__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"surface_open","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Surface Open"}},{"name":"X-Omi-Custody-Repair-Protocol","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-Custody-Repair-Protocol"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SyncJobStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps":{"get":{"tags":["v1"],"summary":"Get Apps","operationId":"get_apps_v1_apps_get","parameters":[{"name":"include_reviews","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Include Reviews"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AppBaseModel"},"title":"Response Get Apps V1 Apps Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"post":{"tags":["v1"],"summary":"Create App","operationId":"create_app_v1_apps_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"$ref":"#\/components\/schemas\/Body_create_app_v1_apps_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppCreateResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/enabled":{"get":{"tags":["v1"],"summary":"Get User Enabled Apps","description":"Returns the list of app IDs the user has enabled\/installed.","operationId":"get_user_enabled_apps_v1_apps_enabled_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"type":"string"},"title":"Response Get User Enabled Apps V1 Apps Enabled Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/apps":{"get":{"tags":["v2"],"summary":"Get Apps V2","description":"Public omi apps, paginated by capability groups.\n\nNotes:\n- Uses approved public apps only (no private\/tester apps).\n- Groups: Popular, Integrations, Chat Assistants, Summary Apps, Realtime Notifications.\n- Popular section is shown first.\n- Always excludes persona type apps.","operationId":"get_apps_v2_v2_apps_get","parameters":[{"name":"capability","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by capability id","title":"Capability"},"description":"Filter by capability id"},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by category id","title":"Category"},"description":"Filter by category id"},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"include_reviews","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Reviews"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppCatalogResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/apps\/capability\/{capability_id}\/grouped":{"get":{"tags":["v2"],"summary":"Get Capability Apps Grouped By Category","description":"Get all apps for a specific capability, grouped by master category.\n\nReturns apps grouped into master categories like:\n- For chat: Personality Clones, Productivity & Lifestyle, Social & Entertainment\n- For others: Productivity & Tools, Personal & Lifestyle, Social & Entertainment","operationId":"get_capability_apps_grouped_by_category_v2_apps_capability__capability_id__grouped_get","parameters":[{"name":"capability_id","in":"path","required":true,"schema":{"type":"string","title":"Capability Id"}},{"name":"include_reviews","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Include Reviews"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppCatalogResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/apps\/search":{"get":{"tags":["v2"],"summary":"Search Apps","description":"Search and filter apps with pagination.\n\nReturns a flat list of apps matching the search and filter criteria.","operationId":"search_apps_v2_apps_search_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Search query for app name or description","title":"Q"},"description":"Search query for app name or description"},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by category id","title":"Category"},"description":"Filter by category id"},{"name":"rating","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":5,"minimum":0},{"type":"null"}],"description":"Minimum rating filter","title":"Rating"},"description":"Minimum rating filter"},{"name":"capability","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by capability id","title":"Capability"},"description":"Filter by capability id"},{"name":"sort","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Sort order: installs, rating_asc, rating_desc, name_asc, name_desc","title":"Sort"},"description":"Sort order: installs, rating_asc, rating_desc, name_asc, name_desc"},{"name":"my_apps","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Filter to show only user's apps","title":"My Apps"},"description":"Filter to show only user's apps"},{"name":"installed_apps","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Filter to show only installed\/enabled apps","title":"Installed Apps"},"description":"Filter to show only installed\/enabled apps"},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppSearchResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/approved-apps":{"get":{"tags":["v1"],"summary":"Get Approved Apps","operationId":"get_approved_apps_v1_approved_apps_get","parameters":[{"name":"include_reviews","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Reviews"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AppBaseModel"},"title":"Response Get Approved Apps V1 Approved Apps Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/popular":{"get":{"tags":["v1"],"summary":"Get Popular Apps Endpoint","operationId":"get_popular_apps_endpoint_v1_apps_popular_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AppBaseModel"},"title":"Response Get Popular Apps Endpoint V1 Apps Popular Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/personas":{"post":{"tags":["v1"],"summary":"Create Persona","operationId":"create_persona_v1_personas_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"$ref":"#\/components\/schemas\/Body_create_persona_v1_personas_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PersonaMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["v1"],"summary":"Get Persona Details","operationId":"get_persona_details_v1_personas_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/App"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/personas\/{persona_id}":{"patch":{"tags":["v1"],"summary":"Update Persona","operationId":"update_persona_v1_personas__persona_id__patch","parameters":[{"name":"persona_id","in":"path","required":true,"schema":{"type":"string","title":"Persona Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"$ref":"#\/components\/schemas\/Body_update_persona_v1_personas__persona_id__patch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PersonaMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["v1"],"summary":"Delete Persona","operationId":"delete_persona_v1_personas__persona_id__delete","parameters":[{"name":"persona_id","in":"path","required":true,"schema":{"type":"string","title":"Persona Id"}},{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","title":"Secret-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["v1"],"summary":"Get Personas","operationId":"get_personas_v1_personas__persona_id__get","parameters":[{"name":"persona_id","in":"path","required":true,"schema":{"type":"string","title":"Persona Id"}},{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","title":"Secret-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/PersonaRecordResponse"},"title":"Response Get Personas V1 Personas  Persona Id  Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/user\/persona":{"post":{"tags":["v1"],"summary":"Get Or Create User Persona","description":"Get or create a user persona.\n\nIf the user already has a persona, return it.\nIf not, create a new one with default values.","operationId":"get_or_create_user_persona_v1_user_persona_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/App"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/{app_id}":{"patch":{"tags":["v1"],"summary":"Update App","operationId":"update_app_v1_apps__app_id__patch","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"$ref":"#\/components\/schemas\/Body_update_app_v1_apps__app_id__patch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["v1"],"summary":"Delete App","operationId":"delete_app_v1_apps__app_id__delete","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["v1"],"summary":"Get App Details","operationId":"get_app_details_v1_apps__app_id__get","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/App"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/{app_id}\/refresh-manifest":{"post":{"tags":["v1"],"summary":"Refresh App Manifest","description":"Refresh chat tools manifest for an app.\n\nForces a fresh fetch of the manifest from the external URL, bypassing cache.\nOnly the app owner can refresh their app's manifest.","operationId":"refresh_app_manifest_v1_apps__app_id__refresh_manifest_post","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppManifestRefreshResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/app-categories":{"get":{"tags":["v1"],"summary":"Get App Categories","operationId":"get_app_categories_v1_app_categories_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"items":{"$ref":"#\/components\/schemas\/AppSelectOption"},"type":"array","title":"Response Get App Categories V1 App Categories Get"}}}}}}},"\/v1\/apps\/review":{"post":{"tags":["v1"],"summary":"Review App","operationId":"review_app_v1_apps_review_post","parameters":[{"name":"app_id","in":"query","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReviewAppRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/{app_id}\/review":{"patch":{"tags":["v1"],"summary":"Update App Review","operationId":"update_app_review_v1_apps__app_id__review_patch","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReviewAppRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/{app_id}\/review\/reply":{"patch":{"tags":["v1"],"summary":"Reply To Review","operationId":"reply_to_review_v1_apps__app_id__review_reply_patch","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReplyToReviewRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/{app_id}\/reviews":{"get":{"tags":["v1"],"summary":"App Reviews","operationId":"app_reviews_v1_apps__app_id__reviews_get","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AppReview"},"title":"Response App Reviews V1 Apps  App Id  Reviews Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/{app_id}\/change-visibility":{"patch":{"tags":["v1"],"summary":"Change App Visibility","operationId":"change_app_visibility_v1_apps__app_id__change_visibility_patch","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"private","in":"query","required":true,"schema":{"type":"boolean","title":"Private"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/app\/proactive-notification-scopes":{"get":{"tags":["v1"],"summary":"Get Notification Scopes","operationId":"get_notification_scopes_v1_app_proactive_notification_scopes_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"items":{"$ref":"#\/components\/schemas\/AppSelectOption"},"type":"array","title":"Response Get Notification Scopes V1 App Proactive Notification Scopes Get"}}}}}}},"\/v1\/app-capabilities":{"get":{"tags":["v1"],"summary":"Get App Capabilities","operationId":"get_app_capabilities_v1_app_capabilities_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"items":{"$ref":"#\/components\/schemas\/AppCapabilityResponse"},"type":"array","title":"Response Get App Capabilities V1 App Capabilities Get"}}}}}}},"\/v1\/app\/payment-plans":{"get":{"tags":["v1"],"summary":"Get Payment Plans V1","operationId":"get_payment_plans_v1_v1_app_payment_plans_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"items":{"$ref":"#\/components\/schemas\/AppSelectOption"},"type":"array","title":"Response Get Payment Plans V1 V1 App Payment Plans Get"}}}}}}},"\/v1\/app\/plans":{"get":{"tags":["v1"],"summary":"Get Payment Plans","operationId":"get_payment_plans_v1_app_plans_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AppSelectOption"},"title":"Response Get Payment Plans V1 App Plans Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/app\/generate-description":{"post":{"tags":["v1"],"summary":"Generate Description Endpoint","operationId":"generate_description_endpoint_v1_app_generate_description_post","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GenerateDescriptionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppDescriptionGenerationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/app\/generate-description-emoji":{"post":{"tags":["v1"],"summary":"Generate Description And Emoji Endpoint","description":"Generate an app description and representative emoji.\nUsed by the quick template creator feature.","operationId":"generate_description_and_emoji_endpoint_v1_app_generate_description_emoji_post","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GenerateDescriptionEmojiRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppDescriptionEmojiGenerationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/app\/generate-prompts":{"get":{"tags":["v1"],"summary":"Generate Sample Prompts Endpoint","description":"Generate sample app prompts for the AI app generator.\nUses a fast model to generate creative suggestions.","operationId":"generate_sample_prompts_endpoint_v1_app_generate_prompts_get","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppPromptsGenerationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/app\/generate":{"post":{"tags":["v1"],"summary":"Generate App Endpoint","description":"Generate an app configuration from a natural language prompt.\nThis is an experimental feature that uses AI to create app configurations.","operationId":"generate_app_endpoint_v1_app_generate_post","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GenerateAppRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppGenerationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/app\/generate-icon":{"post":{"tags":["v1"],"summary":"Generate App Icon Endpoint","description":"Generate an app icon using AI (DALL-E).\nReturns the icon as a base64 encoded PNG image.","operationId":"generate_app_icon_endpoint_v1_app_generate_icon_post","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GenerateAppIconRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppIconGenerationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/personas\/twitter\/profile":{"get":{"tags":["v1"],"summary":"Get Twitter Profile Data","operationId":"get_twitter_profile_data_v1_personas_twitter_profile_get","parameters":[{"name":"handle","in":"query","required":true,"schema":{"type":"string","title":"Handle"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TwitterProfileResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/personas\/twitter\/verify-ownership":{"get":{"tags":["v1"],"summary":"Verify Twitter Ownership Tweet","operationId":"verify_twitter_ownership_tweet_v1_personas_twitter_verify_ownership_get","parameters":[{"name":"username","in":"query","required":true,"schema":{"type":"string","title":"Username"}},{"name":"handle","in":"query","required":true,"schema":{"type":"string","title":"Handle"}},{"name":"persona_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Persona Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TwitterOwnershipVerificationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/personas\/twitter\/initial-message":{"get":{"tags":["v1"],"summary":"Get Twitter Initial Message","operationId":"get_twitter_initial_message_v1_personas_twitter_initial_message_get","parameters":[{"name":"username","in":"query","required":true,"schema":{"type":"string","title":"Username"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TwitterInitialMessageResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/migrate-owner":{"post":{"tags":["v1"],"summary":"Migrate App Owner","operationId":"migrate_app_owner_v1_apps_migrate_owner_post","parameters":[{"name":"old_id","in":"query","required":true,"schema":{"title":"Old Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Body_migrate_app_owner_v1_apps_migrate_owner_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppMigrationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/mcp":{"post":{"tags":["v1"],"summary":"Add Mcp Server","description":"Add a remote MCP server as a private app with chat tools.\n\n1. Extracts domain from URL and fetches logo via Brandfetch \/ logo.dev\n2. Checks for OAuth metadata at \/.well-known\/oauth-authorization-server\n3. If OAuth required: registers client, returns auth URL for the user\n4. If no OAuth: discovers tools directly, creates app immediately","operationId":"add_mcp_server_v1_apps_mcp_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/McpServerRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/McpAddServerResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/mcp\/callback":{"get":{"tags":["v1"],"summary":"Mcp Oauth Callback","description":"OAuth callback for MCP server authorization.\n\nExchanges the authorization code for tokens, discovers tools, updates the app.\nReturns an HTML success\/failure page.","operationId":"mcp_oauth_callback_v1_apps_mcp_callback_get","parameters":[{"name":"code","in":"query","required":true,"schema":{"type":"string","title":"Code"}},{"name":"state","in":"query","required":true,"schema":{"type":"string","title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/{app_id}\/mcp\/authorize":{"post":{"tags":["v1"],"summary":"Authorize Mcp Server","description":"Issue fresh OAuth authorization for an existing MCP server registration.\n\nAuthorization state is single-use and expires, so retrying a connection needs a new\nstate and PKCE pair for the same registration rather than the original URL. Only the\nstored code verifier changes; an earlier URL then fails its token exchange.","operationId":"authorize_mcp_server_v1_apps__app_id__mcp_authorize_post","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/McpAuthorizeResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/{app_id}\/mcp\/refresh":{"post":{"tags":["v1"],"summary":"Refresh Mcp Tools","description":"Re-discover tools from an MCP server and update the app.","operationId":"refresh_mcp_tools_v1_apps__app_id__mcp_refresh_post","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/McpRefreshToolsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/enable":{"post":{"summary":"Enable App Endpoint","operationId":"enable_app_endpoint_v1_apps_enable_post","parameters":[{"name":"app_id","in":"query","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/disable":{"post":{"summary":"Disable App Endpoint","operationId":"disable_app_endpoint_v1_apps_disable_post","parameters":[{"name":"app_id","in":"query","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/tester":{"post":{"tags":["v1"],"summary":"Add New Tester","operationId":"add_new_tester_v1_apps_tester_post","parameters":[{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","title":"Secret-Key"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AddTesterRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/tester\/access":{"post":{"tags":["v1"],"summary":"Add App Access Tester","operationId":"add_app_access_tester_v1_apps_tester_access_post","parameters":[{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","title":"Secret-Key"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TesterAccessRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["v1"],"summary":"Remove App Access Tester","operationId":"remove_app_access_tester_v1_apps_tester_access_delete","parameters":[{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","title":"Secret-Key"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TesterAccessRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/tester\/check":{"get":{"tags":["v1"],"summary":"Check Is Tester","operationId":"check_is_tester_v1_apps_tester_check_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppTesterCheckResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/public\/unapproved":{"get":{"tags":["v1"],"summary":"Get Unapproved Public Apps","operationId":"get_unapproved_public_apps_v1_apps_public_unapproved_get","parameters":[{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","title":"Secret-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/UnapprovedPublicAppResponse"},"title":"Response Get Unapproved Public Apps V1 Apps Public Unapproved Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/{app_id}\/popular":{"patch":{"tags":["v1"],"summary":"Set App Popular","operationId":"set_app_popular_v1_apps__app_id__popular_patch","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"value","in":"query","required":true,"schema":{"type":"boolean","title":"Value"}},{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","title":"Secret-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/{app_id}\/approve":{"post":{"tags":["v1"],"summary":"Approve App","operationId":"approve_app_v1_apps__app_id__approve_post","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"uid","in":"query","required":true,"schema":{"type":"string","title":"Uid"}},{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","title":"Secret-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/{app_id}\/reject":{"post":{"tags":["v1"],"summary":"Reject App","operationId":"reject_app_v1_apps__app_id__reject_post","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"uid","in":"query","required":true,"schema":{"type":"string","title":"Uid"}},{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","title":"Secret-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/app\/thumbnails":{"post":{"tags":["v1"],"summary":"Upload App Thumbnail Endpoint","description":"Upload a thumbnail image for an app.\n\nArgs:\n    file: The thumbnail image file\n    app_id: ID of the app to add thumbnail for\n    uid: User ID from auth\n\nReturns:\n    Dict with thumbnail URL","operationId":"upload_app_thumbnail_endpoint_v1_app_thumbnails_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"$ref":"#\/components\/schemas\/Body_upload_app_thumbnail_endpoint_v1_app_thumbnails_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppThumbnailUploadResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/{app_id}\/keys":{"post":{"tags":["v1"],"summary":"Create Api Key For App","operationId":"create_api_key_for_app_v1_apps__app_id__keys_post","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppApiKeyResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["v1"],"summary":"List Api Keys","operationId":"list_api_keys_v1_apps__app_id__keys_get","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/AppApiKeyResponse"},"title":"Response List Api Keys V1 Apps  App Id  Keys Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/{app_id}\/keys\/{key_id}":{"delete":{"tags":["v1"],"summary":"Delete Api Key","operationId":"delete_api_key_v1_apps__app_id__keys__key_id__delete","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppStatusMessageResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/summary-app-ids":{"get":{"tags":["v1"],"summary":"Get Summary App Ids","description":"Get all conversation summary app IDs from Redis","operationId":"get_summary_app_ids_v1_summary_app_ids_get","parameters":[{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","title":"Secret-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationSummaryAppIdsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/summary-app-ids\/{app_id}":{"post":{"tags":["v1"],"summary":"Add Summary App Id","description":"Add an app ID to the conversation summary apps list","operationId":"add_summary_app_id_v1_summary_app_ids__app_id__post","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","title":"Secret-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppStatusMessageResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["v1"],"summary":"Delete Summary App Id","description":"Remove an app ID from the conversation summary apps list","operationId":"delete_summary_app_id_v1_summary_app_ids__app_id__delete","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","title":"Secret-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppStatusMessageResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/calendar\/meetings":{"post":{"tags":["calendar"],"summary":"Store Calendar Meeting","description":"Store or update a calendar meeting in Firestore.\nIf a meeting with the same calendar_event_id and calendar_source exists, it will be updated.","operationId":"store_calendar_meeting_v1_calendar_meetings_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StoreMeetingRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StoreMeetingResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["calendar"],"summary":"List Calendar Meetings","description":"List calendar meetings within a date range","operationId":"list_calendar_meetings_v1_calendar_meetings_get","parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Date"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/CalendarMeetingContext-Output"},"title":"Response List Calendar Meetings V1 Calendar Meetings Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/calendar\/meetings\/{meeting_id}":{"get":{"tags":["calendar"],"summary":"Get Calendar Meeting","description":"Get a calendar meeting by its Firestore document ID","operationId":"get_calendar_meeting_v1_calendar_meetings__meeting_id__get","parameters":[{"name":"meeting_id","in":"path","required":true,"schema":{"type":"string","title":"Meeting Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CalendarMeetingContext-Output"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/calendar\/google\/calendars":{"get":{"tags":["google_calendar"],"summary":"List Readable Google Calendars","operationId":"list_readable_google_calendars_v1_calendar_google_calendars_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CalendarSelection"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"put":{"tags":["google_calendar"],"summary":"Save Google Calendar Selection","operationId":"save_google_calendar_selection_v1_calendar_google_calendars_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CalendarSelectionUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CalendarSelection"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/calendar\/google\/events":{"get":{"tags":["google_calendar"],"summary":"List Google Calendar Events","description":"List Google Calendar events within a time range.\n\nUsed by the event picker UI when manually linking a conversation to a calendar event.","operationId":"list_google_calendar_events_v1_calendar_google_events_get","parameters":[{"name":"time_min","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Minimum time for events (ISO format)","title":"Time Min"},"description":"Minimum time for events (ISO format)"},{"name":"time_max","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Maximum time for events (ISO format)","title":"Time Max"},"description":"Maximum time for events (ISO format)"},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Search query to filter events","title":"Q"},"description":"Search query to filter events"},{"name":"max_results","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"description":"Maximum number of events to return","default":20,"title":"Max Results"},"description":"Maximum number of events to return"},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}},{"name":"X-App-Build","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-App-Build"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/GoogleCalendarEvent"},"title":"Response List Google Calendar Events V1 Calendar Google Events Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/calendar\/capture-gaps":{"get":{"tags":["google_calendar"],"summary":"Get Calendar Capture Gaps","description":"Accepted calendar events in [start, end] with no overlapping non-discarded conversation.\n\nThe honesty surface for the Conversations list (SCA-381): what was booked\nbut never recorded. Read-only against Google Calendar; it never creates or\nmutates conversations. Declined, cancelled, tentative, and all-day \/ >8h\nblocks are excluded by ``select_capture_gaps``.","operationId":"get_calendar_capture_gaps_v1_calendar_capture_gaps_get","parameters":[{"name":"start","in":"query","required":true,"schema":{"type":"string","format":"date-time","description":"Window start (ISO format, inclusive)","title":"Start"},"description":"Window start (ISO format, inclusive)"},{"name":"end","in":"query","required":true,"schema":{"type":"string","format":"date-time","description":"Window end (ISO format, inclusive)","title":"End"},"description":"Window end (ISO format, inclusive)"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/CalendarCaptureGap"},"title":"Response Get Calendar Capture Gaps V1 Calendar Capture Gaps Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/calendar\/onboarding\/status":{"get":{"tags":["calendar_onboarding"],"summary":"Get Calendar Onboarding Status","description":"Return the calendar onboarding state, including whether a previously-connected calendar now\nneeds reconnecting (its OAuth token expired).","operationId":"get_calendar_onboarding_status_v1_calendar_onboarding_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CalendarOnboardingStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/calendar\/onboarding\/skip":{"post":{"tags":["calendar_onboarding"],"summary":"Skip Calendar Onboarding","description":"Mark calendar onboarding as skipped so the prompt is not shown again.","operationId":"skip_calendar_onboarding_v1_calendar_onboarding_skip_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CalendarOnboardingSkipResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/calendar\/onboarding\/reset":{"post":{"tags":["calendar_onboarding"],"summary":"Reset Calendar Onboarding","description":"Clear the skipped \/ reauth flags so the connect-calendar prompt is shown again.","operationId":"reset_calendar_onboarding_v1_calendar_onboarding_reset_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CalendarOnboardingResetResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/oauth\/authorize":{"get":{"tags":["oauth"],"summary":"Oauth Authorize","operationId":"oauth_authorize_v1_oauth_authorize_get","parameters":[{"name":"app_id","in":"query","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/oauth\/token":{"post":{"tags":["oauth"],"summary":"Oauth Token","operationId":"oauth_token_v1_oauth_token_post","parameters":[{"name":"omi_oauth_csrf","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Omi Oauth Csrf"}}],"requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/Body_oauth_token_v1_oauth_token_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OAuthTokenResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/auth\/authorize":{"get":{"tags":["authentication"],"summary":"Auth Authorize","description":"User authentication authorization endpoint for the main Omi app\nSupports both initial sign-in and account linking flows","operationId":"auth_authorize_v1_auth_authorize_get","parameters":[{"name":"provider","in":"query","required":true,"schema":{"type":"string","title":"Provider"}},{"name":"redirect_uri","in":"query","required":true,"schema":{"type":"string","title":"Redirect Uri"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"code_challenge","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Challenge"}},{"name":"code_challenge_method","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Challenge Method"}},{"name":"select_account","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Select Account"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/auth\/callback\/google":{"get":{"tags":["authentication"],"summary":"Auth Callback Google","description":"Google authentication callback handler (GET method)","operationId":"auth_callback_google_v1_auth_callback_google_get","parameters":[{"name":"code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"error","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/auth\/callback\/apple":{"post":{"tags":["authentication"],"summary":"Auth Callback Apple Post","description":"Apple authentication callback handler (POST method)\nApple uses form_post response_mode, so we need a separate POST endpoint.\nApple's id_token carries no name, so the ``user`` form field (sent only on the\nfirst authorization) is the sole source of the user's name \u2014 capture it here.","operationId":"auth_callback_apple_post_v1_auth_callback_apple_post","requestBody":{"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/Body_auth_callback_apple_post_v1_auth_callback_apple_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/auth\/token":{"post":{"tags":["authentication"],"summary":"Auth Token","description":"Exchange auth code for OAuth credentials\nUsed for both initial sign-in and account linking flows\n\nArgs:\n    use_custom_token: If True, also generate Firebase custom token (default: True)","operationId":"auth_token_v1_auth_token_post","requestBody":{"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/Body_auth_token_v1_auth_token_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/auth\/local-dev\/custom-token":{"post":{"tags":["authentication"],"summary":"Local Dev Custom Token","description":"Mint a Firebase custom token against the local Auth emulator.\n\nLocal-development only. Returns the same `custom_token` shape the OAuth\ntoken-exchange path returns, so the client reuses one sign-in code path.","operationId":"local_dev_custom_token_v1_auth_local_dev_custom_token_post","requestBody":{"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/Body_local_dev_custom_token_v1_auth_local_dev_custom_token_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/payments\/available-plans":{"get":{"summary":"Get Available Plans Endpoint","description":"Get available subscription plans with their price IDs and billing intervals.","operationId":"get_available_plans_endpoint_v1_payments_available_plans_get","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}},{"name":"X-Omi-Billing-Currency","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-Billing-Currency"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AvailablePlansResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/payments\/overage-info":{"get":{"summary":"Get Overage Info Endpoint","description":"Explain overage billing + return the user's current accrued charge.\n\nPowers the clickable \"What happens past the limit?\" text on the plan page.\nSafe to call on any plan \u2014 non-overage plans just get a zero snapshot plus\nthe explainer copy.","operationId":"get_overage_info_endpoint_v1_payments_overage_info_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OverageInfoResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/payments\/checkout-session":{"post":{"summary":"Create Checkout Session Endpoint","operationId":"create_checkout_session_endpoint_v1_payments_checkout_session_post","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateCheckoutRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PaymentCheckoutSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/payments\/upgrade-subscription":{"post":{"summary":"Upgrade Subscription Endpoint","description":"Upgrade or change a user's subscription plan.\n\n- Cross-plan changes (e.g. Unlimited\u2192Pro): immediate swap via Subscription.modify(),\n  Stripe prorates automatically. User gets new features right away.\n- Same plan, different interval (e.g. monthly\u2192annual): scheduled via SubscriptionSchedule,\n  takes effect at end of current billing period.","operationId":"upgrade_subscription_endpoint_v1_payments_upgrade_subscription_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpgradeSubscriptionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PaymentUpgradeSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/payments\/subscription":{"delete":{"summary":"Cancel Subscription Endpoint","operationId":"cancel_subscription_endpoint_v1_payments_subscription_delete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CancelSubscriptionRequest","default":{}}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PaymentStatusMessageResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/stripe\/webhook":{"post":{"tags":["v1","stripe","webhook"],"summary":"Stripe Webhook","operationId":"stripe_webhook_v1_stripe_webhook_post","parameters":[{"name":"stripe-signature","in":"header","required":false,"schema":{"type":"string","title":"Stripe-Signature"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PaymentMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/stripe\/connect\/webhook":{"post":{"tags":["v1","stripe","webhook"],"summary":"Stripe Connect Webhook","operationId":"stripe_connect_webhook_v1_stripe_connect_webhook_post","parameters":[{"name":"stripe-signature","in":"header","required":false,"schema":{"type":"string","title":"Stripe-Signature"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PaymentMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/stripe\/connect-accounts":{"post":{"summary":"Create Connect Account Endpoint","description":"Create a Stripe Connect account and return the account creation response","operationId":"create_connect_account_endpoint_v1_stripe_connect_accounts_post","parameters":[{"name":"country","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StripeConnectAccountResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/stripe\/supported-countries":{"get":{"summary":"Get Supported Countries","operationId":"get_supported_countries_v1_stripe_supported_countries_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"items":{"$ref":"#\/components\/schemas\/StripeSupportedCountryResponse"},"type":"array","title":"Response Get Supported Countries V1 Stripe Supported Countries Get"}}}}}}},"\/v1\/stripe\/onboarded":{"get":{"tags":["v1","stripe"],"summary":"Check Onboarding Status","description":"Check the onboarding status of a Connect account","operationId":"check_onboarding_status_v1_stripe_onboarded_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StripeOnboardingStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/stripe\/refresh\/{account_id}":{"post":{"summary":"Refresh Account Link Endpoint","description":"Generate a fresh account link if the previous one expired","operationId":"refresh_account_link_endpoint_v1_stripe_refresh__account_id__post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StripeConnectAccountResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/stripe\/return\/{account_id}":{"get":{"summary":"Stripe Return","description":"Handle the return flow from Stripe Connect account creation.\nAccount onboarding status is updated via webhook and queried by authenticated\nclients at \/v1\/stripe\/onboarded. This landing page provides user feedback without\nleaking account onboarding status to unauthenticated callers.","operationId":"stripe_return_v1_stripe_return__account_id__get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","title":"Account Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/paypal\/payment-details":{"post":{"summary":"Save Paypal Payment Details","description":"Save PayPal payment details (email and paypal.me link)","operationId":"save_paypal_payment_details_v1_paypal_payment_details_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SavePayPalPaymentDetailsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PaymentMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"summary":"Get Paypal Payment Details Endpoint","description":"Get the PayPal payment details for the user","operationId":"get_paypal_payment_details_endpoint_v1_paypal_payment_details_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"anyOf":[{"$ref":"#\/components\/schemas\/PayPalPaymentDetailsResponse"},{"type":"null"}],"title":"Response Get Paypal Payment Details Endpoint V1 Paypal Payment Details Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/payments\/success":{"get":{"summary":"Stripe Success","operationId":"stripe_success_v1_payments_success_get","parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/payments\/cancel":{"get":{"summary":"Stripe Cancel","operationId":"stripe_cancel_v1_payments_cancel_get","responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}}}}},"\/v1\/payments\/customer-portal":{"post":{"summary":"Create Customer Portal Endpoint","description":"Create a Stripe Customer Portal session for managing payment methods and subscriptions.","operationId":"create_customer_portal_endpoint_v1_payments_customer_portal_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CustomerPortalSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/payments\/portal-return":{"get":{"summary":"Portal Return","operationId":"portal_return_v1_payments_portal_return_get","responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}}}}},"\/v1\/payment-methods\/status":{"get":{"summary":"Get Payment Method Status","description":"Get the statuses of the payment methods for the user","operationId":"get_payment_method_status_v1_payment_methods_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PaymentMethodStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/payment-methods\/default":{"post":{"summary":"Set Default Payment Method Endpoint","description":"Set the default payment method for the user","operationId":"set_default_payment_method_endpoint_v1_payment_methods_default_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SetDefaultPaymentMethodRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PaymentMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/apps\/{app_id}\/subscription":{"get":{"summary":"Get App Subscription","description":"Get user's subscription for a specific app","operationId":"get_app_subscription_v1_apps__app_id__subscription_get","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppSubscriptionResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"summary":"Cancel App Subscription","description":"Cancel user's subscription for a specific app","operationId":"cancel_app_subscription_v1_apps__app_id__subscription_delete","parameters":[{"name":"app_id","in":"path","required":true,"schema":{"type":"string","title":"App Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AppSubscriptionCancelResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/payments\/retention-offer":{"get":{"summary":"Get Retention Offer Endpoint","description":"The stay offer shown on the last cancel step; ineligible readers get eligible=false.","operationId":"get_retention_offer_endpoint_v1_payments_retention_offer_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RetentionOfferResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"post":{"summary":"Accept Retention Offer Endpoint","description":"Apply the stay offer and keep the subscription renewing.","operationId":"accept_retention_offer_endpoint_v1_payments_retention_offer_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RetentionOfferResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/payments\/yearly-switch":{"get":{"summary":"Get Yearly Switch Endpoint","description":"Whether this monthly payer can switch to yearly now, and (with preview) exactly what it costs.","operationId":"get_yearly_switch_endpoint_v1_payments_yearly_switch_get","parameters":[{"name":"preview","in":"query","required":false,"schema":{"type":"boolean","description":"Include Stripe's invoice preview: the charge today and the renewal date.","default":false,"title":"Preview"},"description":"Include Stripe's invoice preview: the charge today and the renewal date."},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/YearlySwitchResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/payments\/payment-issue\/monthly-switch":{"post":{"summary":"Payment Issue Monthly Switch Endpoint","description":"Move a declined yearly renewal to the same plan's monthly price (utils\/monthly_switch.py).\n\nCharges the monthly price now, then voids the unpaid yearly invoice. 402: declined, nothing\nchanged. 409: not offered for this subscription, or a switch is already running. 503: billing\nunreachable; a repeat replays the finished switch or refuses, it never charges twice.","operationId":"payment_issue_monthly_switch_endpoint_v1_payments_payment_issue_monthly_switch_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MonthlySwitchRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PaymentStatusMessageResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/payments\/play\/purchases":{"post":{"summary":"Verify Play Purchase","description":"Verify a Google Play purchase token, bind it to this account and grant Omi Pro once Google says it is paid.","operationId":"verify_play_purchase_v1_payments_play_purchases_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PlayPurchaseRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PlayPurchaseResponse"}}}},"400":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PlayBillingErrorResponse"}}},"description":"Bad Request"},"409":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PlayBillingErrorResponse"}}},"description":"Conflict"},"429":{"description":"Too Many Requests"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/payments\/redeem-code":{"post":{"summary":"Redeem Code Endpoint","operationId":"redeem_code_endpoint_v1_payments_redeem_code_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RedeemCodeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RedeemCodeResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/payments\/prepaid-code\/redeem":{"post":{"summary":"Redeem Prepaid Code Endpoint","description":"Redeem a fully prepaid Omi Pro code with no card. Errors carry a reason code as ``detail``.\n\nOpen to the switch's readers and to every Google Play build (same helper the subscription response\nuses): a Play build has no other way to activate a code. No payment is taken either way, and the\nlive-plan refusals below cover Stripe and Google Play alike.","operationId":"redeem_prepaid_code_endpoint_v1_payments_prepaid_code_redeem_post","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-App-Build","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-App-Build"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RedeemCodeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RedeemPrepaidCodeResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/payments\/plans":{"get":{"tags":["payments"],"summary":"Get Storefront","operationId":"get_storefront_v2_payments_plans_get","parameters":[{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Paywall Opened source vocabulary (#21337)","title":"Source"},"description":"Paywall Opened source vocabulary (#21337)"},{"name":"trigger","in":"query","required":false,"schema":{"anyOf":[{"enum":["proactive_agent","screen_context","usage_budget","mcp_daily_cap"],"type":"string"},{"type":"null"}],"title":"Trigger"}},{"name":"locale","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"BCP 47 tag. Unknown locales fall back to en.","title":"Locale"},"description":"BCP 47 tag. Unknown locales fall back to en."},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StorefrontResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mcp\/keys":{"get":{"tags":["mcp"],"summary":"Get Keys","operationId":"get_keys_v1_mcp_keys_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"items":{"$ref":"#\/components\/schemas\/McpApiKey"},"type":"array","title":"Response Get Keys V1 Mcp Keys Get"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["mcp"],"summary":"Create Key","operationId":"create_key_v1_mcp_keys_post","requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/McpApiKeyCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/McpApiKeyCreated"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"\/v1\/mcp\/keys\/scopes":{"get":{"tags":["mcp"],"summary":"Get Key Scope Contract","operationId":"get_mcp_key_scope_contract","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConnectorAccess"}}}}},"security":[{"HTTPBearer":[]}]}},"\/v1\/mcp\/keys\/{key_id}":{"delete":{"tags":["mcp"],"summary":"Delete Key","operationId":"delete_key_v1_mcp_keys__key_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mcp\/oauth\/grants":{"get":{"tags":["mcp"],"summary":"Get Oauth Grants","operationId":"get_oauth_grants_v1_mcp_oauth_grants_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/McpOauthGrantsResponse"}}}}},"security":[{"HTTPBearer":[]}]}},"\/v1\/mcp\/oauth\/grants\/{grant_id}":{"delete":{"tags":["mcp"],"summary":"Revoke Oauth Grant","operationId":"revoke_oauth_grant_v1_mcp_oauth_grants__grant_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"grant_id","in":"path","required":true,"schema":{"type":"string","title":"Grant Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mcp\/memories":{"post":{"tags":["mcp"],"summary":"Create Memory","operationId":"create_memory_v1_mcp_memories_post","security":[{"APIKeyHeader":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Memory"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Memory"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["mcp"],"summary":"Get Memories","operationId":"get_memories_v1_mcp_memories_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":25,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"categories","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Categories"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","default":"created_desc","title":"Sort"}},{"name":"reviewed","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Reviewed"}},{"name":"manually_added","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Manually Added"}},{"name":"updated_after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated After"}},{"name":"updated_since","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated Since"}},{"name":"include_activity","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Activity"}},{"name":"include_sensitive","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Include Sensitive"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/CleanerMemory"},"title":"Response Get Memories V1 Mcp Memories Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mcp\/memories\/{memory_id}":{"delete":{"tags":["mcp"],"summary":"Delete Memory","operationId":"delete_memory_v1_mcp_memories__memory_id__delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"memory_id","in":"path","required":true,"schema":{"type":"string","title":"Memory Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/McpStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["mcp"],"summary":"Edit Memory","operationId":"edit_memory_v1_mcp_memories__memory_id__patch","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"memory_id","in":"path","required":true,"schema":{"type":"string","title":"Memory Id"}},{"name":"value","in":"query","required":true,"schema":{"type":"string","title":"Value"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/McpStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mcp\/profile":{"get":{"tags":["mcp"],"summary":"Get User Profile","description":"Omi's cached high-level user profile, if one has been generated.","operationId":"get_user_profile_v1_mcp_profile_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UserProfile"}}}}},"security":[{"APIKeyHeader":[]}]}},"\/v1\/mcp\/memories\/search":{"get":{"tags":["mcp"],"summary":"Search Memories","operationId":"search_memories_v1_mcp_memories_search_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","title":"Query"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/SearchedMemory"},"title":"Response Search Memories V1 Mcp Memories Search Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mcp\/conversations":{"get":{"tags":["mcp"],"summary":"Get Conversations","operationId":"get_conversations_v1_mcp_conversations_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Date"}},{"name":"categories","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Categories"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"updated_since","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated Since"}},{"name":"timezone","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/SimpleConversation"},"title":"Response Get Conversations V1 Mcp Conversations Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mcp\/conversations\/deleted":{"get":{"tags":["mcp"],"summary":"Get Deleted Conversations","description":"Deletion feed for clients that keep copies: ``(deleted_at ASC, id ASC)``, ``X-Next-Cursor`` paging.","operationId":"get_deleted_conversations_v1_mcp_conversations_deleted_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"deleted_since","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deleted Since"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/DeletedConversation"},"title":"Response Get Deleted Conversations V1 Mcp Conversations Deleted Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mcp\/conversations\/search":{"get":{"tags":["mcp"],"summary":"Search Conversations","operationId":"search_conversations_v1_mcp_conversations_search_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","title":"Query"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"}},{"name":"timezone","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/SimpleConversation"},"title":"Response Search Conversations V1 Mcp Conversations Search Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mcp\/conversations\/{conversation_id}":{"get":{"tags":["mcp"],"summary":"Get Conversation By Id","operationId":"get_conversation_by_id_v1_mcp_conversations__conversation_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FullConversation"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mcp\/action-items":{"get":{"tags":["mcp"],"summary":"Get Action Items","operationId":"get_action_items_v1_mcp_action_items_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"completed","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Completed"}},{"name":"due_start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due Start Date"}},{"name":"due_end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due End Date"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"updated_since","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated Since"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/SimpleActionItem"},"title":"Response Get Action Items V1 Mcp Action Items Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"post":{"tags":["mcp"],"summary":"Create Action Item","operationId":"create_action_item_v1_mcp_action_items_post","security":[{"APIKeyHeader":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/McpCreateActionItem"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SimpleActionItem"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mcp\/action-items\/search":{"get":{"tags":["mcp"],"summary":"Search Action Items","operationId":"search_action_items_v1_mcp_action_items_search_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","title":"Query"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/SimpleActionItem"},"title":"Response Search Action Items V1 Mcp Action Items Search Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mcp\/action-items\/{action_item_id}\/complete":{"post":{"tags":["mcp"],"summary":"Complete Action Item","operationId":"complete_action_item_v1_mcp_action_items__action_item_id__complete_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"action_item_id","in":"path","required":true,"schema":{"type":"string","title":"Action Item Id"}},{"name":"completed","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Completed"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SimpleActionItem"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mcp\/action-items\/{action_item_id}":{"patch":{"tags":["mcp"],"summary":"Update Action Item","operationId":"update_action_item_v1_mcp_action_items__action_item_id__patch","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"action_item_id","in":"path","required":true,"schema":{"type":"string","title":"Action Item Id"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/McpUpdateActionItem"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SimpleActionItem"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["mcp"],"summary":"Delete Action Item","operationId":"delete_action_item_v1_mcp_action_items__action_item_id__delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"action_item_id","in":"path","required":true,"schema":{"type":"string","title":"Action Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/McpStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mcp\/goals":{"get":{"tags":["mcp"],"summary":"Get Goals","operationId":"get_goals_v1_mcp_goals_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"include_inactive","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Inactive"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Get Goals V1 Mcp Goals Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mcp\/chat":{"get":{"tags":["mcp"],"summary":"Get Chat Messages","operationId":"get_chat_messages_v1_mcp_chat_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/SimpleChatMessage"},"title":"Response Get Chat Messages V1 Mcp Chat Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mcp\/people":{"get":{"tags":["mcp"],"summary":"Get People","operationId":"get_people_v1_mcp_people_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"items":{"$ref":"#\/components\/schemas\/SimplePerson"},"type":"array","title":"Response Get People V1 Mcp People Get"}}}}},"security":[{"APIKeyHeader":[]}]}},"\/v1\/mcp\/people\/{person_id}\/name":{"patch":{"tags":["mcp"],"summary":"Rename Person","operationId":"rename_person_v1_mcp_people__person_id__name_patch","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"person_id","in":"path","required":true,"schema":{"type":"string","title":"Person Id"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/McpPersonRenameRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/McpPersonMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mcp\/people\/{person_id}\/dismiss":{"post":{"tags":["mcp"],"summary":"Dismiss Person","operationId":"dismiss_person_v1_mcp_people__person_id__dismiss_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"person_id","in":"path","required":true,"schema":{"type":"string","title":"Person Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/McpPersonMutationResponse"}}}},"404":{"description":"Person not found"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mcp\/screen-activity":{"get":{"tags":["mcp"],"summary":"Get Screen Activity","operationId":"get_screen_activity_v1_mcp_screen_activity_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Date"}},{"name":"app","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App"}},{"name":"summary","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Summary"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"timezone","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone"}},{"name":"timestamp_format","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timestamp Format"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"anyOf":[{"type":"array","items":{"$ref":"#\/components\/schemas\/McpScreenActivityRow"}},{"$ref":"#\/components\/schemas\/McpScreenActivitySummaryResponse"}],"title":"Response Get Screen Activity V1 Mcp Screen Activity Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mcp\/daily-summaries":{"get":{"tags":["mcp"],"summary":"Get Daily Summaries","operationId":"get_daily_summaries_v1_mcp_daily_summaries_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"timezone","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Get Daily Summaries V1 Mcp Daily Summaries Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mcp\/sse":{"post":{"tags":["mcp"],"summary":"Mcp Streamable Http","description":"Streamable HTTP Transport endpoint for MCP clients.\n\nCanonical path ``\/v1\/mcp`` and permanent alias ``\/v1\/mcp\/sse`` share one\nstateless implementation in ``utils.mcp_server.transport``.","operationId":"mcp_streamable_http_v1_mcp_sse_post","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"Mcp-Session-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mcp-Session-Id"}},{"name":"Accept","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accept"}}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["mcp"],"summary":"Mcp Sse Get","description":"GET on the Streamable HTTP endpoint: this server offers no server-initiated\nstream, so it answers 405 (``Allow: POST, HEAD, DELETE``) on both paths.","operationId":"mcp_sse_get_v1_mcp_sse_get","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"Mcp-Session-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mcp-Session-Id"}}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"head":{"tags":["mcp"],"summary":"Mcp Sse Head","operationId":"mcp_sse_head_v1_mcp_sse_head","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["mcp"],"summary":"Mcp Delete Session","description":"Delete\/terminate an MCP session (stateless: always 204 when authed).","operationId":"mcp_delete_session_v1_mcp_sse_delete","parameters":[{"name":"Mcp-Session-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mcp-Session-Id"}},{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/mcp":{"post":{"tags":["mcp"],"summary":"Mcp Streamable Http","description":"Streamable HTTP Transport endpoint for MCP clients.\n\nCanonical path ``\/v1\/mcp`` and permanent alias ``\/v1\/mcp\/sse`` share one\nstateless implementation in ``utils.mcp_server.transport``.","operationId":"mcp_streamable_http_v1_mcp_post","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"Mcp-Session-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mcp-Session-Id"}},{"name":"Accept","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accept"}}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["mcp"],"summary":"Mcp Sse Get","description":"GET on the Streamable HTTP endpoint: this server offers no server-initiated\nstream, so it answers 405 (``Allow: POST, HEAD, DELETE``) on both paths.","operationId":"mcp_sse_get_v1_mcp_get","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"Mcp-Session-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mcp-Session-Id"}}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"head":{"tags":["mcp"],"summary":"Mcp Sse Head","operationId":"mcp_sse_head_v1_mcp_head","parameters":[{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["mcp"],"summary":"Mcp Delete Session","description":"Delete\/terminate an MCP session (stateless: always 204 when authed).","operationId":"mcp_delete_session_v1_mcp_delete","parameters":[{"name":"Mcp-Session-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mcp-Session-Id"}},{"name":"Authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/.well-known\/oauth-protected-resource\/v1\/mcp\/sse":{"get":{"tags":["mcp"],"summary":"Oauth Protected Resource Metadata","description":"Per-path RFC 9728 document: the unqualified root keeps describing the\nlegacy ``\/v1\/mcp\/sse`` resource until canonical OAuth clients roll out.","operationId":"oauth_protected_resource_metadata__well_known_oauth_protected_resource_v1_mcp_sse_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}},"head":{"tags":["mcp"],"summary":"Oauth Protected Resource Metadata Head","operationId":"oauth_protected_resource_metadata_head__well_known_oauth_protected_resource_v1_mcp_sse_head","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}}},"\/.well-known\/oauth-protected-resource\/v1\/mcp":{"get":{"tags":["mcp"],"summary":"Oauth Protected Resource Metadata","description":"Per-path RFC 9728 document: the unqualified root keeps describing the\nlegacy ``\/v1\/mcp\/sse`` resource until canonical OAuth clients roll out.","operationId":"oauth_protected_resource_metadata__well_known_oauth_protected_resource_v1_mcp_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}},"head":{"tags":["mcp"],"summary":"Oauth Protected Resource Metadata Head","operationId":"oauth_protected_resource_metadata_head__well_known_oauth_protected_resource_v1_mcp_head","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}}},"\/.well-known\/oauth-protected-resource":{"get":{"tags":["mcp"],"summary":"Oauth Protected Resource Metadata","description":"Per-path RFC 9728 document: the unqualified root keeps describing the\nlegacy ``\/v1\/mcp\/sse`` resource until canonical OAuth clients roll out.","operationId":"oauth_protected_resource_metadata__well_known_oauth_protected_resource_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}},"head":{"tags":["mcp"],"summary":"Oauth Protected Resource Metadata Head","operationId":"oauth_protected_resource_metadata_head__well_known_oauth_protected_resource_head","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}}},"\/.well-known\/oauth-authorization-server":{"get":{"tags":["mcp"],"summary":"Oauth Authorization Server Metadata","operationId":"oauth_authorization_server_metadata__well_known_oauth_authorization_server_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}},"head":{"tags":["mcp"],"summary":"Oauth Authorization Server Metadata Head","operationId":"oauth_authorization_server_metadata_head__well_known_oauth_authorization_server_head","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}}},"\/.well-known\/openai-apps-challenge":{"get":{"tags":["mcp"],"summary":"Openai Apps Challenge","operationId":"openai_apps_challenge__well_known_openai_apps_challenge_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}}},"\/authorize":{"get":{"tags":["mcp"],"summary":"Mcp Authorize","description":"OAuth authorize endpoint.","operationId":"mcp_authorize_authorize_get","parameters":[{"name":"response_type","in":"query","required":true,"schema":{"type":"string","title":"Response Type"}},{"name":"client_id","in":"query","required":true,"schema":{"type":"string","title":"Client Id"}},{"name":"redirect_uri","in":"query","required":true,"schema":{"type":"string","title":"Redirect Uri"}},{"name":"resource","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"scope","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scope"}},{"name":"code_challenge","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Challenge"}},{"name":"code_challenge_method","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Challenge Method"}}],"responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"post":{"tags":["mcp"],"summary":"Mcp Authorize Consent","operationId":"mcp_authorize_consent_authorize_post","requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/Body_mcp_authorize_consent_authorize_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/McpAuthorizeConsentResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/token":{"post":{"tags":["mcp"],"summary":"Mcp Token","description":"OAuth token endpoint.","operationId":"mcp_token_token_post","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/McpTokenResponse"}}}}}}},"\/v1\/mcp\/sse\/info":{"get":{"tags":["mcp"],"summary":"Mcp Sse Info","description":"Get information about the hosted MCP server.","operationId":"mcp_sse_info_v1_mcp_sse_info_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/McpSseInfoResponse"}}}}}}},"\/v1\/dev\/keys":{"get":{"tags":["API Keys"],"summary":"Get Keys","operationId":"listApiKeys","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"items":{"$ref":"#\/components\/schemas\/DevApiKey"},"type":"array","title":"Response Listapikeys"}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["API Keys"],"summary":"Create Key","description":"Create a new Developer API key with optional scopes.\n\n- **name**: Descriptive name for the key\n- **scopes**: Optional list of scopes. If not provided, defaults to read-only access.\n  Available scopes:\n  - conversations:read\n  - conversations:write\n  - memories:read\n  - memories:write\n  - action_items:read\n  - action_items:write\n  - goals:read\n  - goals:write\n  - people:read (explicit opt-in)\n  - profile:read (explicit opt-in)\n  - screen_activity:read (explicit opt-in)","operationId":"createApiKey","requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DevApiKeyCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DevApiKeyCreated"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"\/v1\/dev\/keys\/{key_id}":{"delete":{"tags":["API Keys"],"summary":"Delete Key","operationId":"revokeApiKey","security":[{"HTTPBearer":[]}],"parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/dev\/user\/memories":{"get":{"tags":["Memories"],"summary":"Get Memories","operationId":"listMemories","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":25,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"categories","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Categories"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/DeveloperMemory"},"title":"Response Listmemories"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"post":{"tags":["Memories"],"summary":"Create Memory","description":"Create a new memory for the authenticated user.\n\n- **content**: The content of the memory (1-500 characters)\n- **category**: Memory category (auto-categorized if not provided)\n- **visibility**: Visibility: public or private (default: private)\n- **tags**: List of tags associated with the memory\n\nA memory is identified by its text. Sending text the user already has (ignoring surrounding\nwhitespace; case-sensitive) returns that memory unchanged, so retries are safe without extra\nheaders. Use PATCH to change an existing memory's fields. After a delete, the same text creates\na new memory.","operationId":"createMemory","security":[{"APIKeyHeader":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateMemoryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeveloperMemory"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/dev\/user\/memories\/vector\/search":{"get":{"tags":["developer"],"summary":"Search Memories Vector","description":"Search developer-readable default memory memory through hydrated vector candidates.\n\nThis narrow developer API vector endpoint fails closed unless the authenticated\nDeveloper API app\/key has a verified memories.read scope and a persisted app\/key\ndefault-read grant. Vector hits are hydrated through the universal repository\nagainst authoritative\n`users\/{uid}\/memory_items` before returning results, so stale Short-term and\nArchive remain unavailable by default.","operationId":"search_memories_vector_v1_dev_user_memories_vector_search_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","minLength":1,"title":"Query"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeveloperMemoryVectorSearchResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/dev\/user\/memories\/batch":{"post":{"tags":["Memories"],"summary":"Create Memories Batch","description":"Create multiple memories in a batch.\n\n- **memories**: List of memories to create (max 25)\n\nItems follow the single-create rule: text the user already has returns the existing memory at\nthat position, so a retried batch creates nothing twice. `created_count` is the number of\nmemories returned.","operationId":"createMemoriesBatch","requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/routers__developer__BatchMemoriesRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/routers__developer__BatchMemoriesResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"\/v1\/dev\/user\/memories\/{memory_id}":{"delete":{"tags":["Memories"],"summary":"Delete Memory","description":"Delete a memory by ID.\n\n- **memory_id**: The ID of the memory to delete","operationId":"deleteMemory","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"memory_id","in":"path","required":true,"schema":{"type":"string","title":"Memory Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeveloperSuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["Memories"],"summary":"Update Memory","description":"Update a memory's content, visibility, tags, or category.\n\n- **memory_id**: The ID of the memory to update\n- **content**: New content for the memory (optional)\n- **visibility**: New visibility: public or private (optional)\n- **tags**: New tags for the memory (optional)\n- **category**: New category for the memory (optional)","operationId":"updateMemory","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"memory_id","in":"path","required":true,"schema":{"type":"string","title":"Memory Id"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateMemoryRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeveloperMemory"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/dev\/user\/action-items":{"get":{"tags":["Action Items"],"summary":"Get Action Items","description":"Get action items with optional filters. Locked action items are excluded.\n\n- **conversation_id**: Filter by conversation ID (None for standalone items)\n- **completed**: Filter by completion status\n- **start_date**: Filter by start date (inclusive)\n- **end_date**: Filter by end date (inclusive)\n- **limit**: Maximum number of items to return\n- **offset**: Number of items to skip","operationId":"listActionItems","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"conversation_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"}},{"name":"completed","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Completed"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Date"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/routers__developer__ActionItemResponse"},"title":"Response Listactionitems"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"post":{"tags":["Action Items"],"summary":"Create Action Item","description":"Create a new action item for the authenticated user.\n\n- **description**: The action item description (1-500 characters)\n- **completed**: Whether the action item is completed (default: False)\n- **due_at**: Optional due date in ISO 8601 format with timezone","operationId":"createActionItem","security":[{"APIKeyHeader":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/routers__developer__CreateActionItemRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/routers__developer__ActionItemResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/dev\/user\/action-items\/batch":{"post":{"tags":["Action Items"],"summary":"Create Action Items Batch","description":"Create multiple action items in a batch.\n\n- **action_items**: List of action items to create (max 50)","operationId":"createActionItemsBatch","requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BatchActionItemsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BatchActionItemsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"\/v1\/dev\/user\/action-items\/{action_item_id}":{"delete":{"tags":["Action Items"],"summary":"Delete Action Item","description":"Delete an action item by ID.\n\n- **action_item_id**: The ID of the action item to delete","operationId":"deleteActionItem","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"action_item_id","in":"path","required":true,"schema":{"type":"string","title":"Action Item Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeveloperSuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["Action Items"],"summary":"Update Action Item","description":"Update an action item.\n\n- **action_item_id**: The ID of the action item to update\n- **description**: New description (optional)\n- **completed**: New completion status (optional)\n- **due_at**: New due date (optional, set to null to remove)","operationId":"updateActionItem","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"action_item_id","in":"path","required":true,"schema":{"type":"string","title":"Action Item Id"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/routers__developer__UpdateActionItemRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/routers__developer__ActionItemResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/dev\/user\/daily-summaries":{"get":{"tags":["Daily Summaries"],"summary":"Get Developer Daily Summaries","description":"List the authenticated user's stored daily recaps.\n\nDaily summaries are derived from conversations, so this read uses the same\n`conversations:read` scope and aggregate read budget as conversation lists.","operationId":"listDailySummaries","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":30,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}],"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DailySummariesResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/dev\/user\/daily-summaries\/{summary_id}":{"get":{"tags":["Daily Summaries"],"summary":"Get Developer Daily Summary","description":"Get one stored daily recap by ID.","operationId":"getDailySummary","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"summary_id","in":"path","required":true,"schema":{"type":"string","title":"Summary Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DailySummaryResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/dev\/user\/folders":{"get":{"tags":["Folders"],"summary":"Get User Folders","description":"Get all folders for the authenticated user.\n\nThis endpoint is strictly read-only and returns an empty list if the user has no folders.\nUnlike the internal `\/v1\/folders` endpoint, it does NOT call `initialize_system_folders`,\nbecause doing so under a `conversations:read` scope would silently write to Firestore\n(violating the read-only contract) and opens a TOCTOU window where concurrent first\nrequests can race past the outer empty-check and create duplicate system folders.\n\nSystem folders (Work, Personal, Social) are still initialized lazily through other paths:\n- The mobile app calls the internal `GET \/v1\/folders` whenever the conversations screen\n  is rendered (`app\/lib\/pages\/conversations\/conversations_page.dart`), which triggers\n  `initialize_system_folders` on first access.\n- The conversation post-processing pipeline calls `initialize_system_folders` whenever\n  a new conversation is created (`backend\/utils\/conversations\/process_conversation.py`).\n\nIn practice, any user who can issue a Developer API key has already gone through one of\nthose paths, so the empty-list case here only affects users who have never opened the\nconversations tab nor created a single conversation.","operationId":"listFolders","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"items":{"$ref":"#\/components\/schemas\/DeveloperFolder"},"type":"array","title":"Response Listfolders"}}}}},"security":[{"APIKeyHeader":[]}]}},"\/v1\/dev\/user\/ask":{"post":{"tags":["Conversations"],"summary":"Ask Conversations","description":"Answer a natural-language question grounded in the user's own conversations.\n\nSemantically searches the user's conversations for the question, then synthesizes a\ncited answer from the most relevant ones \u2014 the same retrieval + RAG the chat surface\nuses, exposed for headless \/ Developer-API callers (CLI, CI, scripts). Read-only:\nit never writes; discarded conversations are excluded from retrieval and locked\nconversations are re-checked on the authoritative record before any go to the LLM.","operationId":"ask","requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeveloperAskRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeveloperAskResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"\/v1\/dev\/user\/conversations\/search":{"get":{"tags":["Conversations"],"summary":"Search Conversations","operationId":"searchConversations","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":2000,"title":"Query"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Date"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationSearchResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/dev\/user\/memories\/search":{"get":{"tags":["Memories"],"summary":"Search Memories","operationId":"searchMemories","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":2000,"title":"Query"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":20,"minimum":1,"default":10,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MemorySearchResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/dev\/user\/people":{"get":{"tags":["People"],"summary":"Get People","operationId":"listPeople","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PeopleResponse"}}}}},"security":[{"APIKeyHeader":[]}]}},"\/v1\/dev\/user\/profile":{"get":{"tags":["Profile"],"summary":"Get Profile","operationId":"getUserProfile","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProfileResponse"}}}}},"security":[{"APIKeyHeader":[]}]}},"\/v1\/dev\/user\/screen-activity":{"get":{"tags":["Screen Activity"],"summary":"Get Screen Activity","operationId":"listScreenActivity","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"}},{"name":"app","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ScreenActivityResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/dev\/user\/conversations":{"get":{"tags":["Conversations"],"summary":"Get Conversations","description":"Get conversations with optional transcript inclusion.\n\n- **include_transcript**: If True, includes full transcript_segments in the response\n- **folder_id**: Filter by folder ID (must be a non-empty string if provided)\n- **starred**: Filter by starred status (true\/false)","operationId":"listConversations","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Date"}},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Date"}},{"name":"categories","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Categories"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":25,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"include_transcript","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Transcript"}},{"name":"folder_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"Folder Id"}},{"name":"starred","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Starred"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/routers__developer__Conversation"},"title":"Response Listconversations"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"post":{"tags":["Conversations"],"summary":"Create Conversation","description":"Create a new conversation from text for the authenticated user.\n\nThis endpoint processes the provided text through the full conversation pipeline:\n- Generates structured data (title, overview, category, emoji)\n- Extracts action items (with deduplication)\n- Extracts memories (with quality filtering)\n- Determines if conversation should be discarded\n- Triggers app integrations\n- Triggers webhooks\n\n**Request Parameters:**\n- **text**: The conversation text\/transcript (1-100,000 characters)\n- **text_source**: Source type - audio_transcript, message, or other_text (default: other_text)\n- **text_source_spec**: Additional source info (e.g., 'email', 'slack')\n- **started_at**: When conversation started (defaults to now)\n- **finished_at**: When conversation finished (defaults to started_at + 5 minutes)\n- **language**: Language code (default: 'en')\n- **geolocation**: Optional geolocation data\n\n**Response:**\n- Returns the created conversation ID and status\n- Use GET \/v1\/dev\/user\/conversations\/{id} to retrieve full details","operationId":"createConversation","security":[{"APIKeyHeader":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateConversationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/dev\/user\/conversations\/{conversation_id}":{"get":{"tags":["Conversations"],"summary":"Get Conversation Endpoint","description":"Get a single conversation by ID.\n\n- **conversation_id**: The ID of the conversation to retrieve\n- **include_transcript**: If True, includes full transcript_segments in the response","operationId":"getConversation","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"include_transcript","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Transcript"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/routers__developer__Conversation"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["Conversations"],"summary":"Delete Conversation Endpoint","description":"Delete a conversation by ID.\n\nThis also deletes any associated photos in the conversation's subcollection.\n\n- **conversation_id**: The ID of the conversation to delete","operationId":"deleteConversation","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeveloperSuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["Conversations"],"summary":"Update Conversation Endpoint","description":"Update a conversation's title or discard status.\n\n- **conversation_id**: The ID of the conversation to update\n- **title**: New title for the conversation (optional)\n- **discarded**: Whether the conversation is discarded (optional)","operationId":"updateConversation","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateConversationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/routers__developer__Conversation"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/from-segments":{"post":{"tags":["conversations"],"summary":"Create Conversation From Segments User","description":"Create a conversation from already-transcribed segments (Firebase-authed).\n\nUsed by clients that transcribe ON-DEVICE (e.g. the macOS desktop app with Parakeet) and need\nthe conversation persisted, processed (memories\/summaries), and synced across devices \u2014 exactly\nlike a cloud-transcribed conversation, but without the live `\/v4\/listen` websocket.","operationId":"create_conversation_from_segments_user_v1_conversations_from_segments_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateConversationFromTranscriptRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/dev\/user\/conversations\/from-segments":{"post":{"tags":["Conversations"],"summary":"Create Conversation From Segments","description":"Create a new conversation from structured transcript segments.\n\nThis endpoint is for advanced integrations that have speaker diarization and timing information.\nIt processes the transcript segments through the full conversation pipeline.\n\n**Transcript Segments:**\n- **text**: The text spoken (required)\n- **speaker**: Speaker identifier like 'SPEAKER_00', 'SPEAKER_01' (default: 'SPEAKER_00')\n- **speaker_id**: Numeric speaker ID (auto-calculated from speaker if not provided)\n- **is_user**: Whether this segment is from the user (default: False)\n- **person_id**: ID of known person speaking (optional)\n- **start**: Start time in seconds, e.g., 0.0, 1.5, 60.2 (required)\n- **end**: End time in seconds, e.g., 1.5, 3.0, 65.8 (required)\n\n**Other Parameters:**\n- **source**: Source of conversation (default: external_integration). Options:\n  - omi, friend, openglass, phone, desktop, apple_watch, bee, plaud, frame, etc.\n- **started_at**: When conversation started (defaults to now)\n- **finished_at**: When conversation finished (calculated from last segment if not provided)\n- **language**: Language code (default: 'en')\n- **geolocation**: Optional geolocation data\n- **folder_id**: Optional ID of one of your folders (from GET \/v1\/dev\/user\/folders); skips AI folder assignment\n- **calendar_meeting_context**: Optional calendar meeting (title, participants, start_time, duration_minutes,\n  notes\u2026) used as context for the summary\n\n**Example:**\n```json\n{\n  \"transcript_segments\": [\n    {\n      \"text\": \"Hey, how are you doing?\",\n      \"speaker\": \"SPEAKER_00\",\n      \"is_user\": true,\n      \"start\": 0.0,\n      \"end\": 2.5\n    },\n    {\n      \"text\": \"I'm doing great, thanks!\",\n      \"speaker\": \"SPEAKER_01\",\n      \"is_user\": false,\n      \"start\": 2.8,\n      \"end\": 5.2\n    }\n  ],\n  \"source\": \"phone\",\n  \"language\": \"en\"\n}\n```","operationId":"createConversationFromSegments","requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateConversationFromTranscriptRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"\/v1\/dev\/user\/goals":{"get":{"tags":["Goals"],"summary":"Get Goals","description":"Get user goals.\n\n- **limit**: Maximum number of goals to return\n- **include_inactive**: If True, includes inactive\/completed goals","operationId":"listGoals","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}},{"name":"include_inactive","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Inactive"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/routers__developer__GoalResponse"},"title":"Response Listgoals"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"post":{"tags":["Goals"],"summary":"Create Goal","description":"Create a durable goal. Metrics are optional and other goals are never changed implicitly.\n\n- **title**: The goal title\/description (1-500 characters)\n- **goal_type**: Optional metric type: boolean, scale, or numeric\n- **target_value**: Optional target value\n- **current_value**: Optional current progress\n- **min_value**: Optional minimum scale value\n- **max_value**: Optional maximum scale value\n- **unit**: Optional unit label (e.g., 'users', 'points')\n\nOmit all metric fields to create a qualitative goal.","operationId":"createGoal","security":[{"APIKeyHeader":[]}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateGoalRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/routers__developer__GoalResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/dev\/user\/goals\/{goal_id}":{"get":{"tags":["Goals"],"summary":"Get Goal","description":"Get a single goal by ID.\n\n- **goal_id**: The ID of the goal to retrieve","operationId":"getGoal","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"goal_id","in":"path","required":true,"schema":{"type":"string","title":"Goal Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/routers__developer__GoalResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["Goals"],"summary":"Update Goal","description":"Update a goal.\n\n- **goal_id**: The ID of the goal to update\n- **title**: New title (optional)\n- **target_value**: New target value (optional)\n- **current_value**: New progress value (optional)\n- **min_value**: New minimum value (optional)\n- **max_value**: New maximum value (optional)\n- **unit**: New unit label (optional)","operationId":"updateGoal","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"goal_id","in":"path","required":true,"schema":{"type":"string","title":"Goal Id"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateGoalRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/routers__developer__GoalResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["Goals"],"summary":"Delete Goal","description":"Delete a goal by ID.\n\n- **goal_id**: The ID of the goal to delete","operationId":"deleteGoal","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"goal_id","in":"path","required":true,"schema":{"type":"string","title":"Goal Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeveloperSuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/dev\/user\/goals\/{goal_id}\/progress":{"patch":{"tags":["Goals"],"summary":"Update Goal Progress","description":"Update the progress value of a goal.\n\n- **goal_id**: The ID of the goal to update\n- **current_value**: New progress value (query parameter)","operationId":"updateGoalProgress","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"goal_id","in":"path","required":true,"schema":{"type":"string","title":"Goal Id"}},{"name":"current_value","in":"query","required":true,"schema":{"type":"number","description":"New progress value","title":"Current Value"},"description":"New progress value"}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/routers__developer__GoalResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/dev\/user\/goals\/{goal_id}\/history":{"get":{"tags":["Goals"],"summary":"Get Goal History","description":"Get progress history for a goal.\n\n- **goal_id**: The ID of the goal\n- **days**: Number of days of history to return (max 365, default 30)","operationId":"listGoalHistory","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"goal_id","in":"path","required":true,"schema":{"type":"string","title":"Goal Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/GoalHistoryEntryResponse"},"title":"Response Listgoalhistory"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/dev\/key":{"get":{"tags":["API Keys"],"summary":"Get calling API key","description":"Return only the calling key's metadata and effective scopes. No data scope is required.","operationId":"getCallingApiKey","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DevApiKey"}}}}},"security":[{"APIKeyHeader":[]}]}},"\/v1\/import\/limitless":{"post":{"tags":["import"],"summary":"Import Limitless Data","description":"Start a Limitless data import from a ZIP file export.\n\nThe import runs in the background. Use GET \/v1\/import\/jobs\/{job_id} to check status.\n\nArgs:\n    file: ZIP file containing Limitless data export\n    language: Language code for conversation processing (default: 'en')\n\nReturns:\n    ImportJobResponse with job_id and initial status","operationId":"import_limitless_data_v1_import_limitless_post","parameters":[{"name":"language","in":"query","required":false,"schema":{"type":"string","default":"en","title":"Language"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"$ref":"#\/components\/schemas\/Body_import_limitless_data_v1_import_limitless_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ImportJobResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/import\/transcripts":{"post":{"tags":["import"],"summary":"Import Transcript Files","description":"Start importing transcripts exported from other tools.\n\nAccepts one ``.srt``, ``.vtt`` or ``.txt`` transcript, or a ``.zip`` of them. Each\ntranscript becomes a completed conversation (no AI processing); re-importing the\nsame file is skipped. ``tz`` reads dates in file names, and ``origin`` is ``plaud``\nor ``other``. Poll GET \/v1\/import\/jobs\/{job_id} for progress.","operationId":"import_transcript_files_v1_import_transcripts_post","parameters":[{"name":"language","in":"query","required":false,"schema":{"type":"string","default":"en","title":"Language"}},{"name":"tz","in":"query","required":false,"schema":{"type":"string","default":"UTC","title":"Tz"}},{"name":"origin","in":"query","required":false,"schema":{"type":"string","default":"other","title":"Origin"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"$ref":"#\/components\/schemas\/Body_import_transcript_files_v1_import_transcripts_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ImportJobResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/import\/jobs":{"get":{"tags":["import"],"summary":"Get Import Jobs","description":"Get all import jobs for the current user.\n\nReturns:\n    List of import jobs ordered by creation date (newest first)","operationId":"get_import_jobs_v1_import_jobs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ImportJobResponse"},"title":"Response Get Import Jobs V1 Import Jobs Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/import\/jobs\/{job_id}":{"get":{"tags":["import"],"summary":"Get Import Job Status","description":"Get the status of a specific import job.\n\nArgs:\n    job_id: The import job ID\n\nReturns:\n    ImportJobResponse with current job status and progress","operationId":"get_import_job_status_v1_import_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ImportJobResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["import"],"summary":"Delete Import Job","description":"Delete a finished (completed, failed, or cancelled) import job.","operationId":"delete_import_job_v1_import_jobs__job_id__delete","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeleteImportJobResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/import\/jobs\/{job_id}\/cancel":{"post":{"tags":["import"],"summary":"Cancel Import Job","description":"Cancel a pending or processing import job.","operationId":"cancel_import_job_v1_import_jobs__job_id__cancel_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ImportJobResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/import\/limitless\/conversations":{"delete":{"tags":["import"],"summary":"Delete Limitless Conversations","description":"Delete all conversations imported from Limitless.\n\nReturns:\n    Number of deleted conversations","operationId":"delete_limitless_conversations_v1_import_limitless_conversations_delete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeleteLimitlessConversationsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/wrapped\/{year}":{"get":{"tags":["wrapped"],"summary":"Get Wrapped Status","description":"Get the status and result of wrapped generation for a given year.\n\nReturns:\n    - status: not_generated, processing, done, or error\n    - result: The wrapped payload (only when status=done)\n    - error: Error message (only when status=error)\n    - progress: Progress info (only when status=processing)","operationId":"get_wrapped_status_v1_wrapped__year__get","parameters":[{"name":"year","in":"path","required":true,"schema":{"type":"integer","title":"Year"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WrappedStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/wrapped\/{year}\/generate":{"post":{"tags":["wrapped"],"summary":"Generate Wrapped","description":"Start wrapped generation for a given year.\n\nThis is idempotent:\n- If already done: returns done status (no regeneration in v1)\n- If already processing: returns processing status\n- If error or not generated: starts generation\n- If processing but stuck (no heartbeat for 15 min): restarts generation","operationId":"generate_wrapped_v1_wrapped__year__generate_post","parameters":[{"name":"year","in":"path","required":true,"schema":{"type":"integer","title":"Year"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GenerateWrappedResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/folders":{"get":{"tags":["folders"],"summary":"Get Folders","description":"Get all folders for the current user.\nInitializes system folders if this is the first access.","operationId":"get_folders_v1_folders_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Folder"},"title":"Response Get Folders V1 Folders Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"post":{"tags":["folders"],"summary":"Create Folder","description":"Create a new custom folder.","operationId":"create_folder_v1_folders_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateFolderRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Folder"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/folders\/{folder_id}":{"get":{"tags":["folders"],"summary":"Get Folder","description":"Get a specific folder by ID.","operationId":"get_folder_v1_folders__folder_id__get","parameters":[{"name":"folder_id","in":"path","required":true,"schema":{"type":"string","title":"Folder Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Folder"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["folders"],"summary":"Update Folder","description":"Update folder metadata (name, description, color, icon, order).","operationId":"update_folder_v1_folders__folder_id__patch","parameters":[{"name":"folder_id","in":"path","required":true,"schema":{"type":"string","title":"Folder Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateFolderRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Folder"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["folders"],"summary":"Delete Folder","description":"Delete a folder and move its conversations to another folder.","operationId":"delete_folder_v1_folders__folder_id__delete","parameters":[{"name":"folder_id","in":"path","required":true,"schema":{"type":"string","title":"Folder Id"}},{"name":"move_to_folder_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Target folder for conversations (defaults to 'Other')","title":"Move To Folder Id"},"description":"Target folder for conversations (defaults to 'Other')"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/folders\/reorder":{"post":{"tags":["folders"],"summary":"Reorder Folders","description":"Reorder folders by providing an ordered list of folder IDs.","operationId":"reorder_folders_v1_folders_reorder_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReorderFoldersRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FolderMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/folders\/{folder_id}\/conversations":{"get":{"tags":["folders"],"summary":"Get Folder Conversations","description":"Get all conversations in a folder with pagination.","operationId":"get_folder_conversations_v1_folders__folder_id__conversations_get","parameters":[{"name":"folder_id","in":"path","required":true,"schema":{"type":"string","title":"Folder Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"include_discarded","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Discarded"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/models__conversation__Conversation"},"title":"Response Get Folder Conversations V1 Folders  Folder Id  Conversations Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/folder":{"patch":{"tags":["folders"],"summary":"Move Conversation To Folder","description":"Move a conversation to a different folder.","operationId":"move_conversation_to_folder_v1_conversations__conversation_id__folder_patch","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MoveConversationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/folders\/{folder_id}\/conversations\/bulk-move":{"post":{"tags":["folders"],"summary":"Bulk Move Conversations","description":"Move multiple conversations to a folder.","operationId":"bulk_move_conversations_v1_folders__folder_id__conversations_bulk_move_post","parameters":[{"name":"folder_id","in":"path","required":true,"schema":{"type":"string","title":"Folder Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BulkMoveConversationsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BulkMoveConversationsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/search\/overview":{"get":{"tags":["search"],"summary":"Get Search Overview","description":"Counts for the global-search tiles shown before the user types.\n\nEvery count is a Firestore server-side aggregation and fails independently\n(reported as null, so the tile shows no number rather than a false 0). Semantics:\n\n- `starred`: starred, non-discarded, non-deleted conversations (same count as\n  `GET \/v1\/conversations\/count?starred=true`).\n- `folders`: the user's folders in display order, each with its non-discarded,\n  non-deleted conversation count.\n- `recaps`: stored daily summaries.\n- `memories`: approximation of the default memories list \u2014 active canonical\n  memory items (Archive tier included), or the legacy collection when the\n  account has no canonical items. See `count_default_visible_memories`.\n- `people`: the people (speaker profiles) collection.\n- `places`: conversations with a geolocation, discarded ones included (an\n  exact non-discarded filter would need an undeclared composite index).","operationId":"get_search_overview_v1_search_overview_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SearchOverviewResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/knowledge-graph":{"get":{"tags":["knowledge_graph"],"summary":"Get Knowledge Graph","operationId":"get_knowledge_graph_v1_knowledge_graph_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/KnowledgeGraphResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["knowledge_graph"],"summary":"Delete Knowledge Graph","operationId":"delete_knowledge_graph_v1_knowledge_graph_delete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeleteKnowledgeGraphResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/knowledge-graph\/canonical":{"get":{"tags":["knowledge_graph"],"summary":"Get Canonical Knowledge Graph","operationId":"get_canonical_knowledge_graph_v1_knowledge_graph_canonical_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CanonicalKnowledgeGraphResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/knowledge-graph\/rebuild":{"post":{"tags":["knowledge_graph"],"summary":"Rebuild Graph","operationId":"rebuild_graph_v1_knowledge_graph_rebuild_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RebuildResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/knowledge-graph\/extract":{"post":{"tags":["knowledge_graph"],"summary":"Extract Knowledge Graph","description":"Return-only KG extraction through the managed knowledge_graph feature (OpenRouter Luna).\n\nDoes not write Firestore. Desktop onboarding\/file-index should call this instead of\ninventing nodes\/edges via chat_agent, then persist locally via save_knowledge_graph.\n\n``strict_parse`` is on at this HTTP boundary so a malformed model response fails\nclosed (502) instead of returning 200 with an empty graph, which a client cannot\ntell apart from a genuine \"no entities\" answer.","operationId":"extract_knowledge_graph_v1_knowledge_graph_extract_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExtractKnowledgeGraphRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExtractKnowledgeGraphResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/goals":{"get":{"tags":["goals"],"summary":"Get Current Goal","description":"Get the current active goal for the user (backward compatibility).","operationId":"get_current_goal_v1_goals_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"anyOf":[{"$ref":"#\/components\/schemas\/models__goal__GoalResponse"},{"type":"null"}],"title":"Response Get Current Goal V1 Goals Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"post":{"tags":["goals"],"summary":"Create Goal","description":"Create a durable goal without changing any other goal's focus or lifecycle.","operationId":"create_goal_v1_goals_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GoalCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/models__goal__GoalResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/goals\/all":{"get":{"tags":["goals"],"summary":"Get All Goals","description":"Get all active goals; canonical clients opt into ended history.","operationId":"get_all_goals_v1_goals_all_get","parameters":[{"name":"include_ended","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Ended"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/models__goal__GoalResponse"},"title":"Response Get All Goals V1 Goals All Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/goals\/canonical\/list":{"get":{"tags":["goals"],"summary":"Get Canonical Goals","description":"List goals through the generation-fenced universal task system.","operationId":"get_canonical_goals_v1_goals_canonical_list_get","parameters":[{"name":"include_ended","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Ended"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/models__goal__GoalResponse"},"title":"Response Get Canonical Goals V1 Goals Canonical List Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/goals\/canonical":{"post":{"tags":["goals"],"summary":"Create Canonical Goal","description":"Create a generation-scoped canonical goal with safe retry semantics.","operationId":"create_canonical_goal_v1_goals_canonical_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"title":"Idempotency-Key"}},{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GoalCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/models__goal__GoalResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/goals\/{goal_id}\/focus":{"post":{"tags":["goals"],"summary":"Focus Goal","operationId":"focus_goal_v1_goals__goal_id__focus_post","parameters":[{"name":"goal_id","in":"path","required":true,"schema":{"type":"string","title":"Goal Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"title":"Idempotency-Key"}},{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GoalFocusRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/models__goal__GoalResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["goals"],"summary":"Unfocus Goal","operationId":"unfocus_goal_v1_goals__goal_id__focus_delete","parameters":[{"name":"goal_id","in":"path","required":true,"schema":{"type":"string","title":"Goal Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"title":"Idempotency-Key"}},{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/models__goal__GoalResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/goals\/{goal_id}\/lifecycle":{"post":{"tags":["goals"],"summary":"Transition Goal Lifecycle","operationId":"transition_goal_lifecycle_v1_goals__goal_id__lifecycle_post","parameters":[{"name":"goal_id","in":"path","required":true,"schema":{"type":"string","title":"Goal Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"title":"Idempotency-Key"}},{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GoalLifecycleRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/models__goal__GoalResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/goals\/{goal_id}\/detail":{"get":{"tags":["goals"],"summary":"Get Goal Detail","operationId":"get_goal_detail_v1_goals__goal_id__detail_get","parameters":[{"name":"goal_id","in":"path","required":true,"schema":{"type":"string","title":"Goal Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GoalDetailProjection"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/goals\/{goal_id}\/progress-events":{"post":{"tags":["goals"],"summary":"Append Goal Progress Event","operationId":"append_goal_progress_event_v1_goals__goal_id__progress_events_post","parameters":[{"name":"goal_id","in":"path","required":true,"schema":{"type":"string","title":"Goal Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"title":"Idempotency-Key"}},{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GoalProgressEventCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GoalProgressEvent"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["goals"],"summary":"List Goal Progress Events","operationId":"list_goal_progress_events_v1_goals__goal_id__progress_events_get","parameters":[{"name":"goal_id","in":"path","required":true,"schema":{"type":"string","title":"Goal Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/GoalProgressEvent"},"title":"Response List Goal Progress Events V1 Goals  Goal Id  Progress Events Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/goals\/{goal_id}":{"patch":{"tags":["goals"],"summary":"Update Goal","description":"Update an existing goal.","operationId":"update_goal_v1_goals__goal_id__patch","parameters":[{"name":"goal_id","in":"path","required":true,"schema":{"type":"string","title":"Goal Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GoalUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/models__goal__GoalResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["goals"],"summary":"Delete Goal","description":"Released compatibility route: soft-abandon and retain links. Use the lifecycle route for explicit disposition.","operationId":"delete_goal_v1_goals__goal_id__delete","deprecated":true,"parameters":[{"name":"goal_id","in":"path","required":true,"schema":{"type":"string","title":"Goal Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GoalDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["goals"],"summary":"Get Goal By Id","description":"Fetch a single goal by id.\n\nThe list routes cap how many goals are returned, and update\/delete\/progress\/history\/advice\nalready address a goal by id, so this exposes the matching read for one goal (404 if it does\nnot exist or belongs to another user).","operationId":"get_goal_by_id_v1_goals__goal_id__get","parameters":[{"name":"goal_id","in":"path","required":true,"schema":{"type":"string","title":"Goal Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/models__goal__GoalResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/goals\/{goal_id}\/progress":{"patch":{"tags":["goals"],"summary":"Update Goal Progress","description":"Update the progress value of a goal.","operationId":"update_goal_progress_v1_goals__goal_id__progress_patch","parameters":[{"name":"goal_id","in":"path","required":true,"schema":{"type":"string","title":"Goal Id"}},{"name":"current_value","in":"query","required":true,"schema":{"type":"number","description":"New progress value","title":"Current Value"},"description":"New progress value"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/models__goal__GoalResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/goals\/{goal_id}\/history":{"get":{"tags":["goals"],"summary":"Get Goal History","description":"Get progress history for a goal.","operationId":"get_goal_history_v1_goals__goal_id__history_get","parameters":[{"name":"goal_id","in":"path","required":true,"schema":{"type":"string","title":"Goal Id"}},{"name":"days","in":"query","required":false,"schema":{"type":"integer","maximum":365,"minimum":1,"default":30,"title":"Days"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/GoalHistoryEntryResponse"},"title":"Response Get Goal History V1 Goals  Goal Id  History Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/goals\/suggest":{"get":{"tags":["goals"],"summary":"Suggest Goal","description":"Generate an AI-suggested goal based on user's memories and conversations.","operationId":"suggest_goal_v1_goals_suggest_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GoalSuggestionResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/goals\/{goal_id}\/advice":{"get":{"tags":["goals"],"summary":"Get Goal Advice","description":"Get AI-generated actionable advice for achieving a goal.","operationId":"get_goal_advice_v1_goals__goal_id__advice_get","parameters":[{"name":"goal_id","in":"path","required":true,"schema":{"type":"string","title":"Goal Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AdviceResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/goals\/advice":{"get":{"tags":["goals"],"summary":"Get Current Goal Advice","description":"Get AI-generated advice for the current active goal.","operationId":"get_current_goal_advice_v1_goals_advice_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AdviceResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/goals\/extract-progress":{"post":{"tags":["goals"],"summary":"Extract And Update Progress","description":"Extract goal progress from conversation\/chat text and update if found.\nUses LLM to understand context and extract numeric progress.","operationId":"extract_and_update_progress_v1_goals_extract_progress_post","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProgressExtractRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProgressExtractResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/work-intents":{"post":{"tags":["tasks"],"summary":"Resolve Work Intent","description":"Idempotent backend operation behind the \u201cWork on this with Omi\u201d affordance.","operationId":"resolve_work_intent_v1_work_intents_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"title":"Idempotency-Key"}},{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"oneOf":[{"$ref":"#\/components\/schemas\/TaskOriginWorkIntent"},{"$ref":"#\/components\/schemas\/GoalOriginWorkIntent"}],"discriminator":{"propertyName":"origin","mapping":{"task":"#\/components\/schemas\/TaskOriginWorkIntent","goal":"#\/components\/schemas\/GoalOriginWorkIntent"}},"title":"Request"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkIntentReceipt"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/workstreams\/{workstream_id}":{"get":{"tags":["tasks"],"summary":"Get Workstream Detail","operationId":"get_workstream_detail_v1_workstreams__workstream_id__get","parameters":[{"name":"workstream_id","in":"path","required":true,"schema":{"type":"string","title":"Workstream Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkstreamDetailProjection"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["tasks"],"summary":"Update Workstream","operationId":"update_workstream_v1_workstreams__workstream_id__patch","parameters":[{"name":"workstream_id","in":"path","required":true,"schema":{"type":"string","title":"Workstream Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"title":"Idempotency-Key"}},{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkstreamUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Workstream"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/workstreams\/{workstream_id}\/events":{"post":{"tags":["tasks"],"summary":"Append Workstream Event","operationId":"append_workstream_event_v1_workstreams__workstream_id__events_post","parameters":[{"name":"workstream_id","in":"path","required":true,"schema":{"type":"string","title":"Workstream Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"title":"Idempotency-Key"}},{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkstreamEventCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WorkstreamEvent"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["tasks"],"summary":"List Workstream Events","operationId":"list_workstream_events_v1_workstreams__workstream_id__events_get","parameters":[{"name":"workstream_id","in":"path","required":true,"schema":{"type":"string","title":"Workstream Id"}},{"name":"after_sequence","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"After Sequence"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WorkstreamEvent"},"title":"Response List Workstream Events V1 Workstreams  Workstream Id  Events Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/workstreams\/{workstream_id}\/artifacts":{"post":{"tags":["tasks"],"summary":"Create Artifact Descriptor","operationId":"create_artifact_descriptor_v1_workstreams__workstream_id__artifacts_post","parameters":[{"name":"workstream_id","in":"path","required":true,"schema":{"type":"string","title":"Workstream Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"title":"Idempotency-Key"}},{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ArtifactDescriptorCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ArtifactDescriptor"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["tasks"],"summary":"List Artifact Descriptors","operationId":"list_artifact_descriptors_v1_workstreams__workstream_id__artifacts_get","parameters":[{"name":"workstream_id","in":"path","required":true,"schema":{"type":"string","title":"Workstream Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ArtifactDescriptor"},"title":"Response List Artifact Descriptors V1 Workstreams  Workstream Id  Artifacts Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/workstreams\/{workstream_id}\/artifacts\/{artifact_id}\/status":{"patch":{"tags":["tasks"],"summary":"Transition Artifact Status","operationId":"transition_artifact_status_v1_workstreams__workstream_id__artifacts__artifact_id__status_patch","parameters":[{"name":"workstream_id","in":"path","required":true,"schema":{"type":"string","title":"Workstream Id"}},{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","title":"Artifact Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"title":"Idempotency-Key"}},{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ArtifactStatusTransitionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ArtifactDescriptor"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/workstreams\/{workstream_id}\/checkpoints\/{runtime_id}":{"put":{"tags":["tasks"],"summary":"Upsert Continuation Checkpoint","operationId":"upsert_continuation_checkpoint_v1_workstreams__workstream_id__checkpoints__runtime_id__put","parameters":[{"name":"workstream_id","in":"path","required":true,"schema":{"type":"string","title":"Workstream Id"}},{"name":"runtime_id","in":"path","required":true,"schema":{"type":"string","title":"Runtime Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"title":"Idempotency-Key"}},{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ContinuationCheckpointUpsert"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ContinuationCheckpoint"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/workstreams\/{workstream_id}\/checkpoints":{"get":{"tags":["tasks"],"summary":"List Continuation Checkpoints","operationId":"list_continuation_checkpoints_v1_workstreams__workstream_id__checkpoints_get","parameters":[{"name":"workstream_id","in":"path","required":true,"schema":{"type":"string","title":"Workstream Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ContinuationCheckpoint"},"title":"Response List Continuation Checkpoints V1 Workstreams  Workstream Id  Checkpoints Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/workflow-migrations\/task-goal-links":{"post":{"tags":["tasks"],"summary":"Import Task Goal Links","operationId":"import_task_goal_links_v1_workflow_migrations_task_goal_links_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"title":"Idempotency-Key"}},{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TaskGoalLinkImportRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TaskGoalLinkImportReport"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/announcements\/changelogs":{"get":{"summary":"Get Changelogs","description":"Get app changelog announcements.\n\nIf from_version and to_version are provided:\n    Returns changelogs where from_version < app_version <= to_version.\n\nIf max_version is provided (without from\/to):\n    Returns the most recent `limit` changelogs where app_version <= max_version.\n\nIf none provided:\n    Returns the most recent `limit` changelogs.\n\nSorted by version descending (newest first).\nUser sees the latest version's changelog first, can swipe to see older versions.","operationId":"get_changelogs_v1_announcements_changelogs_get","parameters":[{"name":"from_version","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Previous app version (before upgrade)","title":"From Version"},"description":"Previous app version (before upgrade)"},{"name":"to_version","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Current app version (after upgrade)","title":"To Version"},"description":"Current app version (after upgrade)"},{"name":"max_version","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Maximum version to include (filters out future versions)","title":"Max Version"},"description":"Maximum version to include (filters out future versions)"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","description":"Maximum number of changelogs to return","default":5,"title":"Limit"},"description":"Maximum number of changelogs to return"}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Announcement"},"title":"Response Get Changelogs V1 Announcements Changelogs Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/announcements\/features":{"get":{"summary":"Get Features","description":"Get feature announcements for a specific version.\n\nFor firmware updates: returns features explaining new device behavior.\nFor app updates: returns features explaining major new app functionality.","operationId":"get_features_v1_announcements_features_get","parameters":[{"name":"version","in":"query","required":true,"schema":{"type":"string","description":"Version user upgraded to","title":"Version"},"description":"Version user upgraded to"},{"name":"version_type","in":"query","required":true,"schema":{"type":"string","description":"Type: 'app' or 'firmware'","title":"Version Type"},"description":"Type: 'app' or 'firmware'"},{"name":"device_model","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Device model (for firmware features)","title":"Device Model"},"description":"Device model (for firmware features)"}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Announcement"},"title":"Response Get Features V1 Announcements Features Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/announcements\/general":{"get":{"summary":"Get Announcements","description":"Get active, non-expired general announcements.\nIf last_checked_at is provided, only returns announcements created after that time.\n\nThese are time-based announcements (promotions, notices) not tied to versions.","operationId":"get_announcements_v1_announcements_general_get","parameters":[{"name":"last_checked_at","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO timestamp of last check (only returns newer announcements)","title":"Last Checked At"},"description":"ISO timestamp of last check (only returns newer announcements)"}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Announcement"},"title":"Response Get Announcements V1 Announcements General Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/announcements\/pending":{"get":{"tags":["announcements"],"summary":"Get Pending Announcements Endpoint","description":"Get all pending announcements for a user.\n\nThis is the new unified endpoint that replaces the separate changelogs\/features\/general endpoints.\nIt supports flexible targeting and per-user dismissal tracking.\n\nFiltering logic:\n1. active == True\n2. Not in user's dismissed_announcements (if show_once == True)\n3. Within time window (start_at <= now <= expires_at)\n4. Matches targeting rules (version range, device, platform)\n5. Matches trigger type\n6. Sorted by priority (descending)\n\nTriggers:\n- app_launch: Check every app launch (for immediate announcements)\n- version_upgrade: Check only when app version changed\n- firmware_upgrade: Check only when firmware version changed","operationId":"get_pending_announcements_endpoint_v1_announcements_pending_get","parameters":[{"name":"app_version","in":"query","required":true,"schema":{"type":"string","description":"Current app version (e.g., '1.0.522+240')","title":"App Version"},"description":"Current app version (e.g., '1.0.522+240')"},{"name":"platform","in":"query","required":true,"schema":{"type":"string","description":"Platform: 'ios' or 'android'","title":"Platform"},"description":"Platform: 'ios' or 'android'"},{"name":"trigger","in":"query","required":true,"schema":{"type":"string","description":"Trigger: 'app_launch', 'version_upgrade', or 'firmware_upgrade'","title":"Trigger"},"description":"Trigger: 'app_launch', 'version_upgrade', or 'firmware_upgrade'"},{"name":"firmware_version","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Current firmware version (optional)","title":"Firmware Version"},"description":"Current firmware version (optional)"},{"name":"device_model","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Device model name (optional)","title":"Device Model"},"description":"Device model name (optional)"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Announcement"},"title":"Response Get Pending Announcements Endpoint V1 Announcements Pending Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/announcements\/{announcement_id}\/dismiss":{"post":{"tags":["announcements"],"summary":"Dismiss Announcement Endpoint","description":"Mark an announcement as dismissed for the current user.\n\nThis prevents the announcement from being shown again if show_once is True.\nThe cta_clicked field can be used to track whether the user engaged with the call-to-action.","operationId":"dismiss_announcement_endpoint_v1_announcements__announcement_id__dismiss_post","parameters":[{"name":"announcement_id","in":"path","required":true,"schema":{"type":"string","title":"Announcement Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DismissAnnouncementRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DismissAnnouncementResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/announcements\/all":{"get":{"tags":["admin"],"summary":"List All Announcements","description":"List all announcements with optional filtering.\nRequires admin authentication via secret-key header.\n\nUseful for admin dashboard to see all announcements.","operationId":"list_all_announcements_v1_announcements_all_get","parameters":[{"name":"announcement_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#\/components\/schemas\/AnnouncementType"},{"type":"null"}],"description":"Filter by type","title":"Announcement Type"},"description":"Filter by type"},{"name":"active_only","in":"query","required":false,"schema":{"type":"boolean","description":"Only return active announcements","default":false,"title":"Active Only"},"description":"Only return active announcements"},{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","description":"Admin secret key","title":"Secret-Key"},"description":"Admin secret key"}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Announcement"},"title":"Response List All Announcements V1 Announcements All Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/announcements\/{announcement_id}":{"get":{"tags":["admin"],"summary":"Get Announcement","description":"Get a single announcement by ID.\nRequires admin authentication via secret-key header.","operationId":"get_announcement_v1_announcements__announcement_id__get","parameters":[{"name":"announcement_id","in":"path","required":true,"schema":{"type":"string","title":"Announcement Id"}},{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","description":"Admin secret key","title":"Secret-Key"},"description":"Admin secret key"}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Announcement"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"put":{"tags":["admin"],"summary":"Update Announcement Endpoint","description":"Update an existing announcement.\nRequires admin authentication via secret-key header.\nOnly provided fields will be updated.","operationId":"update_announcement_endpoint_v1_announcements__announcement_id__put","parameters":[{"name":"announcement_id","in":"path","required":true,"schema":{"type":"string","title":"Announcement Id"}},{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","description":"Admin secret key","title":"Secret-Key"},"description":"Admin secret key"}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateAnnouncementRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Announcement"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["admin"],"summary":"Delete Announcement Endpoint","description":"Delete an announcement.\nRequires admin authentication via secret-key header.\n\nBy default, performs a soft delete (sets active=false).\nSet soft_delete=false to permanently remove the announcement.","operationId":"delete_announcement_endpoint_v1_announcements__announcement_id__delete","parameters":[{"name":"announcement_id","in":"path","required":true,"schema":{"type":"string","title":"Announcement Id"}},{"name":"soft_delete","in":"query","required":false,"schema":{"type":"boolean","description":"If true, deactivates instead of permanently deleting","default":true,"title":"Soft Delete"},"description":"If true, deactivates instead of permanently deleting"},{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","description":"Admin secret key","title":"Secret-Key"},"description":"Admin secret key"}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AnnouncementDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/announcements":{"post":{"tags":["admin"],"summary":"Create Announcement Endpoint","description":"Create a new announcement.\nRequires admin authentication via secret-key header.\n\nContent structure depends on type:\n- changelog: {\"title\": \"...\", \"changes\": [{\"title\": \"...\", \"description\": \"...\", \"icon\": \"\ud83d\udd00\"}, ...]}\n- feature: {\"title\": \"...\", \"steps\": [{\"title\": \"...\", \"description\": \"...\", \"image_url\": \"...\", \"highlight_text\": \"...\"}, ...]}\n- announcement: {\"title\": \"...\", \"body\": \"...\", \"image_url\": \"...\", \"cta\": {\"text\": \"...\", \"action\": \"...\"}}","operationId":"create_announcement_endpoint_v1_announcements_post","parameters":[{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","description":"Admin secret key","title":"Secret-Key"},"description":"Admin secret key"}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateAnnouncementRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Announcement"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/phone\/numbers\/verify":{"post":{"tags":["phone-calls"],"summary":"Verify Phone Number","description":"Initiate phone number verification via Twilio caller ID validation.","operationId":"verify_phone_number_v1_phone_numbers_verify_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VerifyPhoneNumberRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VerifyPhoneNumberResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/phone\/numbers\/verify\/check":{"post":{"tags":["phone-calls"],"summary":"Check Phone Verification","description":"Check if a phone number has been verified. Poll this endpoint every 2s (60s timeout).","operationId":"check_phone_verification_v1_phone_numbers_verify_check_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CheckVerificationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CheckVerificationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/phone\/numbers":{"get":{"tags":["phone-calls"],"summary":"List Phone Numbers","description":"List all verified phone numbers for the user.","operationId":"list_phone_numbers_v1_phone_numbers_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PhoneNumbersResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/phone\/numbers\/{phone_number_id}":{"delete":{"tags":["phone-calls"],"summary":"Remove Phone Number","description":"Remove a verified phone number.","operationId":"remove_phone_number_v1_phone_numbers__phone_number_id__delete","parameters":[{"name":"phone_number_id","in":"path","required":true,"schema":{"type":"string","title":"Phone Number Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PhoneMutationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/phone\/token":{"post":{"tags":["phone-calls"],"summary":"Get Phone Token","description":"Generate a Twilio access token for making VoIP calls.","operationId":"get_phone_token_v1_phone_token_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/phone\/twiml":{"post":{"tags":["phone-calls"],"summary":"Twiml Voice Webhook","description":"TwiML webhook called by Twilio when a VoIP call is initiated from the client SDK.\n\nTwilio POSTs form data with params set by ConnectOptions (To, CallId).\nThe 'From' field is the SDK identity (uid), NOT a phone number.\nWe look up the user's verified caller ID from the database.","operationId":"twiml_voice_webhook_v1_phone_twiml_post","responses":{"200":{"description":"Successful Response"}}}},"\/v1\/agent\/tools":{"get":{"summary":"List Tools","description":"Return all available tool definitions for a user.","operationId":"list_tools_v1_agent_tools_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AgentToolsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/agent\/execute-tool":{"post":{"summary":"Execute Tool","description":"Execute a named tool and return its result.","operationId":"execute_tool_v1_agent_execute_tool_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecuteToolRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ExecuteToolResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/tools\/conversations":{"get":{"summary":"Get Conversations","operationId":"get_conversations_v1_tools_conversations_get","parameters":[{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO date with timezone","title":"Start Date"},"description":"ISO date with timezone"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO date with timezone","title":"End Date"},"description":"ISO date with timezone"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":5000,"minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"include_transcript","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Include Transcript"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ToolResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/tools\/conversations\/search":{"post":{"summary":"Search Conversations","operationId":"search_conversations_v1_tools_conversations_search_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SearchConversationsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ToolResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/tools\/conversations\/search-chunks":{"post":{"summary":"Search Conversation Chunks","description":"Semantic search over RAW transcript chunks (verbatim evidence with dates).\n\nComplements \/conversations\/search, which matches against conversation summaries:\nsummaries drop specifics (exact dates, names, numbers), so detail questions need\nthis verbatim layer. Returns chunks newest-relevant with their conversation date,\nplus typed sources (one per parent conversation, best chunk first) so clients can\ncite verbatim evidence the same way they cite summary results.","operationId":"search_conversation_chunks_v1_tools_conversations_search_chunks_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SearchChunksRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ToolResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/tools\/memories":{"get":{"summary":"Get Memories","operationId":"get_memories_v1_tools_memories_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":5000,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO date with timezone","title":"Start Date"},"description":"ISO date with timezone"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO date with timezone","title":"End Date"},"description":"ISO date with timezone"},{"name":"view","in":"query","required":false,"schema":{"enum":["useful_now","history","all"],"type":"string","description":"Temporal memory view; history is an explicit dated recall request","default":"useful_now","title":"View"},"description":"Temporal memory view; history is an explicit dated recall request"},{"name":"as_of","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Optional timezone-aware traversal anchor","title":"As Of"},"description":"Optional timezone-aware traversal anchor"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ToolResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/tools\/memories\/search":{"post":{"summary":"Search Memories","operationId":"search_memories_v1_tools_memories_search_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SearchMemoriesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ToolResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/tools\/action-items":{"get":{"summary":"Get Action Items","operationId":"get_action_items_v1_tools_action_items_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"completed","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Completed"}},{"name":"conversation_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"}},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO date with timezone","title":"Start Date"},"description":"ISO date with timezone"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO date with timezone","title":"End Date"},"description":"ISO date with timezone"},{"name":"due_start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO date with timezone","title":"Due Start Date"},"description":"ISO date with timezone"},{"name":"due_end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO date with timezone","title":"Due End Date"},"description":"ISO date with timezone"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ToolResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"post":{"summary":"Create Action Item","operationId":"create_action_item_v1_tools_action_items_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/routers__tools__CreateActionItemRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ToolResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/tools\/action-items\/{action_item_id}":{"patch":{"summary":"Update Action Item","operationId":"update_action_item_v1_tools_action_items__action_item_id__patch","parameters":[{"name":"action_item_id","in":"path","required":true,"schema":{"type":"string","title":"Action Item Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/routers__tools__UpdateActionItemRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ToolResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/tools\/calendar-events":{"post":{"summary":"Create Calendar Event","operationId":"create_calendar_event_v1_tools_calendar_events_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateCalendarEventRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ToolResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/metrics":{"get":{"summary":"Metrics","operationId":"metrics_metrics_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"\/v1\/telemetry\/client\/batches":{"post":{"tags":["telemetry"],"summary":"Post Client Telemetry Batch","operationId":"post_client_telemetry_batch_v1_telemetry_client_batches_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"title":"Response Post Client Telemetry Batch V1 Telemetry Client Batches Post"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/telemetry\/home-rows":{"post":{"tags":["telemetry"],"summary":"Post Home Rows","description":"Record the visible Home row count. The daily peak is what the board averages.","operationId":"post_home_rows_v1_telemetry_home_rows_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"title":"Response Post Home Rows V1 Telemetry Home Rows Post"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/telemetry\/client\/aggregates":{"get":{"tags":["telemetry"],"summary":"Get Client Telemetry Aggregates","operationId":"get_client_telemetry_aggregates_v1_telemetry_client_aggregates_get","parameters":[{"name":"days","in":"query","required":true,"schema":{"type":"integer","maximum":90,"minimum":1,"title":"Days"}},{"name":"channel","in":"query","required":true,"schema":{"type":"string","title":"Channel"}},{"name":"X-Admin-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-Key"}},{"name":"X-Admin-User","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-User"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"title":"Response Get Client Telemetry Aggregates V1 Telemetry Client Aggregates Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/telemetry\/client\/ops\/seal-day":{"post":{"tags":["telemetry"],"summary":"Post Seal Day","description":"Cron-invocable rollup sealing for settled UTC days. Admin key required.","operationId":"post_seal_day_v1_telemetry_client_ops_seal_day_post","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"title":"Response Post Seal Day V1 Telemetry Client Ops Seal Day Post"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/telemetry\/client\/ops\/purge-expired":{"post":{"tags":["telemetry"],"summary":"Post Purge Expired","description":"Cron-invocable durable retention cleanup. Admin key required.","operationId":"post_purge_expired_v1_telemetry_client_ops_purge_expired_post","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"title":"Response Post Purge Expired V1 Telemetry Client Ops Purge Expired Post"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/telemetry\/client\/ops\/enroll-channel":{"post":{"tags":["telemetry"],"summary":"Post Enroll Channel","description":"Seed the durable channel roster for one owner. Admin key required.","operationId":"post_enroll_channel_v1_telemetry_client_ops_enroll_channel_post","parameters":[{"name":"x-admin-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"title":"Response Post Enroll Channel V1 Telemetry Client Ops Enroll Channel Post"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/telemetry\/fleet":{"post":{"tags":["telemetry"],"summary":"Fleet Summary","operationId":"fleet_summary_v1_telemetry_fleet_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/admin\/fair-use\/flagged":{"get":{"tags":["admin"],"summary":"Get Flagged Users","description":"Get users with active fair-use enforcement.","operationId":"get_flagged_users_v1_admin_fair_use_flagged_get","parameters":[{"name":"stage","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"default":50,"title":"Limit"}},{"name":"X-Admin-Key","in":"header","required":true,"schema":{"type":"string","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FlaggedUsersResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/admin\/fair-use\/user\/{uid}":{"get":{"tags":["admin"],"summary":"Get User Fair Use Detail","description":"Get detailed fair-use state and events for a specific user.","operationId":"get_user_fair_use_detail_v1_admin_fair_use_user__uid__get","parameters":[{"name":"uid","in":"path","required":true,"schema":{"type":"string","title":"Uid"}},{"name":"X-Admin-Key","in":"header","required":true,"schema":{"type":"string","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FairUseUserDetailResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/admin\/fair-use\/user\/{uid}\/resolve-event\/{event_id}":{"post":{"tags":["admin"],"summary":"Resolve Event","description":"Mark a fair-use event as resolved.","operationId":"resolve_event_v1_admin_fair_use_user__uid__resolve_event__event_id__post","parameters":[{"name":"uid","in":"path","required":true,"schema":{"type":"string","title":"Uid"}},{"name":"event_id","in":"path","required":true,"schema":{"type":"string","title":"Event Id"}},{"name":"notes","in":"query","required":false,"schema":{"type":"string","default":"","title":"Notes"}},{"name":"X-Admin-Key","in":"header","required":true,"schema":{"type":"string","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/admin\/fair-use\/user\/{uid}\/reset":{"post":{"tags":["admin"],"summary":"Reset User Fair Use","description":"Reset a user's fair-use state to clean.","operationId":"reset_user_fair_use_v1_admin_fair_use_user__uid__reset_post","parameters":[{"name":"uid","in":"path","required":true,"schema":{"type":"string","title":"Uid"}},{"name":"X-Admin-Key","in":"header","required":true,"schema":{"type":"string","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/admin\/fair-use\/user\/{uid}\/set-stage":{"post":{"tags":["admin"],"summary":"Set User Stage","description":"Manually set a user's enforcement stage.","operationId":"set_user_stage_v1_admin_fair_use_user__uid__set_stage_post","parameters":[{"name":"uid","in":"path","required":true,"schema":{"type":"string","title":"Uid"}},{"name":"stage","in":"query","required":true,"schema":{"type":"string","title":"Stage"}},{"name":"X-Admin-Key","in":"header","required":true,"schema":{"type":"string","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FairUseSetStageResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/admin\/fair-use\/case\/{case_ref}":{"get":{"tags":["admin"],"summary":"Lookup Case","description":"Look up a fair-use event by case reference (for support team).","operationId":"lookup_case_v1_admin_fair_use_case__case_ref__get","parameters":[{"name":"case_ref","in":"path","required":true,"schema":{"type":"string","title":"Case Ref"}},{"name":"X-Admin-Key","in":"header","required":true,"schema":{"type":"string","title":"X-Admin-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FairUseCaseLookupResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/fair-use\/case\/{case_ref}\/status":{"get":{"tags":["fair_use"],"summary":"Get Public Case Status","description":"Public unauthenticated endpoint: look up case status by reference.\n\nReturns only non-sensitive info: stage, message, timestamps, support email.\nNo usage data or user identity exposed.","operationId":"get_public_case_status_v1_fair_use_case__case_ref__status_get","parameters":[{"name":"case_ref","in":"path","required":true,"schema":{"type":"string","title":"Case Ref"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PublicFairUseCaseStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/fair-use\/status":{"get":{"tags":["fair_use"],"summary":"Get My Fair Use Status","description":"User-facing endpoint: see your own fair-use status and speech usage.","operationId":"get_my_fair_use_status_v1_fair_use_status_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FairUseStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/staged-tasks":{"post":{"tags":["staged-tasks"],"summary":"Create Staged Task","operationId":"create_staged_task_v1_staged_tasks_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateStagedTaskRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StagedTask"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["staged-tasks"],"summary":"Get Staged Tasks","operationId":"get_staged_tasks_v1_staged_tasks_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StagedTaskListResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["staged-tasks"],"summary":"Clear Staged Tasks","operationId":"clear_staged_tasks_v1_staged_tasks_delete","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/staged-tasks\/{task_id}":{"delete":{"tags":["staged-tasks"],"summary":"Delete Staged Task","operationId":"delete_staged_task_v1_staged_tasks__task_id__delete","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/staged-tasks\/batch-scores":{"patch":{"tags":["staged-tasks"],"summary":"Batch Update Staged Scores","operationId":"batch_update_staged_scores_v1_staged_tasks_batch_scores_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BatchUpdateScoresRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/staged-tasks\/promote":{"post":{"tags":["staged-tasks"],"summary":"Promote Staged Task","operationId":"promote_staged_task_v1_staged_tasks_promote_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PromoteStagedTaskResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/staged-tasks\/{task_id}\/promote":{"post":{"tags":["staged-tasks"],"summary":"Promote Staged Task By Id","operationId":"promote_staged_task_by_id_v1_staged_tasks__task_id__promote_post","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/staged-tasks\/migrate":{"post":{"tags":["staged-tasks"],"summary":"Migrate Ai Tasks","operationId":"migrate_ai_tasks_v1_staged_tasks_migrate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/staged-tasks\/migrate-conversation-items":{"post":{"tags":["staged-tasks"],"summary":"Migrate Conversation Items","operationId":"migrate_conversation_items_v1_staged_tasks_migrate_conversation_items_post","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"deprecated":true,"default":50,"title":"Limit"},"deprecated":true},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"null"}],"deprecated":true,"title":"Cursor"},"deprecated":true},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MigrateConversationItemsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/action-items\/restore-legacy-conversation-items":{"post":{"tags":["action-items"],"summary":"Restore Legacy Conversation Items","operationId":"restore_legacy_conversation_items_v1_action_items_restore_legacy_conversation_items_post","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":256},{"type":"null"}],"title":"Cursor"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/RestoreLegacyConversationItemsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/focus-sessions":{"post":{"tags":["focus-sessions"],"summary":"Create Focus Session","operationId":"create_focus_session_v1_focus_sessions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateFocusSessionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FocusSession"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["focus-sessions"],"summary":"Get Focus Sessions","operationId":"get_focus_sessions_v1_focus_sessions_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}],"title":"Date"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/FocusSession"},"title":"Response Get Focus Sessions V1 Focus Sessions Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/focus-sessions\/{session_id}":{"delete":{"tags":["focus-sessions"],"summary":"Delete Focus Session","operationId":"delete_focus_session_v1_focus_sessions__session_id__delete","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/focus-stats":{"get":{"tags":["focus-sessions"],"summary":"Get Focus Stats","operationId":"get_focus_stats_v1_focus_stats_get","parameters":[{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}],"title":"Date"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FocusStats"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/screen-activity":{"get":{"tags":["screen-activity"],"summary":"List Screen Activity","description":"List the user's captured screen-activity rows, optionally filtered to a single day and\/or app.\n\nThe rows are captured by the desktop app and only ever read back internally (MCP); this\nexposes them to the user's own first-party client. A bad date is rejected with 422.","operationId":"list_screen_activity_v1_screen_activity_get","parameters":[{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}],"title":"Date"}},{"name":"app_filter","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"App Filter"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":5000,"minimum":1,"default":500,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/routers__focus_sessions__ScreenActivityRow"},"title":"Response List Screen Activity V1 Screen Activity Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/screen-activity\/summary":{"get":{"tags":["screen-activity"],"summary":"Screen Activity Summary","description":"Aggregated per-app screen-activity summary (screenshots per app, first\/last seen).\n\nThe desktop app captures screen-activity but it was only ever read back internally (MCP);\nthis exposes the aggregated view to the user's own first-party client. A bad date is 422.","operationId":"screen_activity_summary_v1_screen_activity_summary_get","parameters":[{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}],"title":"Date"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ScreenActivitySummaryResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/advice":{"post":{"tags":["advice"],"summary":"Create Advice","operationId":"create_advice_v1_advice_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateAdviceRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Advice"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["advice"],"summary":"Get Advice","operationId":"get_advice_v1_advice_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"include_dismissed","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Dismissed"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Advice"},"title":"Response Get Advice V1 Advice Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/advice\/{advice_id}":{"patch":{"tags":["advice"],"summary":"Update Advice","operationId":"update_advice_v1_advice__advice_id__patch","parameters":[{"name":"advice_id","in":"path","required":true,"schema":{"type":"string","title":"Advice Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateAdviceRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Advice"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["advice"],"summary":"Delete Advice","operationId":"delete_advice_v1_advice__advice_id__delete","parameters":[{"name":"advice_id","in":"path","required":true,"schema":{"type":"string","title":"Advice Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/advice\/mark-all-read":{"post":{"tags":["advice"],"summary":"Mark All Advice Read","operationId":"mark_all_advice_read_v1_advice_mark_all_read_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/chat-sessions":{"post":{"tags":["chat-sessions"],"summary":"Create Chat Session","operationId":"create_chat_session_v2_chat_sessions_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateChatSessionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ChatSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["chat-sessions"],"summary":"Get Chat Sessions","operationId":"get_chat_sessions_v2_chat_sessions_get","parameters":[{"name":"app_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"starred","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Starred"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/ChatSessionResponse"},"title":"Response Get Chat Sessions V2 Chat Sessions Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/chat-sessions\/{session_id}":{"get":{"tags":["chat-sessions"],"summary":"Get Chat Session","operationId":"get_chat_session_v2_chat_sessions__session_id__get","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ChatSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["chat-sessions"],"summary":"Update Chat Session","operationId":"update_chat_session_v2_chat_sessions__session_id__patch","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UpdateChatSessionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ChatSessionResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["chat-sessions"],"summary":"Delete Chat Session","operationId":"delete_chat_session_v2_chat_sessions__session_id__delete","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/desktop\/messages":{"post":{"tags":["chat-sessions"],"summary":"Save Message","operationId":"save_message_v2_desktop_messages_post","parameters":[{"name":"x-app-platform","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-App-Platform"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SaveMessageRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SaveMessageResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"get":{"tags":["chat-sessions"],"summary":"Get Messages","operationId":"get_messages_v2_desktop_messages_get","parameters":[{"name":"app_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"}},{"name":"session_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/Message"},"title":"Response Get Messages V2 Desktop Messages Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["chat-sessions"],"summary":"Delete Messages","operationId":"delete_messages_v2_desktop_messages_delete","parameters":[{"name":"app_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"}},{"name":"session_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeleteMessagesResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/desktop\/messages\/reconcile":{"get":{"tags":["chat-sessions"],"summary":"Reconcile Messages","operationId":"reconcile_messages_v2_desktop_messages_reconcile_get","parameters":[{"name":"app_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"}},{"name":"session_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":100,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"null"}],"title":"Cursor"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DesktopMessageReconcilePageResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/desktop\/messages\/{message_id}\/rating":{"patch":{"tags":["chat-sessions"],"summary":"Rate Message","operationId":"rate_message_v2_desktop_messages__message_id__rating_patch","parameters":[{"name":"message_id","in":"path","required":true,"schema":{"type":"string","title":"Message Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/routers__chat_sessions__RateMessageRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/StatusResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/chat\/initial-message":{"post":{"tags":["chat-sessions"],"summary":"Create Initial Message","description":"Generate an initial greeting message for a chat session.\n\nDelegates to the shared chat helper which\nhandles persona detection, previous message context, and LLM generation.","operationId":"create_initial_message_v2_chat_initial_message_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InitialMessageRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InitialMessageResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/chat\/generate-title":{"post":{"tags":["chat-sessions"],"summary":"Generate Session Title","description":"Generate a title for a chat session based on its messages.","operationId":"generate_session_title_v2_chat_generate_title_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GenerateTitleRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GenerateTitleResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/stats\/chat-messages":{"get":{"tags":["chat-sessions"],"summary":"Get Chat Message Count","description":"Get total count of chat messages for the user.","operationId":"get_chat_message_count_v1_users_stats_chat_messages_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ChatMessageCountResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/chat\/generate-reply":{"post":{"tags":["chat"],"summary":"Generate Reply","description":"Stateless owner-authenticated reply generation.\n\nSame generation path as ``POST \/v2\/messages`` (``execute_chat_stream``) with the\npersistence and session identity removed: no human or AI message is written to the\nowner's chat history, no chat session is acquired or mutated, and no chat quota\nquestion is attributed to the conversation. Automated drafting surfaces (the AI\nclone) must use this instead of ``\/v2\/messages`` so machine-generated turns never\ncontaminate the human's chat.\n\nError contract is explicit: streamed ``error: `` frames and the canned answer the\nstream stages alongside ``callback_data['error']`` are never returned as reply\ntext. A failed generation is an HTTP 502 with ``{'error': <reason>}``.","operationId":"generate_reply_v2_chat_generate_reply_post","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GenerateReplyRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GenerateReplyResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/daily-score":{"get":{"tags":["scores"],"summary":"Get Daily Score","operationId":"get_daily_score_v1_daily_score_get","parameters":[{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}],"title":"Date"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DailyScore"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/scores":{"get":{"tags":["scores"],"summary":"Get Scores","operationId":"get_scores_v1_scores_get","parameters":[{"name":"date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}],"title":"Date"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Scores"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/stt\/transcribe":{"post":{"tags":["stt"],"summary":"Stt Transcribe","description":"Transcribe an uploaded audio file via parakeet. Per-user rate limited.","operationId":"stt_transcribe_v1_stt_transcribe_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"$ref":"#\/components\/schemas\/Body_stt_transcribe_v1_stt_transcribe_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/tts\/voices":{"get":{"tags":["tts"],"summary":"List Tts Voices","operationId":"list_tts_voices_v1_tts_voices_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/TtsVoiceCatalog"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/users\/voice":{"get":{"tags":["tts"],"summary":"Get User Voice","operationId":"get_user_voice_v1_users_voice_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AssistantVoicePreference"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["tts"],"summary":"Update User Voice","operationId":"update_user_voice_v1_users_voice_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AssistantVoicePreferenceUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/AssistantVoicePreference"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/tts\/synthesize":{"post":{"tags":["tts"],"summary":"Tts Synthesize","description":"Synthesize MP3 speech through Gemini, with a legacy rollback path.","operationId":"tts_synthesize_v2_tts_synthesize_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/models__tts__TtsSynthesizeRequest"}}}},"responses":{"200":{"description":"MP3 audio stream.","content":{"audio\/mpeg":{"schema":{"type":"string","format":"binary"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/memory\/admin\/users\/{uid}\/non-active-route-report":{"get":{"tags":["admin","memory"],"summary":"Get Non Active Route Report","description":"Surface memory non-active route accounting for admin\/no-silent-loss audits.\n\nReads only `users\/{uid}\/non_active_memory_routes` through the shared report\nfetcher. It does not query default Long-term `memory_items`; `context_only`\nstays internal\/audit-only and Archive remains an explicit product tier.","operationId":"get_non_active_route_report_memory_admin_users__uid__non_active_route_report_get","parameters":[{"name":"uid","in":"path","required":true,"schema":{"type":"string","title":"Uid"}},{"name":"run_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"}},{"name":"expected_source_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected Source Ids"}},{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","title":"Secret-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/NonActiveRouteAuditReport"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/memory\/admin\/users\/{uid}\/short-term-lifecycle\/run":{"post":{"tags":["admin","memory"],"summary":"Post Short Term Lifecycle Run","description":"Run the memory Short-term lifecycle worker for one user.\n\nThe endpoint is an explicit admin\/job entrypoint around the concrete\nFirestore runner. It evaluates only authoritative Short-term `memory_items`,\npersists idempotent lifecycle transition\/audit records, and returns counts;\nit does not expose Archive or stale Short-term through default reads.","operationId":"post_short_term_lifecycle_run_memory_admin_users__uid__short_term_lifecycle_run_post","parameters":[{"name":"uid","in":"path","required":true,"schema":{"type":"string","title":"Uid"}},{"name":"run_id","in":"query","required":true,"schema":{"type":"string","title":"Run Id"}},{"name":"evaluated_at","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evaluated At"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":500,"title":"Limit"}},{"name":"secret-key","in":"header","required":true,"schema":{"type":"string","title":"Secret-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ShortTermLifecycleRunResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/memory\/search":{"get":{"tags":["memories","memory"],"summary":"Search Product Memory","description":"Search default-visible memory product memory for the authenticated user.\n\nThis product endpoint constructs the default Omi-chat access policy explicitly\nand delegates Firestore reads\/filtering to the memory product read service. It\nnever enables Archive capability; beta useful-now reads admit current, fading,\nand unknown records while an explicit history view retrieves dated non-Archive\nrecords under the same grant.","operationId":"search_product_memory_memory_search_get","parameters":[{"name":"query","in":"query","required":false,"schema":{"type":"string","default":"","title":"Query"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"view","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"View"}},{"name":"as_of","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProductMemorySearchResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/memory\/vector\/search":{"get":{"tags":["memories","memory"],"summary":"Search Vector Memory","description":"Search default-visible memory memory through hydrated vector candidates.\n\nThe route fails closed unless the persisted server-owned default-read rollout\nstate enables `omi_chat` memory reads and default memory. Vector hits are only\ncandidates: the service hydrates authoritative `users\/{uid}\/memory_items`\nbefore returning default-visible Short-term\/Long-term results. Archive is\nnever available through this default vector route.","operationId":"search_vector_memory_memory_vector_search_get","parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","title":"Query"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}},{"name":"vector_query","in":"query","required":false,"schema":{"title":"Vector Query"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/VectorMemorySearchResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/memory\/archive\/search":{"get":{"tags":["memories","memory"],"summary":"Search Archive Memory","description":"Search explicit memory Archive memory for archive-capable product callers only.\n\nThis route is intentionally separate from `\/memory\/search` and requires\nboth an explicit caller opt-in flag and a persisted server-owned Archive\ncapability before it constructs a policy with Archive access. The default\nsearch route remains Archive-free.","operationId":"search_archive_memory_memory_archive_search_get","parameters":[{"name":"query","in":"query","required":false,"schema":{"type":"string","default":"","title":"Query"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"include_archive","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Archive"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ArchiveProductMemorySearchResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/what-matters-now":{"get":{"tags":["task-intelligence"],"summary":"Get What Matters Now","operationId":"get_what_matters_now_v1_what_matters_now_get","parameters":[{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":128},{"type":"null"}],"title":"Device Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WhatMattersNowProjection"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/what-matters-now\/evaluate":{"post":{"tags":["task-intelligence"],"summary":"Evaluate What Matters Now","operationId":"evaluate_what_matters_now_v1_what_matters_now_evaluate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EvaluationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WhatMattersNowProjection"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/task-intelligence\/interventions":{"post":{"tags":["task-intelligence"],"summary":"Register Intervention","operationId":"register_intervention_v1_task_intelligence_interventions_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":512,"title":"Idempotency-Key"}},{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InterventionCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/InterventionRecord"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/task-intelligence\/feedback":{"post":{"tags":["task-intelligence"],"summary":"Create Feedback","operationId":"create_feedback_v1_task_intelligence_feedback_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":512,"title":"Idempotency-Key"}},{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FeedbackCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FeedbackRecord"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/task-intelligence\/outcomes":{"post":{"tags":["task-intelligence"],"summary":"Create Outcome","operationId":"create_outcome_v1_task_intelligence_outcomes_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":512,"title":"Idempotency-Key"}},{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OutcomeCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OutcomeRecord"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/task-intelligence\/context-snapshot":{"put":{"tags":["task-intelligence"],"summary":"Replace Context Snapshot","operationId":"replace_context_snapshot_v1_task_intelligence_context_snapshot_put","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":512,"title":"Idempotency-Key"}},{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/NormalizedContextSnapshot"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SnapshotReceipt"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/task-intelligence\/open-loop-snapshot":{"put":{"tags":["task-intelligence"],"summary":"Replace Open Loop Snapshot","operationId":"replace_open_loop_snapshot_v1_task_intelligence_open_loop_snapshot_put","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":512,"title":"Idempotency-Key"}},{"name":"X-Account-Generation","in":"header","required":true,"schema":{"type":"integer","minimum":0,"title":"X-Account-Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OpenLoopSnapshot"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/SnapshotReceipt"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/task-intelligence\/debug\/evaluations\/{evaluation_id}":{"get":{"tags":["task-intelligence"],"summary":"Get Evaluation Debug Projection","operationId":"get_evaluation_debug_projection_v1_task_intelligence_debug_evaluations__evaluation_id__get","parameters":[{"name":"evaluation_id","in":"path","required":true,"schema":{"type":"string","title":"Evaluation Id"}},{"name":"device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":128},{"type":"null"}],"title":"Device Id"}},{"name":"X-Omi-Debug","in":"header","required":false,"schema":{"type":"boolean","default":false,"title":"X-Omi-Debug"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DecisionDebugProjection"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/health":{"get":{"summary":"Health Check","operationId":"health_check_health_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"object","title":"Response Health Check Health Get"}}}}}}},"\/":{"get":{"summary":"Health Check","operationId":"health_check__get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"object","title":"Response Health Check  Get"}}}}}}},"\/ready":{"get":{"summary":"Readiness Check","operationId":"readiness_check_ready_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}}},"\/v1\/config\/api-keys":{"get":{"summary":"Get Api Keys","operationId":"get_api_keys_v1_config_api_keys_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Get Api Keys V1 Config Api Keys Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/.well-known\/apple-developer-domain-association.txt":{"get":{"summary":"Apple Domain Association","operationId":"apple_domain_association__well_known_apple_developer_domain_association_txt_get","responses":{"200":{"description":"Successful Response","content":{"text\/plain":{"schema":{"type":"string"}}}}}}},"\/v2\/agent\/provision":{"post":{"summary":"Provision Agent Vm","operationId":"provision_agent_vm_v2_agent_provision_post","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}}},"\/v2\/agent\/vm\/stop-self":{"post":{"summary":"Stop Self","operationId":"stop_self_v2_agent_vm_stop_self_post","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}}},"\/v2\/agent\/status":{"get":{"summary":"Get Agent Status","operationId":"get_agent_status_v2_agent_status_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}}},"\/v2\/chat\/completions":{"post":{"summary":"Chat Completions","operationId":"chat_completions_v2_chat_completions_post","parameters":[{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}},{"name":"X-Omi-Chat-Contract-Version","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-Chat-Contract-Version"}},{"name":"X-Omi-Request-Id","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Omi-Request-Id"}},{"name":"User-Agent","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User-Agent"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","additionalProperties":true,"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/proxy\/gemini\/{path}":{"post":{"summary":"Gemini Proxy","operationId":"gemini_proxy_v1_proxy_gemini__path__post","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/proxy\/gemini-stream\/{path}":{"post":{"summary":"Gemini Stream Proxy","operationId":"gemini_stream_proxy_v1_proxy_gemini_stream__path__post","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/screen-task\/gate":{"post":{"summary":"Screen Task Gate","operationId":"screen_task_gate_v1_screen_task_gate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ScreenTaskGateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ScreenTaskGateResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/screen-task\/admission":{"get":{"summary":"Screen Task Admission","operationId":"screen_task_admission_v1_screen_task_admission_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ScreenTaskAdmissionResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/flags":{"get":{"summary":"Client Flags","operationId":"client_flags_v1_flags_get","parameters":[{"name":"surface","in":"query","required":true,"schema":{"enum":["macos","mobile","web-app","windows"],"type":"string","title":"Surface"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ClientFlagsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/realtime\/session":{"post":{"summary":"Mint Session","operationId":"mint_session_v2_realtime_session_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/MintRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/realtime\/usage":{"post":{"summary":"Report Usage","operationId":"report_usage_v2_realtime_usage_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/UsageReport"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/screen-activity\/sync":{"post":{"summary":"Sync Screen Activity","operationId":"sync_screen_activity_v1_screen_activity_sync_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ScreenActivitySyncRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ScreenActivitySyncResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/photos\/{photo_id}\/image":{"get":{"tags":["conversations"],"summary":"Get Conversation Photo Image","description":"Serve owner-authorized frame evidence from conversation-lifetime storage.","operationId":"get_conversation_photo_image_v1_conversations__conversation_id__photos__photo_id__image_get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","title":"Photo Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"image\/jpeg":{"schema":{"type":"string","format":"binary"}},"image\/png":{"schema":{"type":"string","format":"binary"}},"image\/webp":{"schema":{"type":"string","format":"binary"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/frame-requests":{"post":{"summary":"Create Frame Request","operationId":"create_frame_request_v1_frame_requests_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateFrameRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FrameRequestEnvelope"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/frame-requests\/status\/{request_id}":{"get":{"summary":"Get Frame Request Status","description":"Return honest owner-scoped lifecycle state without exposing pixels.","operationId":"get_frame_request_status_v1_frame_requests_status__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"account_generation","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Account Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FrameRequestEnvelope"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/frame-requests\/pending":{"get":{"summary":"Get Pending Frame Requests","operationId":"get_pending_frame_requests_v1_frame_requests_pending_get","parameters":[{"name":"device_id","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":256,"title":"Device Id"}},{"name":"account_generation","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Account Generation"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":32,"minimum":1,"default":32,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FrameRequestBatch"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/frame-requests\/{request_id}\/state":{"post":{"summary":"Update Frame Request State","operationId":"update_frame_request_state_v1_frame_requests__request_id__state_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FrameRequestStateUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FrameRequestEnvelope"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/frame-requests\/{request_id}\/upload":{"post":{"summary":"Upload Frame Request","description":"Store an owner-authorized pixel and then commit its bounded metadata.","operationId":"upload_frame_request_v1_frame_requests__request_id__upload_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"device_id","in":"query","required":true,"schema":{"type":"string","title":"Device Id"}},{"name":"account_generation","in":"query","required":true,"schema":{"type":"integer","title":"Account Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"multipart\/form-data":{"schema":{"$ref":"#\/components\/schemas\/Body_upload_frame_request_v1_frame_requests__request_id__upload_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FrameRequestEnvelope"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/frame-requests\/{request_id}\/promote":{"post":{"summary":"Promote Frame Request","description":"Promote uploaded pixels into conversation-lifetime photo evidence.","operationId":"promote_frame_request_v1_frame_requests__request_id__promote_post","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FrameRequestPromotion"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/FrameRequestEnvelope"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/jit\/knowledge-ledger\/prompt-snapshot":{"get":{"summary":"Retired Ledger Prompt Snapshot","operationId":"retired_ledger_prompt_snapshot_v1_jit_knowledge_ledger_prompt_snapshot_get","deprecated":true,"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"410":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/jit\/knowledge-ledger\/mirror-snapshot":{"get":{"summary":"Retired Ledger Mirror Snapshot","operationId":"retired_ledger_mirror_snapshot_v1_jit_knowledge_ledger_mirror_snapshot_get","deprecated":true,"parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Page Size"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"410":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/jit\/rollout-decision":{"get":{"summary":"Retired Jit Rollout Decision","operationId":"retired_jit_rollout_decision_v1_jit_rollout_decision_get","deprecated":true,"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"410":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/jit\/trigger-snapshot":{"get":{"summary":"Retired Jit Trigger Snapshot","operationId":"retired_jit_trigger_snapshot_v1_jit_trigger_snapshot_get","deprecated":true,"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"410":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/jit\/trigger-feedback":{"post":{"summary":"Retired Jit Trigger Feedback","operationId":"retired_jit_trigger_feedback_v1_jit_trigger_feedback_post","deprecated":true,"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"410":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","additionalProperties":true}}}}}},"\/v1\/jit\/proactivity\/reservations":{"post":{"summary":"Retired Jit Proactivity Reservation","operationId":"retired_jit_proactivity_reservation_v1_jit_proactivity_reservations_post","deprecated":true,"parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"410":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","additionalProperties":true}}}}}},"\/v3\/memories\/{memory_id}\/use":{"post":{"summary":"Retired Memory Use","operationId":"retired_memory_use_v3_memories__memory_id__use_post","deprecated":true,"parameters":[{"name":"memory_id","in":"path","required":true,"schema":{"type":"string","title":"Memory Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"410":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","additionalProperties":true}}}}}},"\/v1\/frame-requests\/temporary\/{request_id}\/image":{"get":{"summary":"Retired Temporary Frame Image","operationId":"retired_temporary_frame_image_v1_frame_requests_temporary__request_id__image_get","deprecated":true,"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}},{"name":"account_generation","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Account Generation"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"410":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/tts\/synthesize":{"post":{"summary":"Tts Synthesize","operationId":"tts_synthesize_v1_tts_synthesize_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/routers__desktop_tts_updates__TtsSynthesizeRequest"}}}},"responses":{"200":{"description":"MP3 audio stream.","content":{"audio\/mpeg":{"schema":{"type":"string","format":"binary"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/appcast.xml":{"get":{"summary":"Get Appcast","operationId":"get_appcast_appcast_xml_get","parameters":[{"name":"platform","in":"query","required":false,"schema":{"type":"string","default":"macos","title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/updates\/latest":{"get":{"summary":"Get Latest Version","operationId":"get_latest_version_updates_latest_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}}},"\/download":{"get":{"summary":"Download Redirect","operationId":"download_redirect_download_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}}},"\/updates\/releases":{"post":{"summary":"Create Release","operationId":"create_release_updates_releases_post","parameters":[{"name":"x-release-secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Release-Secret"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/CreateReleaseRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/updates\/releases\/promote":{"patch":{"summary":"Promote Release","operationId":"promote_release_updates_releases_promote_patch","parameters":[{"name":"x-release-secret","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Release-Secret"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PromoteReleaseRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/screen-frame-egress\/settings":{"get":{"tags":["screen_frames"],"summary":"Get Screen Frame Settings","description":"Account-level, shared across every device (desktop, web, a\nreinstall) \u2014 this is the setting the adjudication route's admission\ncheck reads (contract \u00a76). It protects the user from themselves, not\nthird parties from the user (the privacy judge does that), so it lives\nas a plain user-profile field rather than a signed claim.","operationId":"get_screen_frame_settings_v1_screen_frame_egress_settings_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ScreenFrameSettings"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"patch":{"tags":["screen_frames"],"summary":"Update Screen Frame Settings","operationId":"update_screen_frame_settings_v1_screen_frame_egress_settings_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ScreenFrameSettingsUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ScreenFrameSettings"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/screen-frame-egress\/adjudications":{"post":{"tags":["screen_frames"],"summary":"Adjudicate Screen Frames","operationId":"adjudicate_screen_frames_v1_screen_frame_egress_adjudications_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ScreenFrameAdjudicationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ScreenFrameAdjudicationResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/screenshots":{"get":{"tags":["screen_frames"],"summary":"Get Conversation Screenshots","operationId":"get_conversation_screenshots_v1_conversations__conversation_id__screenshots_get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationScreenFrameSet"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"delete":{"tags":["screen_frames"],"summary":"Delete All Conversation Screenshots","operationId":"delete_all_conversation_screenshots_v1_conversations__conversation_id__screenshots_delete","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationScreenFrameSet"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/screenshots\/{frame_id}":{"delete":{"tags":["screen_frames"],"summary":"Delete Conversation Screenshot","operationId":"delete_conversation_screenshot_v1_conversations__conversation_id__screenshots__frame_id__delete","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"frame_id","in":"path","required":true,"schema":{"type":"string","title":"Frame Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationScreenFrameSet"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/screenshot-sharing":{"patch":{"tags":["screen_frames"],"summary":"Update Conversation Screenshot Sharing","operationId":"update_conversation_screenshot_sharing_v1_conversations__conversation_id__screenshot_sharing_patch","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ScreenFrameSharingUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationScreenFrameSet"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/shared\/screenshots":{"get":{"tags":["screen_frames"],"summary":"Get Shared Conversation Screenshots","description":"Public, unauthenticated. Returns an empty set unless the conversation\nis currently shareable AND screenshot_sharing_enabled is true \u2014 never a\n404, so this route cannot be used to probe whether a conversation_id\nexists (contract \u00a71\/\u00a79, and matches the existing\nGET \/v1\/conversations\/{id}\/shared 404-avoidance pattern for public\nconversation lookups... except this one specifically must not leak\nexistence via status code, so it always returns 200).","operationId":"get_shared_conversation_screenshots_v1_conversations__conversation_id__shared_screenshots_get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationScreenFrameSet"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/review\/items":{"get":{"tags":["review"],"summary":"Get Review Items","operationId":"get_review_items_v1_review_items_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReviewItemsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/review\/items\/{item_id}\/answer":{"post":{"tags":["review"],"summary":"Answer Review Item","operationId":"answer_review_item_v1_review_items__item_id__answer_post","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReviewAnswer"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReviewAnswerReceipt"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/review\/items":{"get":{"tags":["review"],"summary":"Get Review Items V2","operationId":"get_review_items_v2_v2_review_items_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReviewItemsResponseV2"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v2\/review\/items\/{item_id}\/answer":{"post":{"tags":["review"],"summary":"Answer Review Item V2","operationId":"answer_review_item_v2_v2_review_items__item_id__answer_post","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","title":"Item Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReviewAnswerV2"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReviewAnswerReceipt"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/review\/open-loops":{"get":{"tags":["review"],"summary":"Get Review Open Loops","description":"The day's pending open-loop cards, at most the three the daily pass wrote.\n\nThe day is resolved exactly as the pass dated it for this uid (see\n``open_loops_service.cards_display_day``), with a bounded fallback to the\nprevious day; the zone resolution follows the user usage endpoint: a valid\nrequest zone, else the stored profile zone, else UTC.","operationId":"get_review_open_loops_v1_review_open_loops_get","parameters":[{"name":"time_zone","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Time Zone"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OpenLoopCardsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/review\/open-loops\/{date}\/{card_id}\/answer":{"post":{"tags":["review"],"summary":"Answer Review Open Loop","operationId":"answer_review_open_loop_v1_review_open_loops__date___card_id__answer_post","parameters":[{"name":"date","in":"path","required":true,"schema":{"type":"string","title":"Date"}},{"name":"card_id","in":"path","required":true,"schema":{"type":"string","title":"Card Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OpenLoopAnswerRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OpenLoopAnswerResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/review\/changes":{"get":{"tags":["review"],"summary":"Get Review Changes","operationId":"get_review_changes_v1_review_changes_get","parameters":[{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Cursor"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReviewChangesResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/review\/changes\/{change_id}\/undo":{"post":{"tags":["review"],"summary":"Undo Review Change","operationId":"undo_review_change_v1_review_changes__change_id__undo_post","parameters":[{"name":"change_id","in":"path","required":true,"schema":{"type":"string","title":"Change Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReviewChange"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/review\/changes\/{change_id}\/redo":{"post":{"tags":["review"],"summary":"Redo Review Change","operationId":"redo_review_change_v1_review_changes__change_id__redo_post","parameters":[{"name":"change_id","in":"path","required":true,"schema":{"type":"string","title":"Change Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ReviewChange"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/entities":{"get":{"tags":["entity_pages"],"summary":"Get Entities","operationId":"get_entities_v1_entities_get","parameters":[{"name":"type","in":"query","required":true,"schema":{"const":"project","type":"string","title":"Type"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EntitiesResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/entities\/{entity_id}\/page":{"get":{"tags":["entity_pages"],"summary":"Get Entity Page","operationId":"get_entity_page_v1_entities__entity_id__page_get","parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","title":"Entity Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EntityPage"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/entities\/{entity_id}\/corrections":{"post":{"tags":["entity_pages"],"summary":"Correct Entity","operationId":"correct_entity_v1_entities__entity_id__corrections_post","parameters":[{"name":"entity_id","in":"path","required":true,"schema":{"type":"string","title":"Entity Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EntityCorrection"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/v1\/conversations\/{conversation_id}\/entities":{"get":{"tags":["entity_pages"],"summary":"Get Conversation Entities","operationId":"get_conversation_entities_v1_conversations__conversation_id__entities_get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}},{"name":"X-App-Platform","in":"header","required":false,"schema":{"type":"string","title":"X-App-Platform"}},{"name":"X-Device-Id-Hash","in":"header","required":false,"schema":{"type":"string","title":"X-Device-Id-Hash"}},{"name":"X-App-Version","in":"header","required":false,"schema":{"type":"string","title":"X-App-Version"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/EntitiesResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AIUserProfileResponse":{"properties":{"profile_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile Text"},"generated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Generated At"},"data_sources_used":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Data Sources Used"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"refreshed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refreshed At"}},"type":"object","title":"AIUserProfileResponse"},"AcceptSharedActionItemsResponse":{"properties":{"created":{"items":{"type":"string"},"type":"array","title":"Created"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["created","count"],"title":"AcceptSharedActionItemsResponse"},"AcceptSharedTasksRequest":{"properties":{"token":{"type":"string","title":"Token","description":"Share token from the shared URL"}},"type":"object","required":["token"],"title":"AcceptSharedTasksRequest"},"AccountCutoverCheckpointPhase":{"type":"string","enum":["not_started","inventory","offline_queue_fenced","exporting","importing","verifying","cutover_ready","completed","failed","paused"],"title":"AccountCutoverCheckpointPhase","description":"Forward-migration checkpoint phases (legacy-side seam only)."},"AccountCutoverClientAction":{"type":"string","enum":["none","force_upgrade","migration_maintenance"],"title":"AccountCutoverClientAction","description":"Fail-closed client surface before product traffic."},"AccountCutoverClientState":{"type":"string","enum":["legacy","migrating","new","rolled_back_stranded"],"title":"AccountCutoverClientState","description":"Cutover state as released clients decode it.\n\n``migrated`` (a cell cutover) is server-internal: routing is invisible to\nclients, so the control projection reports it as ``legacy``."},"AccountCutoverControl":{"properties":{"schema_version":{"type":"integer","const":1,"title":"Schema Version","default":1},"state":{"$ref":"#\/components\/schemas\/AccountCutoverClientState","default":"legacy"},"account_generation":{"type":"integer","minimum":0,"title":"Account Generation","default":0},"ui_generation":{"type":"integer","minimum":0,"title":"Ui Generation","default":0},"api_generation":{"type":"integer","minimum":0,"title":"Api Generation","default":0},"client_action":{"$ref":"#\/components\/schemas\/AccountCutoverClientAction","default":"none"},"offline_queue_instruction":{"$ref":"#\/components\/schemas\/OfflineQueueInstruction","default":"none"},"stranded_new_data":{"type":"boolean","title":"Stranded New Data","default":false},"legacy_writes_allowed":{"type":"boolean","title":"Legacy Writes Allowed","default":true},"product_traffic_allowed":{"type":"boolean","title":"Product Traffic Allowed","default":true},"auth_bootstrap_reachable":{"type":"boolean","title":"Auth Bootstrap Reachable","default":true},"minimum_supported_builds":{"items":{"$ref":"#\/components\/schemas\/PlatformMinimumBuild"},"type":"array","title":"Minimum Supported Builds","default":[]},"migration":{"$ref":"#\/components\/schemas\/AccountCutoverManifestSummary"}},"additionalProperties":false,"type":"object","title":"AccountCutoverControl","description":"Authenticated bootstrap\/control projection for bridge clients."},"AccountCutoverManifestSummary":{"properties":{"manifest_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Manifest Id"},"schema_version":{"type":"integer","minimum":1,"title":"Schema Version","default":1},"checkpoint_phase":{"$ref":"#\/components\/schemas\/AccountCutoverCheckpointPhase","default":"not_started"},"checkpoint_token":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Checkpoint Token"},"destination_backend_bound":{"type":"boolean","title":"Destination Backend Bound","default":false},"stranded_new_data":{"type":"boolean","title":"Stranded New Data","default":false}},"additionalProperties":false,"type":"object","title":"AccountCutoverManifestSummary","description":"Opaque forward-migration manifest identity without user content."},"AccountDeletionActionResponse":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"pending_deletion":{"type":"boolean","title":"Pending Deletion","default":false},"wipe_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Wipe At"}},"type":"object","required":["status","message"],"title":"AccountDeletionActionResponse"},"AccountDeletionLossSummary":{"properties":{"held_recordings":{"type":"integer","title":"Held Recordings","default":0},"held_audio_seconds":{"type":"integer","title":"Held Audio Seconds","default":0},"backlog_conversations":{"type":"integer","title":"Backlog Conversations","default":0},"backlog_seconds":{"type":"integer","title":"Backlog Seconds","default":0}},"type":"object","title":"AccountDeletionLossSummary"},"AccountDeletionRestoreResponse":{"properties":{"status":{"type":"string","title":"Status"},"restored":{"type":"boolean","title":"Restored"},"billing_cancelled":{"type":"boolean","title":"Billing Cancelled","default":false}},"type":"object","required":["status","restored"],"title":"AccountDeletionRestoreResponse"},"AccountDeletionStatusResponse":{"properties":{"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"pending_deletion":{"type":"boolean","title":"Pending Deletion","default":false},"wipe_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Wipe At"},"grace_period_days":{"type":"integer","title":"Grace Period Days","default":0},"loss_summary":{"$ref":"#\/components\/schemas\/AccountDeletionLossSummary"}},"type":"object","required":["loss_summary"],"title":"AccountDeletionStatusResponse"},"Action":{"properties":{"action":{"$ref":"#\/components\/schemas\/ActionType"}},"type":"object","required":["action"],"title":"Action"},"ActionItemCreateRequest":{"properties":{"description":{"type":"string","maxLength":4096,"minLength":1,"title":"Description"},"status":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskStatus"},{"type":"null"}]},"completed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Completed"},"goal_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Goal Id"},"workstream_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Workstream Id"},"owner":{"$ref":"#\/components\/schemas\/TaskOwner","default":"user"},"due":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskDue"},{"type":"null"}]},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"due_confidence":{"anyOf":[{"type":"number","maximum":1,"minimum":0},{"type":"null"}],"title":"Due Confidence"},"source":{"type":"string","maxLength":64,"minLength":1,"title":"Source","default":"manual"},"provenance":{"items":{"$ref":"#\/components\/schemas\/EvidenceRef"},"type":"array","title":"Provenance"},"priority":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskPriority"},{"type":"null"}]},"sort_order":{"type":"integer","title":"Sort Order","default":0},"indent_level":{"type":"integer","maximum":3,"minimum":0,"title":"Indent Level","default":0},"recurrence_rule":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Recurrence Rule"},"recurrence_parent_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Recurrence Parent Id"},"conversation_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Conversation Id"},"is_locked":{"type":"boolean","title":"Is Locked","default":false},"exported":{"type":"boolean","title":"Exported","default":false},"export_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Export Date"},"export_platform":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Export Platform"},"apple_reminder_id":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Apple Reminder Id"}},"type":"object","required":["description"],"title":"ActionItemCreateRequest","description":"Released-client adapter; unknown historical fields remain ignored at this route boundary."},"ActionItemIdsResponse":{"properties":{"ids":{"items":{"type":"string"},"type":"array","title":"Ids"},"completed_scope":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Completed Scope"}},"type":"object","required":["ids"],"title":"ActionItemIdsResponse"},"ActionItemUpdateRequest":{"properties":{"description":{"anyOf":[{"type":"string","maxLength":4096,"minLength":1},{"type":"null"}],"title":"Description"},"status":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskStatus"},{"type":"null"}]},"completed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Completed"},"goal_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Goal Id"},"workstream_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Workstream Id"},"owner":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskOwner"},{"type":"null"}]},"due":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskDue"},{"type":"null"}]},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"due_confidence":{"anyOf":[{"type":"number","maximum":1,"minimum":0},{"type":"null"}],"title":"Due Confidence"},"source":{"anyOf":[{"type":"string","maxLength":64,"minLength":1},{"type":"null"}],"title":"Source"},"provenance":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/EvidenceRef"},"type":"array"},{"type":"null"}],"title":"Provenance"},"priority":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskPriority"},{"type":"null"}]},"sort_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sort Order"},"indent_level":{"anyOf":[{"type":"integer","maximum":3,"minimum":0},{"type":"null"}],"title":"Indent Level"},"recurrence_rule":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Recurrence Rule"},"recurrence_parent_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Recurrence Parent Id"},"superseded_by":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Superseded By"},"exported":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Exported"},"export_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Export Date"},"export_platform":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Export Platform"},"apple_reminder_id":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Apple Reminder Id"},"clear_due_at":{"type":"boolean","title":"Clear Due At","default":false}},"type":"object","title":"ActionItemUpdateRequest","description":"Released-client adapter with the desktop's explicit due-date clearing flag."},"ActionItemsResponse":{"properties":{"action_items":{"items":{"$ref":"#\/components\/schemas\/models__action_item__ActionItemResponse"},"type":"array","title":"Action Items"},"has_more":{"type":"boolean","title":"Has More","default":false},"truncated":{"type":"boolean","title":"Truncated","default":false}},"type":"object","required":["action_items"],"title":"ActionItemsResponse","description":"List envelope; ``truncated`` is set only when the request's list-read\nbudget ended the aggregate scan early (#11831) \u2014 such pages may not be a\ncomplete prefix, so ``has_more`` is forced true as well."},"ActionItemsSearchResponse":{"properties":{"action_items":{"items":{"$ref":"#\/components\/schemas\/models__action_item__ActionItemResponse"},"type":"array","title":"Action Items"}},"type":"object","required":["action_items"],"title":"ActionItemsSearchResponse"},"ActionType":{"type":"string","enum":["create_conversation","create_facts","read_memories","read_conversations","read_tasks"],"title":"ActionType"},"AddTesterRequest":{"properties":{"uid":{"type":"string","title":"Uid"},"apps":{"items":{"type":"string"},"type":"array","title":"Apps"}},"additionalProperties":true,"type":"object","required":["uid","apps"],"title":"AddTesterRequest"},"AdmitResult":{"properties":{"uncovered":{"items":{"$ref":"#\/components\/schemas\/FrameRange"},"type":"array","title":"Uncovered"},"covered":{"items":{"$ref":"#\/components\/schemas\/FrameRange"},"type":"array","title":"Covered","default":[]},"covering_conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Covering Conversation Id"},"basis":{"type":"string","enum":["frames","text_fallback","unknown"],"title":"Basis","default":"unknown"}},"type":"object","required":["uncovered"],"title":"AdmitResult","description":"What an intake path may transcribe: only ``uncovered``. ``basis`` says how it was decided."},"Advice":{"properties":{"id":{"type":"string","title":"Id","description":"Unique advice identifier."},"content":{"type":"string","title":"Content","description":"The advice text shown to the user."},"category":{"type":"string","title":"Category","description":"Advice category, e.g. \"other\", \"focus\"."},"reasoning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reasoning","description":"Why the advice was generated."},"source_app":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source App","description":"App that produced the advice, if any."},"confidence":{"type":"number","maximum":1,"minimum":0,"title":"Confidence","description":"Model confidence, 0..1.","default":0.5},"context_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context Summary","description":"Context the advice was based on."},"current_activity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Activity","description":"User activity when the advice was generated."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp (UTC)."},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Last update timestamp (UTC)."},"is_read":{"type":"boolean","title":"Is Read","description":"Whether the user has read the advice.","default":false},"is_dismissed":{"type":"boolean","title":"Is Dismissed","description":"Whether the user dismissed the advice.","default":false}},"type":"object","required":["id","content","category","created_at","updated_at"],"title":"Advice","description":"A single advice item shown to the user."},"AdviceAssistantSettings":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"analysis_prompt":{"anyOf":[{"type":"string","maxLength":10000},{"type":"null"}],"title":"Analysis Prompt"},"extraction_interval":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Extraction Interval"},"min_confidence":{"anyOf":[{"type":"number","maximum":1,"minimum":0},{"type":"null"}],"title":"Min Confidence"},"notifications_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notifications Enabled"},"excluded_apps":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Excluded Apps"}},"type":"object","title":"AdviceAssistantSettings"},"AdviceResponse":{"properties":{"advice":{"type":"string","title":"Advice"}},"type":"object","required":["advice"],"title":"AdviceResponse"},"AgentProposalAnswer":{"properties":{"decision":{"type":"string","enum":["accept","dismiss"],"title":"Decision"}},"additionalProperties":false,"type":"object","required":["decision"],"title":"AgentProposalAnswer"},"AgentProposalItem":{"properties":{"target_label":{"type":"string","title":"Target Label","default":""},"other_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Other Label"},"target_content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Content"},"other_content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Other Content"},"edit":{"anyOf":[{"$ref":"#\/components\/schemas\/Edit"},{"type":"null"}]},"operation":{"anyOf":[{"$ref":"#\/components\/schemas\/HarnessEdit"},{"$ref":"#\/components\/schemas\/MemoryHygieneEdit"},{"type":"null"}],"title":"Operation"},"vocabulary":{"anyOf":[{"$ref":"#\/components\/schemas\/Term"},{"type":"null"}]}},"type":"object","title":"AgentProposalItem"},"AgentToolSchema":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"parameters":{"additionalProperties":true,"type":"object","title":"Parameters"}},"type":"object","required":["name","description","parameters"],"title":"AgentToolSchema"},"AgentToolsResponse":{"properties":{"tools":{"items":{"$ref":"#\/components\/schemas\/AgentToolSchema"},"type":"array","title":"Tools"}},"type":"object","required":["tools"],"title":"AgentToolsResponse"},"Announcement":{"properties":{"id":{"type":"string","title":"Id"},"type":{"$ref":"#\/components\/schemas\/AnnouncementType"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"active":{"type":"boolean","title":"Active","default":true},"app_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Version"},"firmware_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Firmware Version"},"device_models":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Device Models"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"targeting":{"anyOf":[{"$ref":"#\/components\/schemas\/Targeting"},{"type":"null"}]},"display":{"anyOf":[{"$ref":"#\/components\/schemas\/Display"},{"type":"null"}]},"content":{"additionalProperties":true,"type":"object","title":"Content"}},"type":"object","required":["id","type","created_at","content"],"title":"Announcement"},"AnnouncementDeleteResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"}},"type":"object","required":["success","message"],"title":"AnnouncementDeleteResponse"},"AnnouncementType":{"type":"string","enum":["changelog","feature","announcement"],"title":"AnnouncementType"},"ApiBackendServingObservation":{"properties":{"release_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Release Sha"},"health_url":{"type":"string","minLength":1,"title":"Health Url"}},"additionalProperties":false,"type":"object","required":["health_url"],"title":"ApiBackendServingObservation","description":"Live shared Python backend identity observed at pointer transition time."},"App":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"uid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uid"},"private":{"type":"boolean","title":"Private","default":false},"approved":{"type":"boolean","title":"Approved","default":false},"status":{"type":"string","title":"Status","default":"approved"},"category":{"type":"string","title":"Category"},"author":{"type":"string","title":"Author"},"description":{"type":"string","title":"Description"},"image":{"type":"string","title":"Image"},"capabilities":{"items":{"type":"string"},"type":"array","uniqueItems":true,"title":"Capabilities"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"connected_accounts":{"items":{"type":"string"},"type":"array","title":"Connected Accounts"},"external_integration":{"anyOf":[{"$ref":"#\/components\/schemas\/ExternalIntegration"},{"type":"null"}]},"rating_avg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rating Avg","default":0},"rating_count":{"type":"integer","title":"Rating Count","default":0},"enabled":{"type":"boolean","title":"Enabled","default":false},"trigger_workflow_memories":{"type":"boolean","title":"Trigger Workflow Memories","default":true},"installs":{"type":"integer","title":"Installs","default":0},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score"},"proactive_notification":{"anyOf":[{"$ref":"#\/components\/schemas\/ProactiveNotification"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"is_paid":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Paid","default":false},"price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price","default":0},"payment_plan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Plan"},"payment_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Link"},"is_user_paid":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is User Paid","default":false},"thumbnails":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Thumbnails"},"thumbnail_urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Thumbnail Urls"},"is_influencer":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Influencer","default":false},"is_popular":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Popular","default":false},"official":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Official","default":false},"chat_tools":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/ChatTool"},"type":"array"},{"type":"null"}],"title":"Chat Tools"},"source_code_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Code Url"},"disabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Disabled","default":false},"disabled_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disabled Reason"},"disabled_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disabled At"},"disabled_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disabled Error"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"memory_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Memory Prompt"},"chat_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Prompt"},"persona_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Persona Prompt"},"twitter":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Twitter"},"reviews":{"items":{"$ref":"#\/components\/schemas\/AppReview"},"type":"array","title":"Reviews"},"user_review":{"anyOf":[{"$ref":"#\/components\/schemas\/AppReview"},{"type":"null"}]},"money_made":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Money Made"},"usage_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Usage Count"},"payment_product_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Product Id"},"payment_price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Price Id"},"payment_link_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Link Id"}},"type":"object","required":["id","name","category","author","description","image","capabilities"],"title":"App","description":"Full App model - includes large\/internal fields for detail views."},"AppApiKeyResponse":{"properties":{"id":{"type":"string","title":"Id"},"label":{"type":"string","title":"Label"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"secret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Secret"}},"type":"object","required":["id","label"],"title":"AppApiKeyResponse"},"AppBaseModel":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"uid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uid"},"private":{"type":"boolean","title":"Private","default":false},"approved":{"type":"boolean","title":"Approved","default":false},"status":{"type":"string","title":"Status","default":"approved"},"category":{"type":"string","title":"Category"},"author":{"type":"string","title":"Author"},"description":{"type":"string","title":"Description"},"image":{"type":"string","title":"Image"},"capabilities":{"items":{"type":"string"},"type":"array","uniqueItems":true,"title":"Capabilities"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"connected_accounts":{"items":{"type":"string"},"type":"array","title":"Connected Accounts"},"external_integration":{"anyOf":[{"$ref":"#\/components\/schemas\/ExternalIntegration"},{"type":"null"}]},"rating_avg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rating Avg","default":0},"rating_count":{"type":"integer","title":"Rating Count","default":0},"enabled":{"type":"boolean","title":"Enabled","default":false},"trigger_workflow_memories":{"type":"boolean","title":"Trigger Workflow Memories","default":true},"installs":{"type":"integer","title":"Installs","default":0},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score"},"proactive_notification":{"anyOf":[{"$ref":"#\/components\/schemas\/ProactiveNotification"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"is_paid":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Paid","default":false},"price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price","default":0},"payment_plan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Plan"},"payment_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Link"},"is_user_paid":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is User Paid","default":false},"thumbnails":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Thumbnails"},"thumbnail_urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Thumbnail Urls"},"is_influencer":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Influencer","default":false},"is_popular":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Popular","default":false},"official":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Official","default":false},"chat_tools":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/ChatTool"},"type":"array"},{"type":"null"}],"title":"Chat Tools"},"source_code_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Code Url"},"disabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Disabled","default":false},"disabled_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disabled Reason"},"disabled_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disabled At"},"disabled_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disabled Error"}},"type":"object","required":["id","name","category","author","description","image","capabilities"],"title":"AppBaseModel","description":"Base App model for list views - contains common fields only."},"AppCapabilityAction":{"properties":{"title":{"type":"string","title":"Title"},"id":{"type":"string","title":"Id"},"doc_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Doc Url"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["title","id"],"title":"AppCapabilityAction"},"AppCapabilityResponse":{"properties":{"title":{"type":"string","title":"Title"},"id":{"type":"string","title":"Id"},"triggers":{"items":{"$ref":"#\/components\/schemas\/AppSelectOption"},"type":"array","title":"Triggers"},"actions":{"items":{"$ref":"#\/components\/schemas\/AppCapabilityAction"},"type":"array","title":"Actions"},"scopes":{"items":{"$ref":"#\/components\/schemas\/AppSelectOption"},"type":"array","title":"Scopes"}},"type":"object","required":["title","id"],"title":"AppCapabilityResponse"},"AppCatalogGroup":{"properties":{"capability":{"anyOf":[{"$ref":"#\/components\/schemas\/AppSelectOption"},{"type":"null"}]},"category":{"anyOf":[{"$ref":"#\/components\/schemas\/AppSelectOption"},{"type":"null"}]},"data":{"items":{"$ref":"#\/components\/schemas\/AppCatalogItem"},"type":"array","title":"Data"},"pagination":{"anyOf":[{"$ref":"#\/components\/schemas\/AppPagination"},{"type":"null"}]},"count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Count"}},"type":"object","title":"AppCatalogGroup"},"AppCatalogItem":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name","default":""},"description":{"type":"string","title":"Description","default":""},"image":{"type":"string","title":"Image","default":""},"category":{"type":"string","title":"Category","default":"other"},"author":{"type":"string","title":"Author","default":""},"capabilities":{"items":{"type":"string"},"type":"array","title":"Capabilities"},"approved":{"type":"boolean","title":"Approved","default":false},"status":{"type":"string","title":"Status","default":"approved"},"private":{"type":"boolean","title":"Private","default":false},"installs":{"type":"integer","title":"Installs","default":0},"rating_avg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rating Avg"},"rating_count":{"type":"integer","title":"Rating Count","default":0},"external_integration":{"anyOf":[{"$ref":"#\/components\/schemas\/ExternalIntegration"},{"type":"null"}]},"is_paid":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Paid","default":false},"price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price"},"enabled":{"type":"boolean","title":"Enabled","default":false}},"type":"object","required":["id"],"title":"AppCatalogItem","description":"Desktop app catalog response item for list\/search views."},"AppCatalogMeta":{"properties":{"capabilities":{"items":{"$ref":"#\/components\/schemas\/AppSelectOption"},"type":"array","title":"Capabilities"},"groupCount":{"type":"integer","title":"Groupcount","default":0},"limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"offset":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Offset"},"totalApps":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Totalapps"}},"type":"object","title":"AppCatalogMeta"},"AppCatalogResponse":{"properties":{"data":{"items":{"$ref":"#\/components\/schemas\/AppCatalogItem"},"type":"array","title":"Data"},"pagination":{"anyOf":[{"$ref":"#\/components\/schemas\/AppPagination"},{"type":"null"}]},"capability":{"anyOf":[{"$ref":"#\/components\/schemas\/AppSelectOption"},{"type":"null"}]},"category":{"anyOf":[{"$ref":"#\/components\/schemas\/AppSelectOption"},{"type":"null"}]},"groups":{"items":{"$ref":"#\/components\/schemas\/AppCatalogGroup"},"type":"array","title":"Groups"},"meta":{"anyOf":[{"$ref":"#\/components\/schemas\/AppCatalogMeta"},{"type":"null"}]}},"type":"object","title":"AppCatalogResponse"},"AppCreateResponse":{"properties":{"status":{"type":"string","title":"Status"},"app_id":{"type":"string","title":"App Id"}},"type":"object","required":["status","app_id"],"title":"AppCreateResponse"},"AppDescriptionEmojiGenerationResponse":{"properties":{"description":{"type":"string","title":"Description"},"emoji":{"type":"string","title":"Emoji"}},"type":"object","required":["description","emoji"],"title":"AppDescriptionEmojiGenerationResponse"},"AppDescriptionGenerationResponse":{"properties":{"description":{"type":"string","title":"Description"}},"type":"object","required":["description"],"title":"AppDescriptionGenerationResponse"},"AppDraftGenerationResponse":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"category":{"type":"string","title":"Category"},"capabilities":{"items":{"type":"string"},"type":"array","title":"Capabilities"},"chat_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Prompt"},"memory_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Memory Prompt"}},"type":"object","required":["name","description","category","capabilities"],"title":"AppDraftGenerationResponse"},"AppGenerationResponse":{"properties":{"status":{"type":"string","title":"Status"},"app":{"$ref":"#\/components\/schemas\/AppDraftGenerationResponse"}},"type":"object","required":["status","app"],"title":"AppGenerationResponse"},"AppIconGenerationResponse":{"properties":{"status":{"type":"string","title":"Status"},"icon_base64":{"type":"string","title":"Icon Base64"},"mime_type":{"type":"string","title":"Mime Type"}},"type":"object","required":["status","icon_base64","mime_type"],"title":"AppIconGenerationResponse"},"AppManifestRefreshResponse":{"properties":{"status":{"type":"string","title":"Status"},"tools_count":{"type":"integer","title":"Tools Count","default":0}},"type":"object","required":["status"],"title":"AppManifestRefreshResponse"},"AppMigrationResponse":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"}},"type":"object","required":["status","message"],"title":"AppMigrationResponse"},"AppMutationResponse":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"AppMutationResponse"},"AppPagination":{"properties":{"total":{"type":"integer","title":"Total"},"count":{"type":"integer","title":"Count"},"offset":{"type":"integer","title":"Offset"},"limit":{"type":"integer","title":"Limit"},"hasNext":{"type":"boolean","title":"Hasnext"},"hasPrevious":{"type":"boolean","title":"Hasprevious"},"links":{"anyOf":[{"$ref":"#\/components\/schemas\/AppPaginationLinks"},{"type":"null"}]}},"type":"object","required":["total","count","offset","limit","hasNext","hasPrevious"],"title":"AppPagination"},"AppPaginationLinks":{"properties":{"next":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next"},"previous":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Previous"}},"type":"object","title":"AppPaginationLinks"},"AppPromptsGenerationResponse":{"properties":{"prompts":{"items":{"type":"string"},"type":"array","title":"Prompts"}},"type":"object","required":["prompts"],"title":"AppPromptsGenerationResponse"},"AppResult":{"properties":{"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"},"content":{"type":"string","title":"Content"}},"type":"object","required":["app_id","content"],"title":"AppResult"},"AppReview":{"properties":{"uid":{"type":"string","title":"Uid"},"rated_at":{"type":"string","format":"date-time","title":"Rated At"},"score":{"type":"number","title":"Score"},"review":{"type":"string","title":"Review"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"response":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response"},"responded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Responded At"}},"type":"object","required":["uid","rated_at","score","review"],"title":"AppReview"},"AppSearchFilters":{"properties":{"query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"rating":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rating"},"capability":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Capability"},"sort":{"type":"string","title":"Sort"},"my_apps":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"My Apps"},"installed_apps":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Installed Apps"}},"type":"object","required":["sort"],"title":"AppSearchFilters"},"AppSearchResponse":{"properties":{"data":{"items":{"$ref":"#\/components\/schemas\/AppCatalogItem"},"type":"array","title":"Data"},"pagination":{"$ref":"#\/components\/schemas\/AppPagination"},"filters":{"$ref":"#\/components\/schemas\/AppSearchFilters"}},"type":"object","required":["pagination","filters"],"title":"AppSearchResponse"},"AppSelectOption":{"properties":{"title":{"type":"string","title":"Title"},"id":{"type":"string","title":"Id"}},"type":"object","required":["title","id"],"title":"AppSelectOption"},"AppStatusMessageResponse":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"}},"type":"object","required":["status","message"],"title":"AppStatusMessageResponse"},"AppSubscriptionCancelResponse":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"cancel_at_period_end":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cancel At Period End"},"current_period_end":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Period End"}},"type":"object","required":["status","message"],"title":"AppSubscriptionCancelResponse"},"AppSubscriptionDetails":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"current_period_end":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Period End"},"cancel_at_period_end":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cancel At Period End"},"price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price Id"},"customer_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Id"}},"type":"object","title":"AppSubscriptionDetails"},"AppSubscriptionResponse":{"properties":{"subscription":{"anyOf":[{"$ref":"#\/components\/schemas\/AppSubscriptionDetails"},{"type":"null"}]}},"type":"object","title":"AppSubscriptionResponse"},"AppTesterCheckResponse":{"properties":{"is_tester":{"type":"boolean","title":"Is Tester"}},"type":"object","required":["is_tester"],"title":"AppTesterCheckResponse"},"AppThumbnailUploadResponse":{"properties":{"thumbnail_url":{"type":"string","title":"Thumbnail Url"},"thumbnail_id":{"type":"string","title":"Thumbnail Id"}},"type":"object","required":["thumbnail_url","thumbnail_id"],"title":"AppThumbnailUploadResponse"},"AppleHealthSyncData":{"properties":{"period_days":{"type":"integer","title":"Period Days","description":"Number of days of data","default":7},"total_steps":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Steps","description":"Total steps in period"},"average_steps_per_day":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Average Steps Per Day","description":"Average steps per day"},"daily_steps":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Daily Steps","description":"Daily steps breakdown [{date, steps}]"},"total_sleep_hours":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Sleep Hours","description":"Total sleep hours"},"total_in_bed_hours":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total In Bed Hours","description":"Total time in bed hours"},"sleep_sessions_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sleep Sessions Count","description":"Number of sleep sessions"},"sleep_sessions":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Sleep Sessions","description":"Sleep session details"},"daily_sleep":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Daily Sleep","description":"Daily sleep breakdown [{date, sleepHours}]"},"heart_rate_average":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Heart Rate Average","description":"Average heart rate"},"heart_rate_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Heart Rate Min","description":"Minimum heart rate"},"heart_rate_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Heart Rate Max","description":"Maximum heart rate"},"total_active_energy":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Active Energy","description":"Total active energy kcal"},"average_active_energy_per_day":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Average Active Energy Per Day","description":"Average daily active energy"},"daily_active_energy":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Daily Active Energy","description":"Daily energy breakdown [{date, calories}]"},"workouts":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Workouts","description":"List of workout records"}},"type":"object","title":"AppleHealthSyncData","description":"Health data synced from Apple Health on iOS device"},"AppleHealthSyncResponse":{"properties":{"status":{"type":"string","title":"Status"},"app_key":{"type":"string","title":"App Key"},"synced_at":{"type":"string","title":"Synced At"},"data_types_synced":{"items":{"type":"string"},"type":"array","title":"Data Types Synced"}},"type":"object","required":["status","app_key","synced_at"],"title":"AppleHealthSyncResponse"},"ArchiveProductMemorySearchResponse":{"properties":{"uid":{"type":"string","title":"Uid","description":"Authenticated user id."},"query":{"type":"string","title":"Query","description":"Search query string."},"items":{"items":{"$ref":"#\/components\/schemas\/ProductMemorySearchItem"},"type":"array","title":"Items","description":"Default-visible memory rows for the current page."},"total_count":{"type":"integer","title":"Total Count","description":"Total default-visible items matching the query."},"returned_count":{"type":"integer","title":"Returned Count","description":"Number of items returned in this page."},"limit":{"type":"integer","title":"Limit","description":"Bounded page size used for this response."},"offset":{"type":"integer","title":"Offset","description":"Offset into the result set for this page."},"archive_default_visible":{"type":"boolean","title":"Archive Default Visible","description":"Always false; Archive is never default-visible."},"policy":{"$ref":"#\/components\/schemas\/MemorySearchPolicyPayload","description":"Access-policy snapshot used for this read."},"global_read_gate":{"$ref":"#\/components\/schemas\/MemoryGlobalReadGateObservability","description":"Global read kill-switch observability."},"rollout":{"$ref":"#\/components\/schemas\/ProductRolloutObservability","description":"Per-route default-read rollout observability."},"archive_capability_required":{"type":"boolean","title":"Archive Capability Required","description":"Always true for the archive search route."},"archive_capability_granted":{"type":"boolean","title":"Archive Capability Granted","description":"Whether Archive capability was granted to the policy."}},"type":"object","required":["uid","query","items","total_count","returned_count","limit","offset","archive_default_visible","policy","global_read_gate","rollout","archive_capability_required","archive_capability_granted"],"title":"ArchiveProductMemorySearchResponse","description":"Explicit Archive product memory search response.\n\nReturned by ``GET \/memory\/archive\/search``. Adds the Archive capability\naccounting fields on top of the default search response."},"ArtifactDescriptor":{"properties":{"logical_key":{"type":"string","maxLength":256,"minLength":1,"title":"Logical Key"},"version":{"type":"integer","minimum":1,"title":"Version"},"supersedes_artifact_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Supersedes Artifact Id"},"kind":{"type":"string","maxLength":64,"minLength":1,"title":"Kind"},"uri":{"type":"string","maxLength":2048,"minLength":1,"title":"Uri"},"content_hash":{"type":"string","maxLength":128,"minLength":16,"title":"Content Hash"},"source_run_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Source Run Id"},"evidence_event_ids":{"items":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"type":"array","maxItems":100,"title":"Evidence Event Ids"},"evidence_refs":{"items":{"$ref":"#\/components\/schemas\/EvidenceRef"},"type":"array","maxItems":50,"title":"Evidence Refs"},"artifact_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Artifact Id"},"workstream_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Workstream Id"},"status":{"$ref":"#\/components\/schemas\/ArtifactStatus","default":"draft"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["logical_key","version","kind","uri","content_hash","artifact_id","workstream_id","created_at"],"title":"ArtifactDescriptor"},"ArtifactDescriptorCreate":{"properties":{"logical_key":{"type":"string","maxLength":256,"minLength":1,"title":"Logical Key"},"version":{"type":"integer","minimum":1,"title":"Version"},"supersedes_artifact_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Supersedes Artifact Id"},"kind":{"type":"string","maxLength":64,"minLength":1,"title":"Kind"},"uri":{"type":"string","maxLength":2048,"minLength":1,"title":"Uri"},"content_hash":{"type":"string","maxLength":128,"minLength":16,"title":"Content Hash"},"source_run_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Source Run Id"},"evidence_event_ids":{"items":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"type":"array","maxItems":100,"title":"Evidence Event Ids"},"evidence_refs":{"items":{"$ref":"#\/components\/schemas\/EvidenceRef"},"type":"array","maxItems":50,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["logical_key","version","kind","uri","content_hash"],"title":"ArtifactDescriptorCreate"},"ArtifactPreservationState":{"type":"string","enum":["preserved","ephemeral_already_missing","dropped_before_copy","deleted_by_user","account_purged","copy_failed","explicit_loss","not_applicable"],"title":"ArtifactPreservationState"},"ArtifactRef":{"properties":{"artifact_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artifact Id"},"uri":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uri"},"checksum":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Checksum"},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size Bytes"},"preservation":{"$ref":"#\/components\/schemas\/ArtifactPreservationState"}},"type":"object","required":["preservation"],"title":"ArtifactRef"},"ArtifactStatus":{"type":"string","enum":["draft","awaiting_review","approved","delivered","superseded"],"title":"ArtifactStatus"},"ArtifactStatusTransitionRequest":{"properties":{"status":{"$ref":"#\/components\/schemas\/ArtifactStatus"}},"additionalProperties":false,"type":"object","required":["status"],"title":"ArtifactStatusTransitionRequest"},"AsanaProjectsResponse":{"properties":{"projects":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Projects"}},"type":"object","title":"AsanaProjectsResponse"},"AsanaWorkspacesResponse":{"properties":{"workspaces":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Workspaces"}},"type":"object","title":"AsanaWorkspacesResponse"},"AssistantSettingsResponse":{"properties":{"shared":{"anyOf":[{"$ref":"#\/components\/schemas\/SharedAssistantSettings"},{"type":"null"}]},"focus":{"anyOf":[{"$ref":"#\/components\/schemas\/FocusAssistantSettings"},{"type":"null"}]},"task":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskAssistantSettings"},{"type":"null"}]},"advice":{"anyOf":[{"$ref":"#\/components\/schemas\/AdviceAssistantSettings"},{"type":"null"}]},"memory":{"anyOf":[{"$ref":"#\/components\/schemas\/MemoryAssistantSettings"},{"type":"null"}]},"floating_bar":{"anyOf":[{"$ref":"#\/components\/schemas\/FloatingBarSettings"},{"type":"null"}]},"web_search":{"anyOf":[{"$ref":"#\/components\/schemas\/WebSearchAssistantSettings"},{"type":"null"}]},"update_channel":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Update Channel"}},"additionalProperties":true,"type":"object","title":"AssistantSettingsResponse"},"AssistantVoicePreference":{"properties":{"voice_id":{"type":"string","title":"Voice Id"}},"type":"object","required":["voice_id"],"title":"AssistantVoicePreference"},"AssistantVoicePreferenceUpdate":{"properties":{"voice_id":{"type":"string","title":"Voice Id"}},"type":"object","required":["voice_id"],"title":"AssistantVoicePreferenceUpdate"},"AttentionItem":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","const":"conversation_summary_failed","title":"Kind"},"conversation_id":{"type":"string","title":"Conversation Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"duration_seconds":{"type":"number","title":"Duration Seconds"},"failure_code":{"type":"string","title":"Failure Code"},"retryable":{"type":"boolean","title":"Retryable"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"seen":{"type":"boolean","title":"Seen"},"retry":{"$ref":"#\/components\/schemas\/AttentionRetryStatus"}},"type":"object","required":["id","kind","conversation_id","title","started_at","duration_seconds","failure_code","retryable","created_at","seen","retry"],"title":"AttentionItem"},"AttentionItemsPage":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"items":{"items":{"$ref":"#\/components\/schemas\/AttentionItem"},"type":"array","title":"Items"},"unseen_count":{"type":"integer","title":"Unseen Count"}},"type":"object","required":["enabled","items","unseen_count"],"title":"AttentionItemsPage"},"AttentionRetryAllOperation":{"properties":{"operation_id":{"type":"string","title":"Operation Id"},"state":{"type":"string","enum":["in_progress","succeeded","failed"],"title":"State"},"id":{"type":"string","title":"Id"}},"type":"object","required":["operation_id","state","id"],"title":"AttentionRetryAllOperation"},"AttentionRetryAllResponse":{"properties":{"operations":{"items":{"$ref":"#\/components\/schemas\/AttentionRetryAllOperation"},"type":"array","title":"Operations"}},"type":"object","required":["operations"],"title":"AttentionRetryAllResponse"},"AttentionRetryResponse":{"properties":{"operation_id":{"type":"string","title":"Operation Id"},"state":{"type":"string","enum":["in_progress","succeeded","failed"],"title":"State"}},"type":"object","required":["operation_id","state"],"title":"AttentionRetryResponse"},"AttentionRetryStatus":{"properties":{"state":{"type":"string","enum":["none","in_progress","succeeded","failed"],"title":"State"},"operation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operation Id"}},"type":"object","required":["state","operation_id"],"title":"AttentionRetryStatus"},"AudioDownloadPendingResponse":{"properties":{"status":{"type":"string","title":"Status"},"poll_after_ms":{"type":"integer","title":"Poll After Ms"}},"type":"object","required":["status","poll_after_ms"],"title":"AudioDownloadPendingResponse"},"AudioFile":{"properties":{"recording_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recording Id"},"recording_file_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recording File Id"},"id":{"type":"string","title":"Id","description":"Unique identifier for the audio file"},"source_fingerprint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Fingerprint"},"uid":{"type":"string","title":"Uid","description":"User ID who owns this audio file"},"conversation_id":{"type":"string","title":"Conversation Id","description":"ID of the conversation this audio belongs to"},"chunk_timestamps":{"items":{"type":"number"},"type":"array","title":"Chunk Timestamps","description":"List of chunk timestamps (for on-demand merging)"},"provider":{"type":"string","title":"Provider","description":"Storage provider (e.g., 'gcp')","default":"gcp"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At","description":"When this audio file started (absolute timestamp)"},"duration":{"type":"number","title":"Duration","description":"Duration in seconds"},"chunk_spans":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/ChunkSpan"},"type":"array"},{"type":"null"}],"title":"Chunk Spans","description":"Validated contiguous coverage spans (v2 only)"},"playback_start":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Playback Start","description":"Normalized server-clock start for playback wall math (v2 only)"}},"type":"object","required":["id","uid","conversation_id","chunk_timestamps","duration"],"title":"AudioFile"},"AudioFileUrlInfo":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","title":"Status"},"signed_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signed Url"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"},"duration":{"type":"number","title":"Duration","default":0}},"type":"object","required":["id","status"],"title":"AudioFileUrlInfo"},"AudioPrecacheResponse":{"properties":{"status":{"type":"string","title":"Status"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"audio_file_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Audio File Count"}},"type":"object","required":["status"],"title":"AudioPrecacheResponse"},"AudioTimelineProvenance":{"properties":{"version":{"type":"integer","title":"Version"}},"type":"object","required":["version"],"title":"AudioTimelineProvenance","description":"Audio-timeline v2 provenance marker on eligible conversation rows.\n\nPresent only on single-channel, server-STT live captures admitted under\nAUDIO_TIMELINE_V2: both transcript segment offsets and audio chunk starts\nare projections of one capture sample cursor anchored at the conversation's\nfirst accepted audio sample (started_at is that origin, pinned once).\nAbsent on legacy, resumed-v1, multi-channel, custom-STT, sync-merged or\nmixed-source rows."},"AudioUrlsResponse":{"properties":{"audio_files":{"items":{"$ref":"#\/components\/schemas\/AudioFileUrlInfo"},"type":"array","title":"Audio Files"},"conversation_audio":{"anyOf":[{"$ref":"#\/components\/schemas\/ConversationAudioUrlInfo"},{"type":"null"}]},"poll_after_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Poll After Ms"}},"type":"object","required":["audio_files"],"title":"AudioUrlsResponse"},"AuthStep":{"properties":{"name":{"type":"string","title":"Name"},"url":{"type":"string","title":"Url"}},"type":"object","required":["name","url"],"title":"AuthStep"},"AutoModelPick":{"properties":{"provider":{"type":"string","title":"Provider","description":"Desktop provider id of the picked realtime-voice model, e.g. \"geminiFlashLive\"."},"updated_at":{"type":"number","title":"Updated At","description":"Unix timestamp (seconds) the cached pick was last refreshed."},"detail":{"additionalProperties":true,"type":"object","title":"Detail","description":"Provenance for the pick. May contain a \"reason\" string and\/or a \"scores\" map of provider id -> score."},"attribution":{"type":"string","title":"Attribution","description":"Required attribution URL for the data source."}},"type":"object","required":["provider","updated_at","detail","attribution"],"title":"AutoModelPick","description":"Current best realtime-voice provider for 'Auto' users (daily-cached)."},"AvailableLanguage":{"properties":{"code":{"type":"string","title":"Code"},"name":{"type":"string","title":"Name"}},"type":"object","required":["code","name"],"title":"AvailableLanguage"},"AvailableLanguagesResponse":{"properties":{"languages":{"items":{"$ref":"#\/components\/schemas\/AvailableLanguage"},"type":"array","title":"Languages"}},"type":"object","required":["languages"],"title":"AvailableLanguagesResponse"},"AvailablePlansResponse":{"properties":{"plans":{"items":{"$ref":"#\/components\/schemas\/routers__payment__PricingOption"},"type":"array","title":"Plans"}},"type":"object","required":["plans"],"title":"AvailablePlansResponse"},"BYOKActivateRequest":{"properties":{"fingerprints":{"additionalProperties":{"type":"string"},"type":"object","title":"Fingerprints"}},"type":"object","required":["fingerprints"],"title":"BYOKActivateRequest"},"BYOKActiveResponse":{"properties":{"active":{"type":"boolean","title":"Active"}},"type":"object","required":["active"],"title":"BYOKActiveResponse"},"BatchActionItemsRequest":{"properties":{"action_items":{"items":{"$ref":"#\/components\/schemas\/routers__developer__CreateActionItemRequest"},"type":"array","maxItems":50,"title":"Action Items","description":"List of action items to create"}},"type":"object","required":["action_items"],"title":"BatchActionItemsRequest"},"BatchActionItemsResponse":{"properties":{"action_items":{"items":{"$ref":"#\/components\/schemas\/routers__developer__ActionItemResponse"},"type":"array","title":"Action Items"},"created_count":{"type":"integer","title":"Created Count"}},"type":"object","required":["action_items","created_count"],"title":"BatchActionItemsResponse"},"BatchCreateActionItemsResponse":{"properties":{"action_items":{"items":{"$ref":"#\/components\/schemas\/models__action_item__ActionItemResponse"},"type":"array","title":"Action Items"},"created_count":{"type":"integer","title":"Created Count"}},"type":"object","required":["action_items","created_count"],"title":"BatchCreateActionItemsResponse"},"BatchDeleteActionItemsRequest":{"properties":{"ids":{"items":{"type":"string"},"type":"array","maxItems":10000,"minItems":1,"title":"Ids","description":"IDs of action items to delete"}},"type":"object","required":["ids"],"title":"BatchDeleteActionItemsRequest"},"BatchDeleteActionItemsResponse":{"properties":{"status":{"type":"string","title":"Status"},"deleted_count":{"type":"integer","title":"Deleted Count"},"deleted_ids":{"items":{"type":"string"},"type":"array","title":"Deleted Ids"}},"type":"object","required":["status","deleted_count","deleted_ids"],"title":"BatchDeleteActionItemsResponse"},"BatchDeleteMemoriesRequest":{"properties":{"memory_ids":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Memory Ids","description":"Memory IDs to delete in a single batch request"}},"type":"object","required":["memory_ids"],"title":"BatchDeleteMemoriesRequest"},"BatchMigrationRequest":{"properties":{"requests":{"items":{"$ref":"#\/components\/schemas\/MigrationRequest"},"type":"array","title":"Requests"}},"type":"object","required":["requests"],"title":"BatchMigrationRequest"},"BatchMutationResponse":{"properties":{"status":{"type":"string","title":"Status"},"updated_count":{"type":"integer","title":"Updated Count"},"updated_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Updated Ids"},"missing_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Missing Ids"},"noop_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Noop Ids"},"locked_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Locked Ids"}},"type":"object","required":["status","updated_count"],"title":"BatchMutationResponse"},"BatchScoreEntry":{"properties":{"id":{"type":"string","minLength":1,"title":"Id"},"relevance_score":{"type":"integer","maximum":1000,"minimum":0,"title":"Relevance Score"}},"type":"object","required":["id","relevance_score"],"title":"BatchScoreEntry"},"BatchUpdateActionItemEntry":{"properties":{"id":{"type":"string","title":"Id"},"sort_order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sort Order"},"indent_level":{"anyOf":[{"type":"integer","maximum":3,"minimum":0},{"type":"null"}],"title":"Indent Level"}},"type":"object","required":["id"],"title":"BatchUpdateActionItemEntry"},"BatchUpdateActionItemsRequest":{"properties":{"items":{"items":{"$ref":"#\/components\/schemas\/BatchUpdateActionItemEntry"},"type":"array","maxItems":500,"title":"Items"}},"type":"object","required":["items"],"title":"BatchUpdateActionItemsRequest"},"BatchUpdateScoresRequest":{"properties":{"scores":{"items":{"$ref":"#\/components\/schemas\/BatchScoreEntry"},"type":"array","maxItems":500,"title":"Scores"}},"type":"object","required":["scores"],"title":"BatchUpdateScoresRequest"},"BetaAdmissionControlRequest":{"properties":{"promotion_enabled":{"type":"boolean","title":"Promotion Enabled"}},"additionalProperties":false,"type":"object","required":["promotion_enabled"],"title":"BetaAdmissionControlRequest","description":"The operator can pause\/resume only the one server-owned Beta fence."},"BetaBreakglassRequest":{"properties":{"operation":{"type":"string","enum":["rollback","rollout"],"title":"Operation"},"current_release_id":{"type":"string","pattern":"^v[0-9]+\\.[0-9]+(?:\\.[0-9]+)?\\+[1-9][0-9]*-macos$","title":"Current Release Id"},"target_release_id":{"type":"string","pattern":"^v[0-9]+\\.[0-9]+(?:\\.[0-9]+)?\\+[1-9][0-9]*-macos$","title":"Target Release Id"},"expected_generation":{"type":"integer","minimum":0,"title":"Expected Generation"},"actor":{"type":"string","maxLength":128,"minLength":1,"title":"Actor"},"reason":{"type":"string","maxLength":1000,"minLength":1,"title":"Reason"},"incident_url":{"type":"string","pattern":"^https:\/\/github\\.com\/BasedHardware\/omi\/(?:issues|discussions)\/[1-9][0-9]*(?:[\/?#].*)?$","title":"Incident Url"},"request_id":{"type":"string","pattern":"^https:\/\/github\\.com\/BasedHardware\/omi\/actions\/runs\/[1-9][0-9]*\/attempts\/[1-9][0-9]*$","title":"Request Id"},"normal_path_unavailable":{"anyOf":[{"type":"string","maxLength":1000,"minLength":1},{"type":"null"}],"title":"Normal Path Unavailable"}},"additionalProperties":false,"type":"object","required":["operation","current_release_id","target_release_id","expected_generation","actor","reason","incident_url","request_id"],"title":"BetaBreakglassRequest","description":"Bound incident evidence and CAS inputs for one macOS Beta emergency."},"BetaCandidatePromotionRequest":{"properties":{"tag":{"type":"string","pattern":"^v[0-9]+\\.[0-9]+\\.[0-9]+\\+[1-9][0-9]*-macos$","title":"Tag"}},"additionalProperties":false,"type":"object","required":["tag"],"title":"BetaCandidatePromotionRequest","description":"The caller can name one immutable macOS candidate and nothing else."},"Body_auth_callback_apple_post_v1_auth_callback_apple_post":{"properties":{"code":{"type":"string","title":"Code"},"state":{"type":"string","title":"State"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"user":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User"}},"type":"object","required":["code","state"],"title":"Body_auth_callback_apple_post_v1_auth_callback_apple_post"},"Body_auth_token_v1_auth_token_post":{"properties":{"grant_type":{"type":"string","title":"Grant Type"},"code":{"type":"string","title":"Code"},"redirect_uri":{"type":"string","title":"Redirect Uri"},"use_custom_token":{"type":"boolean","title":"Use Custom Token","default":false},"code_verifier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Verifier"}},"type":"object","required":["grant_type","code","redirect_uri"],"title":"Body_auth_token_v1_auth_token_post"},"Body_create_app_v1_apps_post":{"properties":{"app_data":{"type":"string","title":"App Data"},"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["app_data","file"],"title":"Body_create_app_v1_apps_post"},"Body_create_persona_v1_personas_post":{"properties":{"persona_data":{"type":"string","title":"Persona Data"},"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["persona_data","file"],"title":"Body_create_persona_v1_personas_post"},"Body_create_voice_message_stream_v2_voice_messages_post":{"properties":{"files":{"items":{"type":"string","format":"binary"},"type":"array","title":"Files"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"}},"type":"object","required":["files"],"title":"Body_create_voice_message_stream_v2_voice_messages_post"},"Body_import_limitless_data_v1_import_limitless_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_import_limitless_data_v1_import_limitless_post"},"Body_import_transcript_files_v1_import_transcripts_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_import_transcript_files_v1_import_transcripts_post"},"Body_local_dev_custom_token_v1_auth_local_dev_custom_token_post":{"properties":{"uid":{"type":"string","title":"Uid","default":"local-dev-user"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","title":"Body_local_dev_custom_token_v1_auth_local_dev_custom_token_post"},"Body_mcp_authorize_consent_authorize_post":{"properties":{"response_type":{"type":"string","title":"Response Type"},"client_id":{"type":"string","title":"Client Id"},"redirect_uri":{"type":"string","title":"Redirect Uri"},"resource":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource"},"firebase_id_token":{"type":"string","title":"Firebase Id Token"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scope"},"code_challenge":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Challenge"},"code_challenge_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Challenge Method"}},"type":"object","required":["response_type","client_id","redirect_uri","firebase_id_token"],"title":"Body_mcp_authorize_consent_authorize_post"},"Body_migrate_app_owner_v1_apps_migrate_owner_post":{"properties":{"source_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Token"}},"type":"object","title":"Body_migrate_app_owner_v1_apps_migrate_owner_post"},"Body_oauth_token_v1_oauth_token_post":{"properties":{"firebase_id_token":{"type":"string","title":"Firebase Id Token"},"app_id":{"type":"string","title":"App Id"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"csrf_token":{"type":"string","title":"Csrf Token"}},"type":"object","required":["firebase_id_token","app_id","csrf_token"],"title":"Body_oauth_token_v1_oauth_token_post"},"Body_stt_transcribe_v1_stt_transcribe_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"},"diarize":{"type":"boolean","title":"Diarize","default":true}},"type":"object","required":["file"],"title":"Body_stt_transcribe_v1_stt_transcribe_post"},"Body_sync_local_files_v2_v2_sync_local_files_post":{"properties":{"files":{"items":{"type":"string","format":"binary"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"Body_sync_local_files_v2_v2_sync_local_files_post"},"Body_update_app_v1_apps__app_id__patch":{"properties":{"app_data":{"type":"string","title":"App Data"},"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["app_data"],"title":"Body_update_app_v1_apps__app_id__patch"},"Body_update_persona_v1_personas__persona_id__patch":{"properties":{"persona_data":{"type":"string","title":"Persona Data"},"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["persona_data"],"title":"Body_update_persona_v1_personas__persona_id__patch"},"Body_upload_app_thumbnail_endpoint_v1_app_thumbnails_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_app_thumbnail_endpoint_v1_app_thumbnails_post"},"Body_upload_file_chat_v1_files_post":{"properties":{"files":{"items":{"type":"string","format":"binary"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"Body_upload_file_chat_v1_files_post"},"Body_upload_file_chat_v2_files_post":{"properties":{"files":{"items":{"type":"string","format":"binary"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"Body_upload_file_chat_v2_files_post"},"Body_upload_frame_request_v1_frame_requests__request_id__upload_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_frame_request_v1_frame_requests__request_id__upload_post"},"Body_upload_profile_v3_upload_audio_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_profile_v3_upload_audio_post"},"Body_upload_video_frames_chat_v2_files_video_post":{"properties":{"frames":{"items":{"type":"string","format":"binary"},"type":"array","title":"Frames","description":"JPEG or PNG stills sampled from the clip, in time order (at most 48)."},"frame_times":{"type":"string","maxLength":4096,"title":"Frame Times","description":"JSON array of each frame's time in seconds."},"duration_seconds":{"type":"number","maximum":36000,"minimum":0,"title":"Duration Seconds"},"name":{"type":"string","maxLength":255,"title":"Name","default":"video.mov"},"audio":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"Audio","description":"The clip's audio track (m4a\/aac\/ogg), for its transcript."}},"type":"object","required":["frames","frame_times","duration_seconds"],"title":"Body_upload_video_frames_chat_v2_files_video_post"},"BoundaryParticipant":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","title":"BoundaryParticipant"},"BoundarySignal":{"properties":{"kind":{"type":"string","enum":["calendar_event","desktop_meeting","screen_meeting","phone_call","media_playback"],"title":"Kind"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"ended_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ended At"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"meeting_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meeting Link"},"call_controls_detected":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Call Controls Detected"},"call_platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Platform"},"participants":{"items":{"$ref":"#\/components\/schemas\/BoundaryParticipant"},"type":"array","title":"Participants","default":[]},"confidence":{"type":"number","maximum":1,"minimum":0,"title":"Confidence","default":1},"source_device":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Device"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"}},"type":"object","required":["kind","started_at"],"title":"BoundarySignal"},"BudgetChoiceRecord":{"properties":{"period":{"type":"string","title":"Period"},"choice":{"type":"string","enum":["on_device","upgrade"],"title":"Choice"},"dont_ask_again":{"type":"boolean","title":"Dont Ask Again","default":false}},"additionalProperties":false,"type":"object","required":["period","choice"],"title":"BudgetChoiceRecord"},"BudgetChoiceRequest":{"properties":{"period":{"type":"string","title":"Period"},"choice":{"type":"string","enum":["on_device","upgrade"],"title":"Choice"},"dont_ask_again":{"type":"boolean","title":"Dont Ask Again","default":false}},"additionalProperties":false,"type":"object","required":["period","choice"],"title":"BudgetChoiceRequest"},"BudgetChoiceResponse":{"properties":{"period":{"type":"string","title":"Period"},"state":{"type":"string","enum":["managed","unavailable","on_device","held_pending_choice"],"title":"State"},"choice":{"anyOf":[{"$ref":"#\/components\/schemas\/BudgetChoiceRecord"},{"type":"null"}]},"ask":{"type":"boolean","title":"Ask"}},"type":"object","required":["period","state","choice","ask"],"title":"BudgetChoiceResponse"},"BudgetChoiceWriteResponse":{"properties":{"period":{"type":"string","title":"Period"},"choice":{"$ref":"#\/components\/schemas\/BudgetChoiceRecord"},"ask":{"type":"boolean","const":false,"title":"Ask","default":false}},"type":"object","required":["period","choice"],"title":"BudgetChoiceWriteResponse"},"BulkAssignSegmentsRequest":{"properties":{"segment_ids":{"items":{"type":"string"},"type":"array","title":"Segment Ids"},"assign_type":{"type":"string","title":"Assign Type"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value"}},"type":"object","required":["segment_ids","assign_type"],"title":"BulkAssignSegmentsRequest"},"BulkMoveConversationsRequest":{"properties":{"conversation_ids":{"items":{"type":"string"},"type":"array","title":"Conversation Ids"}},"type":"object","required":["conversation_ids"],"title":"BulkMoveConversationsRequest","description":"Request model for moving multiple conversations to a folder."},"BulkMoveConversationsResponse":{"properties":{"status":{"type":"string","title":"Status"},"moved_count":{"type":"integer","title":"Moved Count","default":0}},"type":"object","required":["status"],"title":"BulkMoveConversationsResponse","description":"Response for bulk folder conversation moves."},"ButtonEventRequest":{"properties":{"button_event":{"type":"string","enum":["single_tap","double_tap","long_tap"],"title":"Button Event"},"device_id":{"type":"string","maxLength":128,"minLength":1,"title":"Device Id"},"event_id":{"type":"string","format":"uuid","title":"Event Id","description":"Stable id for the physical gesture across retries"},"timestamp":{"type":"string","format":"date-time","title":"Timestamp"},"session_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1},{"type":"null"}],"title":"Session Id"}},"type":"object","required":["button_event","device_id","event_id","timestamp"],"title":"ButtonEventRequest"},"CalendarCaptureGap":{"properties":{"event_id":{"type":"string","title":"Event Id","description":"Google Calendar event ID"},"title":{"type":"string","title":"Title","description":"Event title\/summary"},"start_time":{"type":"string","format":"date-time","title":"Start Time","description":"Event start time"},"end_time":{"type":"string","format":"date-time","title":"End Time","description":"Event end time"},"status":{"type":"string","title":"Status","description":"Calendar event status","default":"confirmed"},"coverage":{"type":"string","title":"Coverage","description":"Capture coverage verdict","default":"not_captured"}},"type":"object","required":["event_id","title","start_time","end_time"],"title":"CalendarCaptureGap","description":"An accepted calendar event with no overlapping kept conversation."},"CalendarEventLink":{"properties":{"event_id":{"type":"string","title":"Event Id","description":"Google Calendar event ID"},"title":{"type":"string","title":"Title","description":"Calendar event title"},"attendees":{"items":{"type":"string"},"type":"array","title":"Attendees","description":"List of attendee display names for UI","default":[]},"attendee_emails":{"items":{"type":"string"},"type":"array","title":"Attendee Emails","description":"List of attendee email addresses","default":[]},"start_time":{"type":"string","format":"date-time","title":"Start Time","description":"Event start time"},"end_time":{"type":"string","format":"date-time","title":"End Time","description":"Event end time"},"html_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Html Link","description":"Direct link to open event in Google Calendar"}},"type":"object","required":["event_id","title","start_time","end_time"],"title":"CalendarEventLink","description":"Links a conversation to a Google Calendar event."},"CalendarMeetingContext-Input":{"properties":{"calendar_event_id":{"type":"string","title":"Calendar Event Id","description":"System calendar event ID"},"title":{"type":"string","title":"Title","description":"Meeting title from calendar"},"participants":{"items":{"$ref":"#\/components\/schemas\/MeetingParticipant"},"type":"array","title":"Participants","description":"List of meeting participants"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform","description":"Meeting platform (Zoom, Teams, Google Meet, etc.)"},"meeting_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meeting Link","description":"URL to join the meeting"},"start_time":{"type":"string","format":"date-time","title":"Start Time","description":"Meeting start time"},"duration_minutes":{"type":"integer","title":"Duration Minutes","description":"Meeting duration in minutes"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes","description":"Meeting notes\/description from calendar"},"calendar_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Calendar Source","description":"Calendar source (system_calendar, google, outlook, etc.)","default":"system_calendar"},"participant_sources":{"anyOf":[{"$ref":"#\/components\/schemas\/MeetingParticipantSources"},{"type":"null"}],"description":"Participant provenance retained before calendar\/screen context merging"}},"type":"object","required":["calendar_event_id","title","start_time","duration_minutes"],"title":"CalendarMeetingContext","description":"Calendar meeting metadata to provide context for conversation processing"},"CalendarMeetingContext-Output":{"properties":{"calendar_event_id":{"type":"string","title":"Calendar Event Id","description":"System calendar event ID"},"title":{"type":"string","title":"Title","description":"Meeting title from calendar"},"participants":{"items":{"$ref":"#\/components\/schemas\/MeetingParticipant"},"type":"array","title":"Participants","description":"List of meeting participants"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform","description":"Meeting platform (Zoom, Teams, Google Meet, etc.)"},"meeting_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meeting Link","description":"URL to join the meeting"},"start_time":{"type":"string","format":"date-time","title":"Start Time","description":"Meeting start time"},"duration_minutes":{"type":"integer","title":"Duration Minutes","description":"Meeting duration in minutes"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes","description":"Meeting notes\/description from calendar"},"calendar_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Calendar Source","description":"Calendar source (system_calendar, google, outlook, etc.)","default":"system_calendar"},"participant_sources":{"anyOf":[{"$ref":"#\/components\/schemas\/MeetingParticipantSources"},{"type":"null"}],"description":"Participant provenance retained before calendar\/screen context merging"}},"type":"object","required":["calendar_event_id","title","start_time","duration_minutes"],"title":"CalendarMeetingContext","description":"Calendar meeting metadata to provide context for conversation processing"},"CalendarOnboardingResetResponse":{"properties":{"reset":{"type":"boolean","title":"Reset"}},"type":"object","required":["reset"],"title":"CalendarOnboardingResetResponse"},"CalendarOnboardingSkipResponse":{"properties":{"skipped":{"type":"boolean","title":"Skipped"}},"type":"object","required":["skipped"],"title":"CalendarOnboardingSkipResponse"},"CalendarOnboardingStatusResponse":{"properties":{"connected":{"type":"boolean","title":"Connected"},"onboarding_completed":{"type":"boolean","title":"Onboarding Completed"},"needs_reconnect":{"type":"boolean","title":"Needs Reconnect"},"reauth_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reauth Reason"},"state":{"type":"string","title":"State"}},"type":"object","required":["connected","onboarding_completed","needs_reconnect","state"],"title":"CalendarOnboardingStatusResponse"},"CalendarSelection":{"properties":{"account_id":{"type":"string","title":"Account Id"},"calendars":{"items":{"$ref":"#\/components\/schemas\/ReadableCalendar"},"type":"array","title":"Calendars"},"selected_ids":{"items":{"type":"string"},"type":"array","title":"Selected Ids"},"write_calendar_id":{"type":"string","title":"Write Calendar Id","default":"primary"}},"type":"object","required":["account_id","calendars","selected_ids"],"title":"CalendarSelection"},"CalendarSelectionUpdate":{"properties":{"account_id":{"type":"string","maxLength":1024,"minLength":1,"title":"Account Id"},"selected_ids":{"items":{"type":"string","maxLength":1024,"minLength":1},"type":"array","maxItems":25,"minItems":1,"title":"Selected Ids"}},"type":"object","required":["account_id","selected_ids"],"title":"CalendarSelectionUpdate"},"CampaignAttributionResponse":{"properties":{"campaign_id":{"type":"string","title":"Campaign Id"},"state":{"type":"string","title":"State"},"checkout_url":{"type":"string","title":"Checkout Url"},"discount_percent":{"type":"integer","title":"Discount Percent"}},"type":"object","required":["campaign_id","state","checkout_url","discount_percent"],"title":"CampaignAttributionResponse"},"CampaignSnapshotResponse":{"properties":{"campaign_id":{"type":"string","title":"Campaign Id"},"enabled":{"type":"boolean","title":"Enabled"},"referral_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Referral Url"},"qualified_purchases":{"type":"integer","title":"Qualified Purchases"},"milestone_progress":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Milestone Progress"},"earned_months":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Earned Months"},"claimed_months":{"type":"integer","title":"Claimed Months"},"claimable_months":{"type":"integer","title":"Claimable Months"},"reward_status":{"type":"string","title":"Reward Status"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["campaign_id","enabled","qualified_purchases","claimed_months","claimable_months","reward_status"],"title":"CampaignSnapshotResponse"},"CancelSubscriptionRequest":{"properties":{"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"reason_details":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Details"}},"type":"object","title":"CancelSubscriptionRequest"},"CandidateAcceptanceRequest":{"properties":{"summary_item":{"anyOf":[{"$ref":"#\/components\/schemas\/SummaryTaskReference"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"CandidateAcceptanceRequest"},"CandidateAction":{"type":"string","enum":["create","update","complete","cancel","supersede"],"title":"CandidateAction"},"CandidateCompatibilityMetadata":{"properties":{"metadata":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Metadata"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"relevance_score":{"anyOf":[{"type":"integer","maximum":1000,"minimum":0},{"type":"null"}],"title":"Relevance Score"}},"additionalProperties":false,"type":"object","title":"CandidateCompatibilityMetadata","description":"Released-client annotations retained outside the canonical task payload.\n\nStaged-task clients historically supplied these fields for presentation and\nordering. They are carried on the Candidate envelope so the compatibility\nprojection remains lossless without weakening the strict task contract."},"CandidateCreate":{"oneOf":[{"$ref":"#\/components\/schemas\/TaskCandidate"},{"$ref":"#\/components\/schemas\/WorkstreamCreateCandidate"}],"title":"CandidateCreate","description":"Strict request union; each wire arm contains only fields valid for that action.","discriminator":{"propertyName":"subject_kind","mapping":{"task":"#\/components\/schemas\/TaskCandidate","workstream":"#\/components\/schemas\/WorkstreamCreateCandidate"}}},"CandidateListResponse":{"properties":{"candidates":{"items":{"$ref":"#\/components\/schemas\/CandidateRecord"},"type":"array","title":"Candidates"},"has_more":{"type":"boolean","title":"Has More","default":false}},"type":"object","required":["candidates"],"title":"CandidateListResponse"},"CandidateMigrationReport":{"properties":{"workflow_mode":{"$ref":"#\/components\/schemas\/TaskWorkflowMode"},"account_generation":{"type":"integer","minimum":0,"title":"Account Generation"},"dry_run":{"type":"boolean","title":"Dry Run"},"scanned":{"type":"integer","minimum":0,"title":"Scanned"},"created":{"type":"integer","minimum":0,"title":"Created"},"reconciled":{"type":"integer","minimum":0,"title":"Reconciled"},"unchanged":{"type":"integer","minimum":0,"title":"Unchanged"},"failed":{"type":"integer","minimum":0,"title":"Failed"},"failure_ids":{"items":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"type":"array","title":"Failure Ids"},"checkpoint":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Checkpoint"}},"additionalProperties":false,"type":"object","required":["workflow_mode","account_generation","dry_run","scanned","created","reconciled","unchanged","failed","failure_ids"],"title":"CandidateMigrationReport"},"CandidateMigrationRequest":{"properties":{"after_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"After Id"},"limit":{"type":"integer","maximum":500,"minimum":1,"title":"Limit","default":500}},"additionalProperties":false,"type":"object","title":"CandidateMigrationRequest"},"CandidateRecord":{"oneOf":[{"properties":{"subject_kind":{"const":"task"},"proposed_action":{"const":"create"},"task_id":{"type":"null"},"task_change":{"$ref":"#\/components\/schemas\/TaskCreatePayload"},"workstream_proposal":{"type":"null"}},"required":["task_change"]},{"properties":{"subject_kind":{"const":"task"},"proposed_action":{"const":"update"},"task_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"task_change":{"$ref":"#\/components\/schemas\/TaskChangePayload"},"workstream_proposal":{"type":"null"}},"required":["task_change","task_id"]},{"properties":{"subject_kind":{"const":"task"},"proposed_action":{"const":"complete"},"task_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"task_change":{"allOf":[{"$ref":"#\/components\/schemas\/TaskChangePayload"},{"properties":{"status":{"const":"completed"}},"required":["status"]}]},"workstream_proposal":{"type":"null"}},"required":["task_change","task_id"]},{"properties":{"subject_kind":{"const":"task"},"proposed_action":{"const":"cancel"},"task_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"task_change":{"allOf":[{"$ref":"#\/components\/schemas\/TaskChangePayload"},{"properties":{"status":{"const":"cancelled"}},"required":["status"]}]},"workstream_proposal":{"type":"null"}},"required":["task_change","task_id"]},{"properties":{"subject_kind":{"const":"task"},"proposed_action":{"const":"supersede"},"task_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"task_change":{"allOf":[{"$ref":"#\/components\/schemas\/TaskChangePayload"},{"properties":{"status":{"const":"superseded"}},"required":["status","superseded_by"]}]},"workstream_proposal":{"type":"null"}},"required":["task_change","task_id"]},{"properties":{"subject_kind":{"const":"workstream"},"proposed_action":{"const":"create"},"task_id":{"type":"null"},"task_change":{"type":"null"},"workstream_proposal":{"$ref":"#\/components\/schemas\/WorkstreamProposal-Output"}},"required":["workstream_proposal"]}],"properties":{"subject_kind":{"$ref":"#\/components\/schemas\/CandidateSubjectKind"},"proposed_action":{"$ref":"#\/components\/schemas\/CandidateAction"},"task_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Task Id"},"task_change":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskCreatePayload"},{"$ref":"#\/components\/schemas\/TaskChangePayload"},{"type":"null"}],"title":"Task Change"},"workstream_proposal":{"anyOf":[{"$ref":"#\/components\/schemas\/WorkstreamProposal-Output"},{"type":"null"}]},"capture_confidence":{"type":"number","maximum":1,"minimum":0,"title":"Capture Confidence"},"ownership_confidence":{"type":"number","maximum":1,"minimum":0,"title":"Ownership Confidence"},"goal_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Goal Id"},"workstream_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Workstream Id"},"evidence_refs":{"items":{"$ref":"#\/components\/schemas\/EvidenceRef"},"type":"array","minItems":1,"title":"Evidence Refs"},"source_surface":{"type":"string","maxLength":64,"minLength":1,"title":"Source Surface"},"compatibility":{"anyOf":[{"$ref":"#\/components\/schemas\/CandidateCompatibilityMetadata"},{"type":"null"}]},"reminder_origin":{"anyOf":[{"$ref":"#\/components\/schemas\/ReminderOrigin"},{"type":"null"}]},"creation_receipt":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Creation Receipt"},"candidate_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Candidate Id"},"status":{"$ref":"#\/components\/schemas\/CandidateStatus","default":"pending"},"account_generation":{"type":"integer","minimum":0,"title":"Account Generation"},"idempotency_key":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Idempotency Key"},"resolution_reason":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Resolution Reason"},"result_task_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Result Task Id"},"result_workstream_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Result Workstream Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"resolved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Resolved At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"additionalProperties":false,"type":"object","required":["subject_kind","proposed_action","capture_confidence","ownership_confidence","evidence_refs","source_surface","candidate_id","account_generation","idempotency_key","created_at"],"title":"CandidateRecord"},"CandidateResolutionReceipt":{"properties":{"creation_receipt":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Creation Receipt"},"candidate_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Candidate Id"},"status":{"$ref":"#\/components\/schemas\/CandidateStatus"},"receipt_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Receipt Id"},"task_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Task Id"},"workstream_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Workstream Id"},"newly_resolved":{"type":"boolean","title":"Newly Resolved"},"resolved_at":{"type":"string","format":"date-time","title":"Resolved At"}},"additionalProperties":false,"type":"object","required":["candidate_id","status","receipt_id","newly_resolved","resolved_at"],"title":"CandidateResolutionReceipt"},"CandidateResolutionRequest":{"properties":{"reason":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Reason"}},"additionalProperties":false,"type":"object","title":"CandidateResolutionRequest"},"CandidateStatus":{"type":"string","enum":["pending","accepted","rejected","expired"],"title":"CandidateStatus"},"CandidateSubjectKind":{"type":"string","enum":["task","workstream"],"title":"CandidateSubjectKind"},"CanonicalKnowledgeGraphResponse":{"properties":{"nodes":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Nodes"},"edges":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Edges"},"has_more":{"type":"boolean","title":"Has More"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"catalog_nodes":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Catalog Nodes","default":[]}},"type":"object","required":["nodes","edges","has_more"],"title":"CanonicalKnowledgeGraphResponse"},"CaptureEvidenceLineage":{"properties":{"version":{"type":"integer","const":1,"title":"Version","default":1},"capability":{"type":"string","const":"stable_artifact","title":"Capability"},"capture_root":{"type":"string","maxLength":200,"minLength":1,"title":"Capture Root"},"clock_domain":{"type":"string","const":"desktop_session_ms","title":"Clock Domain"},"lineage":{"type":"string","enum":["complete","incomplete"],"title":"Lineage"},"units":{"items":{"$ref":"#\/components\/schemas\/CaptureEvidenceLineageUnit"},"type":"array","maxItems":64,"title":"Units"}},"type":"object","required":["capability","capture_root","clock_domain","lineage","units"],"title":"CaptureEvidenceLineage"},"CaptureEvidenceLineageUnit":{"properties":{"id":{"type":"string","maxLength":64,"minLength":1,"title":"Id"},"start_ms":{"type":"integer","minimum":0,"title":"Start Ms"},"end_ms":{"type":"integer","exclusiveMinimum":0,"title":"End Ms"}},"type":"object","required":["id","start_ms","end_ms"],"title":"CaptureEvidenceLineageUnit"},"CaptureEvidenceMetadata":{"properties":{"version":{"type":"integer","const":1,"title":"Version","default":1},"capability":{"type":"string","enum":["source_position","stable_artifact","unknown"],"title":"Capability"},"coverage":{"anyOf":[{"type":"string","enum":["unknown","incomplete","mapped"]},{"type":"null"}],"title":"Coverage"},"origin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"capture_root":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Capture Root"},"channel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channel"},"clock_epoch":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clock Epoch"},"source_start":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Start"},"source_end":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source End"},"runs":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Runs"},"receipts":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Receipts"},"conflicts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Conflicts"},"proof":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Proof"},"lifetime":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Lifetime"}},"type":"object","required":["capability"],"title":"CaptureEvidenceMetadata","description":"Internal S1 receipt. Missing source positions are explicitly unknown."},"CaptureGroup":{"properties":{"id":{"type":"string","title":"Id"},"primary_id":{"type":"string","title":"Primary Id"},"revision":{"type":"integer","title":"Revision","default":1},"members":{"items":{"$ref":"#\/components\/schemas\/CaptureGroupMember"},"type":"array","title":"Members","default":[]}},"type":"object","required":["id","primary_id"],"title":"CaptureGroup","description":"Conversations from different capture surfaces that recorded one event.\n\nServer-authored by ``database.capture_groups`` only after the captures are\nshown to share speech. ``id`` is the event identity and never changes when\n``primary_id`` (the longest capture) does. Clients present the group as one\nrow and keep every member reachable."},"CaptureGroupMember":{"properties":{"id":{"type":"string","title":"Id"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"}},"type":"object","required":["id"],"title":"CaptureGroupMember"},"CaptureKey":{"properties":{"capture_root":{"type":"string","title":"Capture Root"},"channel":{"type":"string","title":"Channel","default":"default"},"clock_epoch":{"type":"string","title":"Clock Epoch","default":"default"},"device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Id"},"recording_session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recording Session Id"}},"type":"object","required":["capture_root"],"title":"CaptureKey","description":"Identifies one capture stream; the same fields as S1 ``CaptureEvidenceMetadata``."},"CaptureLinkSpec":{"properties":{"type":{"type":"string","const":"captureLink","title":"Type"},"conversation_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Conversation Id"},"moment_timestamp_ms":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Moment Timestamp Ms"},"summary":{"type":"string","maxLength":200,"minLength":1,"title":"Summary"}},"additionalProperties":false,"type":"object","required":["type","conversation_id","summary"],"title":"CaptureLinkSpec"},"CategoryEnum":{"type":"string","enum":["personal","education","health","finance","legal","philosophy","spiritual","science","entrepreneurship","parenting","romantic","travel","inspiration","technology","business","social","work","sports","politics","literature","history","architecture","music","weather","news","entertainment","psychology","real","design","family","economics","environment","other"],"title":"CategoryEnum"},"ChangeRef":{"properties":{"type":{"type":"string","enum":["person","organization","project","conversation","memory","task"],"title":"Type"},"id":{"type":"string","title":"Id"},"label":{"type":"string","title":"Label"}},"type":"object","required":["type","id","label"],"title":"ChangeRef"},"ChannelAvailability":{"properties":{"available":{"type":"boolean","title":"Available"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"waitlisted":{"type":"boolean","title":"Waitlisted","default":false}},"type":"object","required":["available"],"title":"ChannelAvailability","description":"Whether this user may link a channel now, and why not. Content-free."},"ChannelLink":{"properties":{"id":{"type":"string","title":"Id"},"channel":{"type":"string","title":"Channel"},"provider":{"type":"string","title":"Provider"},"external_id":{"type":"string","title":"External Id"},"visible_in_app":{"type":"boolean","title":"Visible In App","default":false},"voice_notes":{"type":"boolean","title":"Voice Notes","default":true},"keep_private_memories_in_app":{"type":"boolean","title":"Keep Private Memories In App","default":true},"insights":{"type":"boolean","title":"Insights","default":false},"display_handle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display Handle"},"linked_at":{"type":"string","format":"date-time","title":"Linked At"}},"type":"object","required":["id","channel","provider","external_id","linked_at"],"title":"ChannelLink"},"ChannelLinkProof":{"properties":{"proof":{"type":"string","title":"Proof"},"kind":{"type":"string","enum":["token","code"],"title":"Kind"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"deep_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deep Link"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"}},"type":"object","required":["proof","kind","expires_at"],"title":"ChannelLinkProof"},"ChannelLinkReceipt":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"ChannelLinkReceipt"},"ChannelLinkRequest":{"properties":{"channel":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[a-z0-9_-]+$","title":"Channel"},"provider":{"type":"string","maxLength":80,"minLength":1,"pattern":"^[a-z0-9_-]+$","title":"Provider"},"kind":{"type":"string","enum":["token","code"],"title":"Kind"}},"type":"object","required":["channel","provider","kind"],"title":"ChannelLinkRequest"},"ChannelLinksResponse":{"properties":{"links":{"items":{"$ref":"#\/components\/schemas\/ChannelLink"},"type":"array","title":"Links"},"availability":{"additionalProperties":{"$ref":"#\/components\/schemas\/ChannelAvailability"},"type":"object","title":"Availability","default":{}}},"type":"object","required":["links"],"title":"ChannelLinksResponse"},"ChannelVisibilityRequest":{"properties":{"visible_in_app":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Visible In App"},"voice_notes":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Voice Notes"},"keep_private_memories_in_app":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Keep Private Memories In App"},"insights":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Insights"}},"type":"object","title":"ChannelVisibilityRequest","description":"Partial per-link settings. Omitted fields stay as stored."},"ChartData":{"properties":{"chart_type":{"type":"string","enum":["line","bar"],"title":"Chart Type"},"title":{"type":"string","title":"Title"},"x_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X Label"},"y_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Y Label"},"datasets":{"items":{"$ref":"#\/components\/schemas\/ChartDataset"},"type":"array","title":"Datasets"}},"type":"object","required":["chart_type","title","datasets"],"title":"ChartData"},"ChartDataPoint":{"properties":{"label":{"type":"string","title":"Label"},"value":{"type":"number","title":"Value"}},"type":"object","required":["label","value"],"title":"ChartDataPoint"},"ChartDataset":{"properties":{"label":{"type":"string","title":"Label"},"data_points":{"items":{"$ref":"#\/components\/schemas\/ChartDataPoint"},"type":"array","title":"Data Points"},"color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color"}},"type":"object","required":["label","data_points"],"title":"ChartDataset"},"ChatAtCap":{"properties":{"state":{"type":"string","const":"paused","title":"State","default":"paused"},"title":{"type":"string","title":"Title"},"body":{"type":"string","title":"Body"},"reset_at":{"type":"integer","title":"Reset At"},"reset_line":{"type":"string","title":"Reset Line"},"trigger":{"type":"string","const":"usage_budget","title":"Trigger","default":"usage_budget"},"upgrade_plan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Upgrade Plan"},"upgrade_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Upgrade Label"}},"type":"object","required":["title","body","reset_at","reset_line"],"title":"ChatAtCap"},"ChatEvidenceEnvelope":{"properties":{"schema_version":{"type":"integer","maximum":2147483647,"minimum":1,"title":"Schema Version","default":1},"request_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Request Id"},"references":{"items":{"$ref":"#\/components\/schemas\/ChatEvidenceReference"},"type":"array","maxItems":24,"title":"References"}},"type":"object","title":"ChatEvidenceEnvelope","description":"Versioned transport envelope for supplemental chat evidence."},"ChatEvidenceReference":{"properties":{"id":{"type":"string","maxLength":256,"minLength":1,"title":"Id"},"kind":{"type":"string","title":"Kind"},"state":{"type":"string","title":"State"},"title":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}],"title":"Title"},"summary":{"anyOf":[{"type":"string","maxLength":600},{"type":"null"}],"title":"Summary"},"conversation_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Conversation Id"},"segment_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Segment Id"},"frame_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Frame Id"},"request_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Request Id"},"start_ms":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Start Ms"},"end_ms":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"End Ms"},"captured_at_ms":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Captured At Ms"},"error_code":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Error Code"},"error_message":{"anyOf":[{"type":"string","maxLength":600},{"type":"null"}],"title":"Error Message"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"}},"type":"object","required":["id","kind","state"],"title":"ChatEvidenceReference","description":"One bounded, optional source reference attached to a chat answer.\n\nThe answer text remains authoritative.  Clients may render these references\nas supplemental chrome, but an unavailable or future reference must never\nmake the answer itself unreadable."},"ChatFileVideo":{"properties":{"duration_seconds":{"type":"number","title":"Duration Seconds"},"frame_times":{"items":{"type":"number"},"type":"array","title":"Frame Times"},"strip_file_id":{"type":"string","title":"Strip File Id","default":""},"strip_times":{"items":{"type":"number"},"type":"array","title":"Strip Times"},"strip_columns":{"type":"integer","title":"Strip Columns","default":0},"strip_cell_width":{"type":"integer","title":"Strip Cell Width","default":0},"strip_cell_height":{"type":"integer","title":"Strip Cell Height","default":0},"transcript":{"type":"string","title":"Transcript","default":""}},"type":"object","required":["duration_seconds"],"title":"ChatFileVideo","description":"A video attachment stored as stills (utils.media.video_frames); the clip itself is not kept.\n\nThe FileChat's own file is the overview contact sheet. The filmstrip holds every sampled\nframe for closer looks at a time window. ``transcript`` is encrypted at rest like chat text."},"ChatFirstBlockValidationReceipt":{"properties":{"accepted":{"type":"boolean","title":"Accepted"},"code":{"type":"string","enum":["accepted","capability_unavailable","generation_mismatch","entity_unavailable","invalid_request"],"title":"Code"},"blocks":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Blocks"}},"additionalProperties":false,"type":"object","required":["accepted","code"],"title":"ChatFirstBlockValidationReceipt"},"ChatFirstSubject":{"properties":{"kind":{"type":"string","enum":["task","goal","capture","cold_start"],"title":"Kind"},"id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Id"}},"additionalProperties":false,"type":"object","required":["kind","id"],"title":"ChatFirstSubject"},"ChatMessageCountResponse":{"properties":{"count":{"type":"integer","title":"Count"}},"type":"object","required":["count"],"title":"ChatMessageCountResponse"},"ChatQuotaUnit":{"type":"string","enum":["questions","cost_usd"],"title":"ChatQuotaUnit"},"ChatRatingResponse":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"ChatRatingResponse"},"ChatSessionResponse":{"properties":{"id":{"type":"string","title":"Id","description":"Unique chat session identifier."},"title":{"type":"string","title":"Title","description":"Display title of the session."},"preview":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preview","description":"Preview text of the latest message, if any."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Session creation timestamp (UTC)."},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Last update timestamp (UTC)."},"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id","description":"App\/plugin the session belongs to; null for main chat."},"plugin_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plugin Id","description":"Mirrors app_id for cross-platform query compatibility."},"message_count":{"type":"integer","title":"Message Count","description":"Number of messages in the session."},"starred":{"type":"boolean","title":"Starred","description":"Whether the user starred the session."},"channel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channel","description":"Messaging channel for a channel session."},"channel_link_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channel Link Id","description":"Link that owns a channel session."},"surface":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Surface","description":"Surface id. Absent means the app surface."}},"type":"object","required":["id","title","created_at","updated_at","message_count","starred"],"title":"ChatSessionResponse","description":"A v2 chat session (multi-session chat with title, preview, starring)."},"ChatTool":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"},"endpoint":{"type":"string","title":"Endpoint"},"method":{"type":"string","title":"Method","default":"POST"},"parameters":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Parameters"},"auth_required":{"type":"boolean","title":"Auth Required","default":true},"status_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Message"},"is_mcp":{"type":"boolean","title":"Is Mcp","default":false},"transport":{"type":"string","title":"Transport","default":"streamable_http"}},"type":"object","required":["name","description","endpoint"],"title":"ChatTool","description":"Definition of a tool that an app provides for chat"},"ChatUsageQuota":{"properties":{"chat_at_cap":{"anyOf":[{"$ref":"#\/components\/schemas\/ChatAtCap"},{"type":"null"}]},"uses_shared_budget":{"type":"boolean","title":"Uses Shared Budget","default":false},"plan":{"type":"string","title":"Plan"},"plan_type":{"type":"string","title":"Plan Type"},"unit":{"$ref":"#\/components\/schemas\/ChatQuotaUnit"},"used":{"type":"number","title":"Used"},"limit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Limit"},"percent":{"type":"number","title":"Percent","default":0},"allowed":{"type":"boolean","title":"Allowed","default":true},"reset_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reset At"},"is_overage_plan":{"type":"boolean","title":"Is Overage Plan","default":false}},"type":"object","required":["plan","plan_type","unit","used"],"title":"ChatUsageQuota"},"CheckVerificationRequest":{"properties":{"phone_number":{"type":"string","title":"Phone Number","description":"Phone number in E.164 format"}},"type":"object","required":["phone_number"],"title":"CheckVerificationRequest"},"CheckVerificationResponse":{"properties":{"verified":{"type":"boolean","title":"Verified"},"phone_number_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone Number Id"}},"type":"object","required":["verified"],"title":"CheckVerificationResponse"},"ChunkSpan":{"properties":{"start":{"type":"number","title":"Start"},"end":{"type":"number","title":"End"}},"type":"object","required":["start","end"],"title":"ChunkSpan","description":"One contiguous stretch of stored PCM, in wall-epoch seconds."},"CleanerMemory":{"properties":{"source_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Source At"},"extracted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Extracted At"},"id":{"type":"string","title":"Id"},"content":{"type":"string","title":"Content"},"category":{"$ref":"#\/components\/schemas\/MemoryCategory"},"category_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category Source"},"reviewed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Reviewed"},"reviewed_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reviewed Source"},"manually_added":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Manually Added"},"manually_added_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manually Added Source"},"memory_default_memory":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Memory Default Memory"},"archive_default_visible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Archive Default Visible"},"policy":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Policy"}},"type":"object","required":["id","content","category"],"title":"CleanerMemory"},"ClearCacheResponse":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether the cache was cleared."},"message":{"type":"string","title":"Message","description":"Human-readable confirmation."}},"type":"object","required":["success","message"],"title":"ClearCacheResponse","description":"Ack for clearing the desktop releases cache."},"ClickUpListsResponse":{"properties":{"lists":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Lists"}},"type":"object","title":"ClickUpListsResponse"},"ClickUpSpacesResponse":{"properties":{"spaces":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Spaces"}},"type":"object","title":"ClickUpSpacesResponse"},"ClickUpTeamsResponse":{"properties":{"teams":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Teams"}},"type":"object","title":"ClickUpTeamsResponse"},"ClientFlag":{"properties":{"key":{"type":"string","title":"Key"},"enabled":{"type":"boolean","title":"Enabled"},"variant":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant","description":"Multivariate value when enabled; null for boolean flags"},"payload_json":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payload Json","description":"JSON-encoded payload when enabled"}},"type":"object","required":["key","enabled"],"title":"ClientFlag"},"ClientFlagsResponse":{"properties":{"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version","description":"Store version; null when the store is unconfigured or unreadable"},"flags":{"items":{"$ref":"#\/components\/schemas\/ClientFlag"},"type":"array","title":"Flags","description":"Only keys the Omi store owns. A key not listed keeps the client's previous source."}},"type":"object","required":["version","flags"],"title":"ClientFlagsResponse"},"ClientProcessing":{"properties":{"schema_version":{"type":"integer","const":1,"title":"Schema Version"},"transcript_sha256":{"type":"string","maxLength":64,"minLength":64,"pattern":"^[a-f0-9]{64}$","title":"Transcript Sha256"},"structure":{"$ref":"#\/components\/schemas\/ProjectedStructure"},"action_items":{"items":{"$ref":"#\/components\/schemas\/ProjectedActionItem"},"type":"array","maxItems":25,"title":"Action Items"},"provenance":{"$ref":"#\/components\/schemas\/ProjectionProvenance"}},"additionalProperties":false,"type":"object","required":["schema_version","transcript_sha256","structure","provenance"],"title":"ClientProcessing"},"ColdStartSequence":{"properties":{"sequence_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Sequence Id"},"step":{"type":"integer","maximum":3,"minimum":1,"title":"Step"}},"additionalProperties":false,"type":"object","required":["sequence_id","step"],"title":"ColdStartSequence","description":"Explicit local-only identity for the fixed sparse cold-start script."},"ColdStartSequenceTerminalReceipt":{"properties":{"sequence_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Sequence Id"},"receipt_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Receipt Id"},"terminal_state":{"type":"string","enum":["completed","abandoned"],"title":"Terminal State"}},"additionalProperties":false,"type":"object","required":["sequence_id","receipt_id","terminal_state"],"title":"ColdStartSequenceTerminalReceipt","description":"A durable local-journal acknowledgement that sparse sequencing ended."},"ConnectorAccess":{"properties":{"client_ids":{"items":{"type":"string"},"type":"array","title":"Client Ids"},"required_scopes":{"items":{"type":"string"},"type":"array","title":"Required Scopes"},"default_scopes":{"items":{"type":"string"},"type":"array","title":"Default Scopes"}},"type":"object","required":["client_ids","required_scopes","default_scopes"],"title":"ConnectorAccess"},"ConnectorSynthesisRequest":{"properties":{"source":{"type":"string","enum":["calendar","gmail","notes"],"title":"Source"},"items":{"items":{"type":"string"},"type":"array","maxItems":200,"minItems":1,"title":"Items"},"existing_memories":{"items":{"type":"string"},"type":"array","maxItems":200,"title":"Existing Memories"}},"additionalProperties":false,"type":"object","required":["source","items"],"title":"ConnectorSynthesisRequest"},"ConnectorSynthesisResponse":{"properties":{"memories":{"items":{"type":"string"},"type":"array","title":"Memories"},"tasks":{"items":{"$ref":"#\/components\/schemas\/ConnectorSynthesisTask"},"type":"array","title":"Tasks"},"profile":{"type":"string","title":"Profile","default":""}},"additionalProperties":false,"type":"object","required":["memories","tasks"],"title":"ConnectorSynthesisResponse"},"ConnectorSynthesisTask":{"properties":{"description":{"type":"string","title":"Description"},"priority":{"type":"string","title":"Priority","default":"medium"},"due_at":{"type":"string","title":"Due At","default":""}},"additionalProperties":false,"type":"object","required":["description"],"title":"ConnectorSynthesisTask"},"ContextMatchSignal":{"type":"string","enum":["app","person","document","meeting","free_time","dependency","agent"],"title":"ContextMatchSignal"},"ContinuationCheckpoint":{"properties":{"runtime_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Runtime Id"},"last_event_sequence":{"type":"integer","minimum":0,"title":"Last Event Sequence"},"context_summary":{"type":"string","maxLength":4000,"title":"Context Summary"},"evidence_refs":{"items":{"$ref":"#\/components\/schemas\/EvidenceRef"},"type":"array","maxItems":50,"title":"Evidence Refs"},"checkpoint_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Checkpoint Id"},"workstream_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Workstream Id"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["runtime_id","last_event_sequence","context_summary","checkpoint_id","workstream_id","updated_at"],"title":"ContinuationCheckpoint"},"ContinuationCheckpointUpsert":{"properties":{"runtime_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Runtime Id"},"last_event_sequence":{"type":"integer","minimum":0,"title":"Last Event Sequence"},"context_summary":{"type":"string","maxLength":4000,"title":"Context Summary"},"evidence_refs":{"items":{"$ref":"#\/components\/schemas\/EvidenceRef"},"type":"array","maxItems":50,"title":"Evidence Refs"}},"additionalProperties":false,"type":"object","required":["runtime_id","last_event_sequence","context_summary"],"title":"ContinuationCheckpointUpsert"},"ConversationActionItemsCountResponse":{"properties":{"total":{"type":"integer","title":"Total"},"completed":{"type":"integer","title":"Completed"},"incomplete":{"type":"integer","title":"Incomplete"}},"type":"object","required":["total","completed","incomplete"],"title":"ConversationActionItemsCountResponse"},"ConversationActionItemsDeleteResponse":{"properties":{"status":{"type":"string","title":"Status"},"deleted_count":{"type":"integer","title":"Deleted Count"}},"type":"object","required":["status","deleted_count"],"title":"ConversationActionItemsDeleteResponse"},"ConversationActionItemsResponse":{"properties":{"action_items":{"items":{"$ref":"#\/components\/schemas\/models__action_item__ActionItemResponse"},"type":"array","title":"Action Items"},"conversation_id":{"type":"string","title":"Conversation Id"}},"type":"object","required":["action_items","conversation_id"],"title":"ConversationActionItemsResponse"},"ConversationAnalytics":{"properties":{"conversation_id":{"type":"string","title":"Conversation Id"},"total_seconds":{"type":"number","title":"Total Seconds"},"total_words":{"type":"integer","title":"Total Words"},"words_per_minute":{"type":"number","title":"Words Per Minute"},"speaker_count":{"type":"integer","title":"Speaker Count"},"speakers":{"items":{"$ref":"#\/components\/schemas\/SpeakerAnalytics"},"type":"array","title":"Speakers","default":[]}},"type":"object","required":["conversation_id","total_seconds","total_words","words_per_minute","speaker_count"],"title":"ConversationAnalytics"},"ConversationAudio":{"properties":{"audio_files_fingerprint":{"type":"string","title":"Audio Files Fingerprint"},"duration":{"type":"number","title":"Duration"},"captured_duration":{"type":"number","title":"Captured Duration"},"spans":{"items":{"$ref":"#\/components\/schemas\/ConversationAudioSpan"},"type":"array","title":"Spans","default":[]},"content_type":{"type":"string","title":"Content Type","default":"audio\/mpeg"},"built_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Built At"}},"type":"object","required":["audio_files_fingerprint","duration","captured_duration"],"title":"ConversationAudio","description":"Stamp for the conversation-level playback artifact (playback\/{uid}\/{conv}\/conversation.mp3).\n\naudio_files_fingerprint identifies the audio_files content the artifact was\nbuilt from; a mismatch with the doc's current audio_files means the artifact\nis stale and must be rebuilt."},"ConversationAudioSpan":{"properties":{"file_id":{"type":"string","title":"File Id"},"wall_offset":{"type":"number","title":"Wall Offset"},"artifact_offset":{"type":"number","title":"Artifact Offset"},"len":{"type":"number","title":"Len"}},"type":"object","required":["file_id","wall_offset","artifact_offset","len"],"title":"ConversationAudioSpan","description":"Maps one captured audio_file part into the dense conversation MP3.\n\nwall_offset is seconds relative to conversation.started_at (the same basis\nas TranscriptSegment.start); artifact_offset is seconds into the MP3. The\n>90s inter-part gaps are collapsed in the artifact, so segment-level seek is\nspan arithmetic: artifact_pos = artifact_offset + (segment.start - wall_offset)."},"ConversationAudioSpanInfo":{"properties":{"file_id":{"type":"string","title":"File Id"},"wall_offset":{"type":"number","title":"Wall Offset"},"artifact_offset":{"type":"number","title":"Artifact Offset"},"len":{"type":"number","title":"Len"}},"type":"object","required":["file_id","wall_offset","artifact_offset","len"],"title":"ConversationAudioSpanInfo"},"ConversationAudioUrlInfo":{"properties":{"status":{"type":"string","title":"Status"},"signed_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signed Url"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"},"duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration"},"captured_duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Captured Duration"},"spans":{"items":{"$ref":"#\/components\/schemas\/ConversationAudioSpanInfo"},"type":"array","title":"Spans","default":[]}},"type":"object","required":["status"],"title":"ConversationAudioUrlInfo"},"ConversationCreateResponse":{"properties":{"status":{"type":"string","title":"Status"},"conversation_id":{"type":"string","title":"Conversation Id"}},"type":"object","required":["status","conversation_id"],"title":"ConversationCreateResponse"},"ConversationFinalizationStatusResponse":{"properties":{"job_id":{"type":"string","title":"Job Id"},"status":{"type":"string","title":"Status"},"terminal":{"type":"boolean","title":"Terminal"},"retryable":{"type":"boolean","title":"Retryable"},"attempt_count":{"type":"integer","title":"Attempt Count"},"task_retry_count":{"type":"integer","title":"Task Retry Count"},"meeting_treatment_eligible":{"type":"boolean","title":"Meeting Treatment Eligible","default":false},"terminal_outcome":{"type":"string","enum":["success","failure","stale","unknown"],"title":"Terminal Outcome","default":"unknown"},"fanout_status":{"type":"string","enum":["pending","leased","completed","fenced","unknown"],"title":"Fanout Status","default":"unknown"}},"type":"object","required":["job_id","status","terminal","retryable","attempt_count","task_retry_count"],"title":"ConversationFinalizationStatusResponse","description":"Customer-visible projection of one durable finalization job."},"ConversationItem":{"properties":{"id":{"type":"string","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"source":{"type":"string","title":"Source"},"structured":{"anyOf":[{"$ref":"#\/components\/schemas\/ConversationItemStructured"},{"type":"null"}]},"transcript_segments":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/ConversationItemTranscriptSegment"},"type":"array"},{"type":"null"}],"title":"Transcript Segments"},"discarded":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Discarded","default":false},"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"external_data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"External Data"},"geolocation":{"anyOf":[{"$ref":"#\/components\/schemas\/ConversationItemGeolocation"},{"type":"null"}]},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},"type":"object","required":["id","created_at","source"],"title":"ConversationItem"},"ConversationItemGeolocation":{"properties":{"google_place_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Google Place Id"},"latitude":{"type":"number","title":"Latitude"},"longitude":{"type":"number","title":"Longitude"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"location_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Type"}},"type":"object","required":["latitude","longitude"],"title":"ConversationItemGeolocation"},"ConversationItemStructured":{"properties":{"title":{"type":"string","title":"Title"},"overview":{"type":"string","title":"Overview"},"emoji":{"type":"string","title":"Emoji","default":"\ud83e\udde0"},"category":{"type":"string","title":"Category","default":"other"},"action_items":{"items":{"$ref":"#\/components\/schemas\/models__integrations__ActionItem"},"type":"array","title":"Action Items"},"events":{"items":{"$ref":"#\/components\/schemas\/models__integrations__Event"},"type":"array","title":"Events"}},"type":"object","required":["title","overview"],"title":"ConversationItemStructured"},"ConversationItemTranscriptSegment":{"properties":{"text":{"type":"string","title":"Text"},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker"},"is_user":{"type":"boolean","title":"Is User","default":false},"person_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Person Id"},"start":{"type":"number","title":"Start","default":0},"end":{"type":"number","title":"End","default":0}},"type":"object","required":["text"],"title":"ConversationItemTranscriptSegment"},"ConversationLinkActionItemSpec":{"properties":{"description":{"type":"string","maxLength":300,"minLength":1,"title":"Description"},"task_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Task Id"}},"additionalProperties":false,"type":"object","required":["description"],"title":"ConversationLinkActionItemSpec"},"ConversationLinkSpec":{"properties":{"type":{"type":"string","const":"conversationLink","title":"Type"},"conversation_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Conversation Id"},"summary":{"type":"string","maxLength":200,"minLength":1,"title":"Summary"},"recommended_action_items":{"items":{"$ref":"#\/components\/schemas\/ConversationLinkActionItemSpec"},"type":"array","maxItems":8,"title":"Recommended Action Items"}},"additionalProperties":false,"type":"object","required":["type","conversation_id","summary"],"title":"ConversationLinkSpec"},"ConversationMutationResponse":{"properties":{"status":{"type":"string","title":"Status"},"conversation":{"$ref":"#\/components\/schemas\/models__conversation__Conversation"}},"type":"object","required":["status","conversation"],"title":"ConversationMutationResponse","description":"Canonical conversation snapshot returned after a user mutation."},"ConversationPhoto":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"base64":{"type":"string","title":"Base64"},"storage_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Storage Id"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"discarded":{"type":"boolean","title":"Discarded","default":false},"data_protection_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Protection Level"}},"type":"object","required":["base64"],"title":"ConversationPhoto"},"ConversationProcessingState":{"type":"string","enum":["local_pending","none"],"title":"ConversationProcessingState","description":"Why a conversation's ``structured`` holds the \u00a71.7 deterministic minimum.\n\nAbsent (``None``) on every conversation the server enriched itself, and on a\nconversation that already carries a ``client_processing`` projection.\nClients check ``client_processing`` FIRST: a projection that arrives after\nthe terminal persist is stamped by its own ingress mutation and does not\nrewrite this field, so a projected conversation may still read\n``local_pending`` and must render the projection regardless.\n\n- ``local_pending``: a capable client is expected to deliver a projection.\n  Render a spinner with a timeout, not a permanent empty state.\n- ``none``: no projection is coming. Render \"Summary unavailable on the\n  free plan\"."},"ConversationRecordingResponse":{"properties":{"has_recording":{"type":"boolean","title":"Has Recording"}},"type":"object","required":["has_recording"],"title":"ConversationRecordingResponse"},"ConversationRef":{"properties":{"conversation_id":{"type":"string","title":"Conversation Id"},"title":{"type":"string","title":"Title"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"duration_seconds":{"type":"integer","title":"Duration Seconds"}},"type":"object","required":["conversation_id","title","started_at","duration_seconds"],"title":"ConversationRef"},"ConversationResponse":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","title":"Status"},"discarded":{"type":"boolean","title":"Discarded"},"meeting_treatment_eligible":{"type":"boolean","title":"Meeting Treatment Eligible","default":false},"processing_deferred":{"type":"boolean","title":"Processing Deferred","default":false}},"type":"object","required":["id","status","discarded"],"title":"ConversationCreateResponse"},"ConversationScreenFrame":{"properties":{"id":{"type":"string","title":"Id"},"captured_at":{"type":"string","format":"date-time","title":"Captured At"},"role":{"type":"string","enum":["banner","strip"],"title":"Role"},"rank":{"type":"integer","maximum":6,"minimum":0,"title":"Rank"},"caption":{"type":"string","maxLength":160,"title":"Caption"},"labels":{"items":{"type":"string"},"type":"array","maxItems":8,"title":"Labels"},"source_badge":{"anyOf":[{"type":"string","enum":["code","browser","document","slides","product"]},{"type":"null"}],"title":"Source Badge"},"focal_region":{"anyOf":[{"$ref":"#\/components\/schemas\/NormalizedRect"},{"type":"null"}]},"width":{"type":"integer","title":"Width"},"height":{"type":"integer","title":"Height"},"content_url":{"type":"string","title":"Content Url"},"thumbnail_url":{"type":"string","title":"Thumbnail Url"},"url_expires_at":{"type":"string","format":"date-time","title":"Url Expires At"},"ground":{"$ref":"#\/components\/schemas\/ScreenFrameGround"}},"type":"object","required":["id","captured_at","role","rank","caption","labels","width","height","content_url","thumbnail_url","url_expires_at","ground"],"title":"ConversationScreenFrame"},"ConversationScreenFrameSet":{"properties":{"revision":{"type":"integer","title":"Revision"},"banner":{"anyOf":[{"$ref":"#\/components\/schemas\/ConversationScreenFrame"},{"type":"null"}]},"strip":{"items":{"$ref":"#\/components\/schemas\/ConversationScreenFrame"},"type":"array","maxItems":6,"title":"Strip"},"adjudicated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Adjudicated At"},"selection_fingerprint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selection Fingerprint"},"trusted_selection_fingerprint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trusted Selection Fingerprint"}},"type":"object","required":["revision"],"title":"ConversationScreenFrameSet"},"ConversationSearchItem":{"properties":{"sync_content_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sync Content Revision"},"sync_relevance":{"anyOf":[{"type":"string","enum":["keep","review"]},{"type":"null"}],"title":"Sync Relevance"},"id":{"type":"string","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"capture_timezone":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Capture Timezone"},"capture_time_trust":{"anyOf":[{"type":"string","const":"untrusted"},{"type":"null"}],"title":"Capture Time Trust"},"recorded_start":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Recorded Start"},"recorded_end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Recorded End"},"arrival_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Arrival At"},"clock":{"anyOf":[{"$ref":"#\/components\/schemas\/RecordedClock"},{"type":"null"}]},"episode_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Episode Id"},"recording":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Recording"},"kind":{"anyOf":[{"type":"string","enum":["conversation","voice_work","media","background"]},{"type":"null"}],"title":"Kind"},"home_hidden":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Home Hidden"},"home_hidden_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Home Hidden Reason"},"tile_state":{"anyOf":[{"type":"string","enum":["live","transcribing","writing","done","failed"]},{"type":"null"}],"title":"Tile State"},"title_locked":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Title Locked"},"recording_pieces":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/RecordingPiece"},"type":"array"},{"type":"null"}],"title":"Recording Pieces"},"manual_end":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Manual End"},"summary_covers_through":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Summary Covers Through"},"live_summary":{"anyOf":[{"$ref":"#\/components\/schemas\/LiveSummaryPreview"},{"type":"null"}]},"processing_tier":{"anyOf":[{"type":"string","const":"historical"},{"type":"null"}],"title":"Processing Tier"},"summary_on_open":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Summary On Open"},"source":{"anyOf":[{"$ref":"#\/components\/schemas\/ConversationSource"},{"type":"null"}],"default":"omi"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"uses_custom_stt":{"type":"boolean","title":"Uses Custom Stt","default":false},"record_audio_partial":{"anyOf":[{"$ref":"#\/components\/schemas\/RecordAudioPartial"},{"type":"null"}]},"structured":{"$ref":"#\/components\/schemas\/Structured"},"client_processing":{"anyOf":[{"$ref":"#\/components\/schemas\/ClientProcessing"},{"type":"null"}]},"processing_state":{"anyOf":[{"$ref":"#\/components\/schemas\/ConversationProcessingState"},{"type":"null"}]},"summary_retryable":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Summary Retryable"},"transcript_segments":{"items":{"$ref":"#\/components\/schemas\/TranscriptSegment"},"type":"array","title":"Transcript Segments","default":[]},"transcript_segments_compressed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Transcript Segments Compressed","default":false},"geolocation":{"anyOf":[{"$ref":"#\/components\/schemas\/Geolocation"},{"type":"null"}]},"photos":{"items":{"$ref":"#\/components\/schemas\/ConversationPhoto"},"type":"array","title":"Photos","default":[]},"audio_files":{"items":{"$ref":"#\/components\/schemas\/AudioFile"},"type":"array","title":"Audio Files","default":[]},"conversation_audio":{"anyOf":[{"$ref":"#\/components\/schemas\/ConversationAudio"},{"type":"null"}]},"private_cloud_sync_enabled":{"type":"boolean","title":"Private Cloud Sync Enabled","default":false},"audio_timeline":{"anyOf":[{"$ref":"#\/components\/schemas\/AudioTimelineProvenance"},{"type":"null"}]},"capture_coverage":{"anyOf":[{"type":"string","enum":["unknown","incomplete","mapped"]},{"type":"null"}],"title":"Capture Coverage"},"excluded_speakers":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Excluded Speakers"},"speaker_resolution":{"anyOf":[{"$ref":"#\/components\/schemas\/ConversationSpeakers"},{"type":"null"}]},"screenshot_sharing_enabled":{"type":"boolean","title":"Screenshot Sharing Enabled","default":true},"apps_results":{"items":{"$ref":"#\/components\/schemas\/AppResult"},"type":"array","title":"Apps Results","default":[]},"suggested_summarization_apps":{"items":{"type":"string"},"type":"array","title":"Suggested Summarization Apps","default":[]},"plugins_results":{"items":{"$ref":"#\/components\/schemas\/PluginResult"},"type":"array","title":"Plugins Results","default":[]},"user_corrections":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"User Corrections"},"user_overview":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Overview"},"external_data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"External Data"},"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"},"capture_group":{"anyOf":[{"$ref":"#\/components\/schemas\/CaptureGroup"},{"type":"null"}]},"content_kind":{"anyOf":[{"type":"string","enum":["conversation","media","noise"]},{"type":"null"}],"title":"Content Kind"},"discarded":{"type":"boolean","title":"Discarded","default":false},"imported":{"type":"boolean","title":"Imported","default":false},"visibility":{"$ref":"#\/components\/schemas\/ConversationVisibility","default":"private"},"starred":{"type":"boolean","title":"Starred","default":false},"processing_memory_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Processing Memory Id"},"processing_conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Processing Conversation Id"},"status":{"anyOf":[{"$ref":"#\/components\/schemas\/ConversationStatus"},{"type":"null"}],"default":"completed"},"is_locked":{"type":"boolean","title":"Is Locked","default":false},"deferred":{"type":"boolean","title":"Deferred","default":false},"processing_deferred":{"type":"boolean","title":"Processing Deferred","default":false},"data_protection_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Protection Level"},"folder_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Folder Id","description":"ID of the folder this conversation belongs to"},"is_call":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Call"},"call_platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Platform"},"calendar_event_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Calendar Event Id"},"geolocation_scope":{"anyOf":[{"type":"string","const":"owner"},{"type":"null"}],"title":"Geolocation Scope"},"other_participants_location":{"anyOf":[{"type":"string","const":"remote"},{"type":"null"}],"title":"Other Participants Location"},"call_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Id","description":"Twilio call SID for phone call conversations"},"calendar_event":{"anyOf":[{"$ref":"#\/components\/schemas\/CalendarEventLink"},{"type":"null"}]},"client_device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Device Id"},"client_platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Platform"},"meeting_treatment_eligible":{"type":"boolean","title":"Meeting Treatment Eligible","default":false},"meeting_treatment_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meeting Treatment Reason"},"meeting_duration_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Meeting Duration S"},"meeting_dedup_speech_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Meeting Dedup Speech S"},"match_snippets":{"items":{"$ref":"#\/components\/schemas\/models__conversation__TranscriptMatchSnippet"},"type":"array","title":"Match Snippets","default":[]}},"type":"object","required":["id","created_at","started_at","finished_at","structured"],"title":"ConversationSearchItem","description":"Search hit: base conversation fields plus optional transcript match evidence."},"ConversationSearchResponse":{"properties":{"conversations":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Conversations"},"search_coverage":{"type":"string","title":"Search Coverage"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["search_coverage"],"title":"ConversationSearchResponse"},"ConversationSource":{"type":"string","enum":["friend","omi","fieldy","bee","plaud","frame","friend_com","apple_watch","phone","phone_call","desktop","openglass","screenpipe","workflow","sdcard","external_integration","limitless","rayban_meta","onboarding","unknown"],"title":"ConversationSource"},"ConversationSpeakers":{"properties":{"status":{"type":"string","enum":["resolved","capture","unavailable"],"title":"Status"},"version":{"type":"integer","title":"Version","default":1},"participant_speaker_ids":{"items":{"type":"integer"},"type":"array","title":"Participant Speaker Ids","default":[]}},"type":"object","required":["status"],"title":"ConversationSpeakers","description":"Server-authored meaning of this conversation's ``speaker_id`` values.\n\n``resolved``: re-diarized from the stored audio, so each ``speaker_id`` is one\nvoice for the whole conversation. ``capture``: one uninterrupted capture\ndiarized it, so capture's ids are that diarization. ``unavailable``: capture\nrestarted its numbering (reconnects, failovers, uploaded chunks) and no\nstored audio could resolve it, so ids are not people and must not be counted.\n``participant_speaker_ids`` lists the voices that spoke enough to count as\nparticipants; it is empty when the status is ``unavailable``."},"ConversationStatus":{"type":"string","enum":["in_progress","processing","merging","completed","failed"],"title":"ConversationStatus"},"ConversationStatusResponse":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"ConversationStatusResponse"},"ConversationSuggestedAppsResponse":{"properties":{"suggested_apps":{"items":{"$ref":"#\/components\/schemas\/App"},"type":"array","title":"Suggested Apps"},"conversation_id":{"type":"string","title":"Conversation Id"}},"type":"object","required":["suggested_apps","conversation_id"],"title":"ConversationSuggestedAppsResponse"},"ConversationSummaryAppIdsResponse":{"properties":{"app_ids":{"items":{"type":"string"},"type":"array","title":"App Ids"}},"type":"object","title":"ConversationSummaryAppIdsResponse"},"ConversationSyncConflictResponse":{"properties":{"status":{"type":"string","const":"conflict","title":"Status","default":"conflict"},"code":{"type":"string","enum":["base_revision_mismatch","mutation_id_reused","revision_unavailable"],"title":"Code"},"client_mutation_id":{"type":"string","title":"Client Mutation Id"},"conversation_id":{"type":"string","title":"Conversation Id"},"conversation":{"anyOf":[{"$ref":"#\/components\/schemas\/ConversationSyncState"},{"type":"null"}]}},"type":"object","required":["code","client_mutation_id","conversation_id"],"title":"ConversationSyncConflictResponse","description":"Typed immutable conflict recorded for a stale mutation attempt."},"ConversationSyncMutationRequest":{"properties":{"client_mutation_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Client Mutation Id"},"base_revision":{"type":"string","format":"date-time","title":"Base Revision"},"operation":{"oneOf":[{"$ref":"#\/components\/schemas\/SetConversationTitleOperation"},{"$ref":"#\/components\/schemas\/SetConversationStarredOperation"}],"title":"Operation","discriminator":{"propertyName":"type","mapping":{"set_starred":"#\/components\/schemas\/SetConversationStarredOperation","set_title":"#\/components\/schemas\/SetConversationTitleOperation"}}}},"additionalProperties":false,"type":"object","required":["client_mutation_id","base_revision","operation"],"title":"ConversationSyncMutationRequest","description":"One immutable client intent against a known canonical revision."},"ConversationSyncMutationResponse":{"properties":{"status":{"type":"string","const":"ok","title":"Status","default":"ok"},"client_mutation_id":{"type":"string","title":"Client Mutation Id"},"conversation_id":{"type":"string","title":"Conversation Id"},"conversation":{"$ref":"#\/components\/schemas\/ConversationSyncState"}},"type":"object","required":["client_mutation_id","conversation_id","conversation"],"title":"ConversationSyncMutationResponse","description":"Durable response replayed byte-for-byte for one mutation id."},"ConversationSyncState":{"properties":{"revision":{"type":"string","format":"date-time","title":"Revision"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"starred":{"type":"boolean","title":"Starred","default":false},"folder_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Folder Id"},"visibility":{"$ref":"#\/components\/schemas\/ConversationVisibility","default":"private"}},"type":"object","required":["revision"],"title":"ConversationSyncState","description":"Compact canonical projection needed to settle an optimistic mutation."},"ConversationTaskPresenceRequest":{"properties":{"conversation_ids":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Conversation Ids"}},"type":"object","required":["conversation_ids"],"title":"ConversationTaskPresenceRequest"},"ConversationTaskPresenceResponse":{"properties":{"presence":{"additionalProperties":{"type":"boolean"},"type":"object","title":"Presence"}},"type":"object","required":["presence"],"title":"ConversationTaskPresenceResponse"},"ConversationTestPromptResponse":{"properties":{"summary":{"type":"string","title":"Summary"}},"type":"object","required":["summary"],"title":"ConversationTestPromptResponse"},"ConversationTopicRequest":{"properties":{"transcript":{"type":"string","maxLength":100000,"minLength":1,"title":"Transcript"},"conversation_language":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Conversation Language"}},"additionalProperties":false,"type":"object","required":["transcript"],"title":"ConversationTopicRequest"},"ConversationTopicResponse":{"properties":{"emoji":{"type":"string","title":"Emoji","default":""},"title":{"type":"string","title":"Title","default":""}},"additionalProperties":false,"type":"object","title":"ConversationTopicResponse"},"ConversationVisibility":{"type":"string","enum":["private","shared","public"],"title":"ConversationVisibility"},"ConversationsCountResponse":{"properties":{"count":{"type":"integer","title":"Count"},"sources":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Sources"}},"type":"object","required":["count"],"title":"ConversationsCountResponse"},"ConversationsLiveResponse":{"properties":{"v3":{"type":"boolean","title":"V3"},"conversation":{"anyOf":[{"$ref":"#\/components\/schemas\/LiveConversation"},{"type":"null"}]}},"type":"object","required":["v3"],"title":"ConversationsLiveResponse"},"ConversationsResponse":{"properties":{"conversations":{"items":{"$ref":"#\/components\/schemas\/ConversationItem"},"type":"array","title":"Conversations","description":"List of user conversations"}},"type":"object","required":["conversations"],"title":"ConversationsResponse"},"CreateAdviceRequest":{"properties":{"content":{"type":"string","maxLength":10000,"minLength":1,"title":"Content"},"category":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Category"},"reasoning":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}],"title":"Reasoning"},"source_app":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Source App"},"confidence":{"type":"number","maximum":1,"minimum":0,"title":"Confidence","default":0.5},"context_summary":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}],"title":"Context Summary"},"current_activity":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Current Activity"}},"type":"object","required":["content"],"title":"CreateAdviceRequest"},"CreateAnnouncementRequest":{"properties":{"id":{"type":"string","title":"Id"},"type":{"$ref":"#\/components\/schemas\/AnnouncementType"},"active":{"type":"boolean","title":"Active","default":true},"app_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Version"},"firmware_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Firmware Version"},"device_models":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Device Models"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"targeting":{"anyOf":[{"$ref":"#\/components\/schemas\/Targeting"},{"type":"null"}]},"display":{"anyOf":[{"$ref":"#\/components\/schemas\/Display"},{"type":"null"}]},"content":{"additionalProperties":true,"type":"object","title":"Content"}},"type":"object","required":["id","type","content"],"title":"CreateAnnouncementRequest","description":"Request body for creating an announcement."},"CreateCalendarEventRequest":{"properties":{"title":{"type":"string","title":"Title","description":"Event title"},"start_time":{"type":"string","format":"date-time","title":"Start Time","description":"ISO date\/time with timezone"},"end_time":{"type":"string","format":"date-time","title":"End Time","description":"ISO date\/time with timezone"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Event description"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location","description":"Event location"},"attendees":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attendees","description":"Comma-separated attendee names or email addresses"}},"type":"object","required":["title","start_time","end_time"],"title":"CreateCalendarEventRequest"},"CreateChatSessionRequest":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Title"},"app_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"App Id"}},"type":"object","title":"CreateChatSessionRequest"},"CreateCheckoutRequest":{"properties":{"price_id":{"type":"string","maxLength":255,"minLength":1,"title":"Price Id"},"promotion_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Promotion Code"},"trial_days":{"anyOf":[{"type":"integer","maximum":30,"minimum":1},{"type":"null"}],"title":"Trial Days"}},"type":"object","required":["price_id"],"title":"CreateCheckoutRequest"},"CreateConversationFromTranscriptRequest":{"properties":{"chunk_index":{"anyOf":[{"type":"integer","maximum":127,"minimum":0},{"type":"null"}],"title":"Chunk Index"},"chunk_count":{"anyOf":[{"type":"integer","maximum":128,"minimum":1},{"type":"null"}],"title":"Chunk Count"},"capture_key":{"anyOf":[{"$ref":"#\/components\/schemas\/CaptureKey"},{"type":"null"}]},"capture_segment_ranges":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/FrameRange"},"type":"array","maxItems":500},{"type":"null"}],"title":"Capture Segment Ranges"},"transcript_segments":{"items":{"$ref":"#\/components\/schemas\/DevTranscriptSegment"},"type":"array","maxItems":500,"minItems":1,"title":"Transcript Segments","description":"List of transcript segments with speaker and timing info"},"client_processing":{"anyOf":[{},{"type":"null"}],"title":"Client Processing","description":"Untrusted client-authored display projection. Accepted as a raw payload and validated in the handler: a malformed projection is dropped and the conversation still lands. Display only \u2014 never an input to intelligence."},"capture_evidence":{"anyOf":[{"$ref":"#\/components\/schemas\/CaptureEvidenceLineage"},{"type":"null"}]},"client_session_id":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Client Session Id","description":"Stable client-generated session ID. When provided, retries return the same conversation ID."},"source":{"anyOf":[{"$ref":"#\/components\/schemas\/ConversationSource"},{"type":"null"}],"description":"Source of the conversation (e.g., omi, friend, openglass, phone, external_integration)","default":"phone"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At","description":"When conversation started (defaults to now)"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At","description":"When conversation finished (calculated from segments duration if not provided)"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language","description":"Language code (ISO 639-1, e.g., 'en', 'es', 'fr')","default":"en"},"geolocation":{"anyOf":[{"$ref":"#\/components\/schemas\/GeolocationInput"},{"type":"null"}],"description":"Geolocation where conversation occurred"},"client_device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Device Id","description":"Capture device id ({platform}_{hash})"},"client_platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Platform","description":"Client platform (ios\/android\/macos)"},"conversation_role":{"type":"string","enum":["ambient","meeting"],"title":"Conversation Role","default":"ambient"},"folder_id":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Folder Id","description":"ID of one of your folders (GET \/v1\/dev\/user\/folders). Files the conversation there instead of letting AI pick a folder."},"calendar_meeting_context":{"anyOf":[{"$ref":"#\/components\/schemas\/DevCalendarMeetingContext"},{"type":"null"}],"description":"Calendar meeting this conversation belongs to. Used as context for the summary and to identify participants, like the meetings Omi reads from a connected calendar."},"conversation_finalization_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Finalization Reason"}},"type":"object","required":["transcript_segments"],"title":"CreateConversationFromTranscriptRequest"},"CreateConversationRequest":{"properties":{"text":{"type":"string","maxLength":100000,"minLength":1,"title":"Text","description":"The conversation text\/transcript"},"text_source":{"$ref":"#\/components\/schemas\/ExternalIntegrationConversationSource","description":"Source type: audio_transcript, message, or other_text","default":"other_text"},"text_source_spec":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text Source Spec","description":"Additional source specification (e.g., 'email', 'slack', 'whatsapp')"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At","description":"When the conversation started (defaults to now)"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At","description":"When the conversation finished (defaults to started_at + 5 minutes)"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language","description":"Language code (ISO 639-1, e.g., 'en', 'es', 'fr')","default":"en"},"geolocation":{"anyOf":[{"$ref":"#\/components\/schemas\/GeolocationInput"},{"type":"null"}],"description":"Geolocation where conversation occurred"}},"type":"object","required":["text"],"title":"CreateConversationRequest"},"CreateConversationResponse":{"properties":{"conversation":{"$ref":"#\/components\/schemas\/models__conversation__Conversation"},"messages":{"items":{"$ref":"#\/components\/schemas\/Message"},"type":"array","title":"Messages","default":[]}},"type":"object","required":["conversation"],"title":"CreateConversationResponse"},"CreateDailySummaryRequest":{"properties":{"date":{"type":"string","title":"Date"}},"type":"object","required":["date"],"title":"CreateDailySummaryRequest"},"CreateFocusSessionRequest":{"properties":{"status":{"type":"string","pattern":"^(focused|distracted)$","title":"Status"},"app_or_site":{"type":"string","maxLength":500,"minLength":1,"title":"App Or Site"},"description":{"type":"string","maxLength":5000,"minLength":1,"title":"Description"},"message":{"anyOf":[{"type":"string","maxLength":5000},{"type":"null"}],"title":"Message"},"duration_seconds":{"anyOf":[{"type":"integer","maximum":86400,"minimum":0},{"type":"null"}],"title":"Duration Seconds"}},"type":"object","required":["status","app_or_site","description"],"title":"CreateFocusSessionRequest"},"CreateFolderRequest":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Description","description":"Natural language instruction for AI (e.g., 'Work meetings and project discussions')"},"color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon"}},"type":"object","required":["name"],"title":"CreateFolderRequest","description":"Request model for creating a new folder."},"CreateFrameRequest":{"properties":{"device_id":{"type":"string","maxLength":256,"minLength":1,"title":"Device Id"},"account_generation":{"type":"integer","minimum":0,"title":"Account Generation","default":0},"dedupe_key":{"type":"string","maxLength":256,"minLength":1,"title":"Dedupe Key"},"conversation_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Conversation Id"},"screenshot_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Screenshot Id"},"requested_ttl_seconds":{"anyOf":[{"type":"integer","maximum":518400,"minimum":1},{"type":"null"}],"title":"Requested Ttl Seconds"}},"additionalProperties":false,"type":"object","required":["device_id","dedupe_key"],"title":"CreateFrameRequest"},"CreateGoalRequest":{"properties":{"title":{"type":"string","maxLength":500,"minLength":1,"title":"Title","description":"The goal title\/description"},"desired_outcome":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Desired Outcome"},"why_it_matters":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Why It Matters"},"success_criteria":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Success Criteria"},"horizon_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Horizon At"},"goal_type":{"anyOf":[{"$ref":"#\/components\/schemas\/models__goal__GoalType"},{"type":"null"}],"description":"Optional metric type"},"target_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Target Value","description":"Optional target value"},"current_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Current Value","description":"Optional current progress"},"min_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Value","description":"Optional minimum scale value"},"max_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Value","description":"Optional maximum scale value"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit","description":"Unit label (e.g., 'users', 'points')"}},"type":"object","required":["title"],"title":"CreateGoalRequest"},"CreateMemoryRequest":{"properties":{"content":{"type":"string","maxLength":500,"minLength":1,"title":"Content","description":"The content of the memory"},"category":{"anyOf":[{"$ref":"#\/components\/schemas\/MemoryCategory"},{"type":"null"}],"description":"Memory category: interesting, system, or manual (auto-categorized if not provided)"},"visibility":{"type":"string","title":"Visibility","description":"Visibility: public or private","default":"private"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","description":"Tags associated with the memory","default":[]}},"type":"object","required":["content"],"title":"CreateMemoryRequest"},"CreatePerson":{"properties":{"name":{"type":"string","maxLength":40,"minLength":2,"title":"Name"}},"type":"object","required":["name"],"title":"CreatePerson"},"CreateReleaseRequest":{"properties":{"version":{"type":"string","minLength":1,"title":"Version"},"build_number":{"type":"integer","minimum":0,"title":"Build Number"},"download_url":{"type":"string","minLength":1,"title":"Download Url"},"manual_download_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manual Download Url"},"ed_signature":{"type":"string","minLength":1,"title":"Ed Signature"},"changelog":{"items":{"type":"string"},"type":"array","title":"Changelog"},"is_live":{"type":"boolean","title":"Is Live","default":false},"is_critical":{"type":"boolean","title":"Is Critical","default":false},"channel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Channel"}},"type":"object","required":["version","build_number","download_url","ed_signature"],"title":"CreateReleaseRequest"},"CreateStagedTaskRequest":{"properties":{"description":{"type":"string","maxLength":5000,"minLength":1,"title":"Description"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"priority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Priority"},"metadata":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Metadata"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"relevance_score":{"anyOf":[{"type":"integer","maximum":1000,"minimum":0},{"type":"null"}],"title":"Relevance Score"}},"type":"object","required":["description"],"title":"CreateStagedTaskRequest"},"CreateTaskRequest":{"properties":{"title":{"type":"string","title":"Title","description":"Task title\/name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Task description\/notes"},"due_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Due Date","description":"Due date in ISO format"}},"type":"object","required":["title"],"title":"CreateTaskRequest","description":"Request to create a task in an integration"},"CreateTaskResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"external_task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Task Id"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["success"],"title":"CreateTaskResponse","description":"Response for task creation"},"CsatConfigResponse":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"title":{"type":"string","title":"Title"},"body":{"type":"string","title":"Body"},"thank_you_text":{"type":"string","title":"Thank You Text"},"refer_cta_text":{"type":"string","title":"Refer Cta Text"},"question_threshold":{"type":"integer","title":"Question Threshold"},"comment_max_score":{"type":"integer","title":"Comment Max Score"},"revision":{"type":"integer","title":"Revision"}},"type":"object","required":["enabled","title","body","thank_you_text","refer_cta_text","question_threshold","comment_max_score","revision"],"title":"CsatConfigResponse"},"CsatRatingReceipt":{"properties":{"id":{"type":"string","title":"Id"},"created":{"type":"boolean","title":"Created"}},"type":"object","required":["id","created"],"title":"CsatRatingReceipt"},"CsatRatingRequest":{"properties":{"platform":{"type":"string","title":"Platform"},"app_version":{"type":"string","title":"App Version","default":""},"score":{"type":"integer","title":"Score"},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment"},"revision":{"type":"integer","title":"Revision","default":0}},"type":"object","required":["platform","score"],"title":"CsatRatingRequest"},"CustomerPortalSessionResponse":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"CustomerPortalSessionResponse"},"DailyScore":{"properties":{"date":{"type":"string","title":"Date","description":"Calendar date the score covers, `YYYY-MM-DD` (UTC)."},"score":{"type":"integer","maximum":100,"minimum":0,"title":"Score","description":"Completion percentage for the day, 0..100 (rounded)."},"completed_tasks":{"type":"integer","minimum":0,"title":"Completed Tasks","description":"Number of completed, non-deleted tasks due that day."},"total_tasks":{"type":"integer","minimum":0,"title":"Total Tasks","description":"Total non-deleted tasks due that day."}},"type":"object","required":["date","score","completed_tasks","total_tasks"],"title":"DailyScore","description":"Single-day productivity score (`get_daily_score`)."},"DailySummariesResponse":{"properties":{"summaries":{"items":{"$ref":"#\/components\/schemas\/DailySummaryResponse"},"type":"array","title":"Summaries"}},"type":"object","title":"DailySummariesResponse"},"DailySummaryActionItem":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"priority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Priority"},"source_conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Conversation Id"},"completed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Completed"}},"type":"object","title":"DailySummaryActionItem"},"DailySummaryDayStats":{"properties":{"total_conversations":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Conversations"},"total_duration_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Duration Minutes"},"action_items_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Action Items Count"},"memories_created":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Memories Created"},"action_items_created":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Action Items Created"},"watching_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Watching Minutes"},"proactive_moments":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Proactive Moments"},"memories_learned_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Memories Learned Count"},"summarized_conversations":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Summarized Conversations"},"watching_minutes_unit":{"type":"string","title":"Watching Minutes Unit","default":"minutes"},"watching_minutes_basis":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Watching Minutes Basis"},"watching_coverage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Watching Coverage"},"reported_device_watching_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reported Device Watching Minutes"}},"type":"object","title":"DailySummaryDayStats"},"DailySummaryDecisionMade":{"properties":{"decision":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decision"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"}},"type":"object","title":"DailySummaryDecisionMade"},"DailySummaryKnowledgeNugget":{"properties":{"insight":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Insight"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"}},"type":"object","title":"DailySummaryKnowledgeNugget"},"DailySummaryLocationPin":{"properties":{"latitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Longitude"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Time"}},"type":"object","title":"DailySummaryLocationPin"},"DailySummaryResponse":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"headline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Headline"},"overview":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Overview"},"day_emoji":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Day Emoji"},"stats":{"anyOf":[{"$ref":"#\/components\/schemas\/DailySummaryDayStats"},{"type":"null"}]},"highlights":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/DailySummaryTopicHighlight"},"type":"array"},{"type":"null"}],"title":"Highlights"},"action_items":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/DailySummaryActionItem"},"type":"array"},{"type":"null"}],"title":"Action Items"},"unresolved_questions":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/DailySummaryUnresolvedQuestion"},"type":"array"},{"type":"null"}],"title":"Unresolved Questions"},"decisions_made":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/DailySummaryDecisionMade"},"type":"array"},{"type":"null"}],"title":"Decisions Made"},"knowledge_nuggets":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/DailySummaryKnowledgeNugget"},"type":"array"},{"type":"null"}],"title":"Knowledge Nuggets"},"memories_learned":{"items":{"$ref":"#\/components\/schemas\/LearnedMemoryRef"},"type":"array","title":"Memories Learned"},"locations":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/DailySummaryLocationPin"},"type":"array"},{"type":"null"}],"title":"Locations"}},"additionalProperties":true,"type":"object","title":"DailySummaryResponse"},"DailySummarySettingsResponse":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"hour":{"type":"integer","title":"Hour"},"depth":{"type":"string","enum":["brief","normal","deep"],"title":"Depth","default":"brief"}},"type":"object","required":["enabled","hour"],"title":"DailySummarySettingsResponse"},"DailySummarySettingsUpdate":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"hour":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Hour"},"depth":{"anyOf":[{"type":"string","enum":["brief","normal","deep"]},{"type":"null"}],"title":"Depth"}},"type":"object","title":"DailySummarySettingsUpdate"},"DailySummarySettingsUpdateResponse":{"properties":{"status":{"type":"string","title":"Status"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"depth":{"anyOf":[{"type":"string","enum":["brief","normal","deep"]},{"type":"null"}],"title":"Depth"}},"type":"object","required":["status"],"title":"DailySummarySettingsUpdateResponse"},"DailySummaryTestResponse":{"properties":{"status":{"type":"string","title":"Status"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"summary_id":{"type":"string","title":"Summary Id"},"conversations_count":{"type":"integer","title":"Conversations Count"}},"type":"object","required":["status","summary_id","conversations_count"],"title":"DailySummaryTestResponse"},"DailySummaryTopicHighlight":{"properties":{"topic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic"},"emoji":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Emoji"},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"conversation_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Conversation Ids"}},"type":"object","title":"DailySummaryTopicHighlight"},"DailySummaryUnresolvedQuestion":{"properties":{"question":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Question"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"}},"type":"object","title":"DailySummaryUnresolvedQuestion"},"DecisionDebugProjection":{"properties":{"projection":{"$ref":"#\/components\/schemas\/WhatMattersNowProjection"},"decisions":{"items":{"$ref":"#\/components\/schemas\/DecisionRecord"},"type":"array","title":"Decisions"}},"additionalProperties":false,"type":"object","required":["projection","decisions"],"title":"DecisionDebugProjection"},"DecisionRecord":{"properties":{"evaluation_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Evaluation Id"},"subject_kind":{"$ref":"#\/components\/schemas\/RecommendationSubjectKind"},"subject_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Subject Id"},"shortlist_ids":{"items":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"type":"array","maxItems":20,"title":"Shortlist Ids"},"facts_snapshot":{"$ref":"#\/components\/schemas\/DeterministicFacts"},"eligibility":{"$ref":"#\/components\/schemas\/ShortlistEligibility"},"prompt_version":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Prompt Version"},"policy_version":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Policy Version"},"fact_definition_version":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Fact Definition Version"},"model_version":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Model Version"},"decision_summary":{"type":"string","maxLength":1024,"title":"Decision Summary"},"reason_codes":{"items":{"type":"string"},"type":"array","maxItems":8,"title":"Reason Codes"},"evidence_refs":{"items":{"$ref":"#\/components\/schemas\/EvidenceRef"},"type":"array","maxItems":50,"title":"Evidence Refs"},"final_output_ref":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Final Output Ref"},"evaluated_at":{"type":"string","format":"date-time","title":"Evaluated At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"additionalProperties":false,"type":"object","required":["evaluation_id","subject_kind","subject_id","shortlist_ids","facts_snapshot","eligibility","prompt_version","policy_version","fact_definition_version","model_version","decision_summary","reason_codes","final_output_ref","evaluated_at","expires_at"],"title":"DecisionRecord","description":"Debug-only audit record. It intentionally contains no prompt or model reasoning."},"DefaultTaskIntegrationRequest":{"properties":{"app_key":{"type":"string","title":"App Key","description":"Task integration app key (e.g., 'asana', 'todoist')"}},"type":"object","required":["app_key"],"title":"DefaultTaskIntegrationRequest","description":"Request to set default task integration"},"DefaultTaskIntegrationResponse":{"properties":{"default_app":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default App","description":"Default task integration app key"}},"type":"object","required":["default_app"],"title":"DefaultTaskIntegrationResponse","description":"Response for default task integration"},"DeferralCreateRequest":{"properties":{"source_surface":{"type":"string","const":"main_chat","title":"Source Surface"},"control_generation":{"type":"integer","minimum":0,"title":"Control Generation"},"owner_fence":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Owner Fence"},"continuity_key":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Continuity Key"},"subject":{"$ref":"#\/components\/schemas\/ChatFirstSubject"},"question":{"$ref":"#\/components\/schemas\/QuestionCardSpec"}},"additionalProperties":false,"type":"object","required":["source_surface","control_generation","owner_fence","continuity_key","subject","question"],"title":"DeferralCreateRequest","description":"The idempotent server receiver for the kernel-owned deferral outbox."},"DeferralReceipt":{"properties":{"deferral_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Deferral Id"},"due_at":{"type":"string","format":"date-time","title":"Due At"},"state":{"type":"string","enum":["pending","released"],"title":"State"}},"additionalProperties":false,"type":"object","required":["deferral_id","due_at","state"],"title":"DeferralReceipt"},"DeleteAccountRequest":{"properties":{"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"reason_details":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Details"},"erase_now":{"type":"boolean","title":"Erase Now","default":false}},"type":"object","title":"DeleteAccountRequest"},"DeleteActionItemRequest":{"properties":{"description":{"type":"string","title":"Description"},"completed":{"type":"boolean","title":"Completed"}},"type":"object","required":["description","completed"],"title":"DeleteActionItemRequest"},"DeleteImportJobResponse":{"properties":{"status":{"type":"string","title":"Status"},"job_id":{"type":"string","title":"Job Id"}},"type":"object","required":["status","job_id"],"title":"DeleteImportJobResponse"},"DeleteKnowledgeGraphResponse":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"DeleteKnowledgeGraphResponse"},"DeleteLimitlessConversationsResponse":{"properties":{"deleted_count":{"type":"integer","title":"Deleted Count"},"message":{"type":"string","title":"Message"}},"type":"object","required":["deleted_count","message"],"title":"DeleteLimitlessConversationsResponse"},"DeleteMessagesResponse":{"properties":{"status":{"type":"string","title":"Status","description":"Human-readable status message, e.g. \"ok\"."},"deleted_count":{"type":"integer","title":"Deleted Count","description":"Number of messages deleted."}},"type":"object","required":["status","deleted_count"],"title":"DeleteMessagesResponse","description":"Ack for ``DELETE \/v2\/desktop\/messages`` \u2014 carries the deleted count."},"DeleteSpaceEntityOperation":{"properties":{"type":{"type":"string","const":"delete","title":"Type"}},"additionalProperties":false,"type":"object","required":["type"],"title":"DeleteSpaceEntityOperation"},"DeletedConversation":{"properties":{"id":{"type":"string","title":"Id"},"deleted_at":{"type":"string","format":"date-time","title":"Deleted At"}},"type":"object","required":["id","deleted_at"],"title":"DeletedConversation"},"DesktopBackendServingObservation":{"properties":{"release_sha":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Release Sha"},"release_channel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Release Channel"},"chat_contract_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Contract Version"},"health_url":{"type":"string","minLength":1,"title":"Health Url"}},"additionalProperties":false,"type":"object","required":["health_url"],"title":"DesktopBackendServingObservation","description":"Live desktop-backend identity observed at pointer transition time."},"DesktopChannelPromotionRequest":{"properties":{"platform":{"type":"string","pattern":"^(macos|windows|linux)$","title":"Platform"},"channel":{"type":"string","pattern":"^(beta|stable)$","title":"Channel"},"release_id":{"type":"string","title":"Release Id"},"expected_generation":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Expected Generation"},"expected_current_release_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected Current Release Id"},"operation":{"type":"string","enum":["promote","repoint"],"title":"Operation","default":"promote"},"serving_backends":{"anyOf":[{"$ref":"#\/components\/schemas\/ServingBackendsObservation"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["platform","channel","release_id"],"title":"DesktopChannelPromotionRequest"},"DesktopDailyUsageRequest":{"properties":{"date":{"type":"string","title":"Date"},"timezone":{"type":"string","title":"Timezone"},"client_device_id":{"type":"string","maxLength":200,"minLength":1,"title":"Client Device Id"},"watching_seconds":{"type":"integer","maximum":86400,"minimum":0,"title":"Watching Seconds"},"listening_seconds":{"type":"integer","maximum":86400,"minimum":0,"title":"Listening Seconds"},"proactive_cards_shown":{"type":"integer","maximum":10000,"minimum":0,"title":"Proactive Cards Shown"},"proactive_cards_acted":{"type":"integer","maximum":10000,"minimum":0,"title":"Proactive Cards Acted"},"ptt_turns":{"type":"integer","maximum":10000,"minimum":0,"title":"Ptt Turns"}},"type":"object","required":["date","timezone","client_device_id","watching_seconds","listening_seconds","proactive_cards_shown","proactive_cards_acted","ptt_turns"],"title":"DesktopDailyUsageRequest"},"DesktopDailyUsageResponse":{"properties":{"ok":{"type":"boolean","title":"Ok"}},"type":"object","required":["ok"],"title":"DesktopDailyUsageResponse"},"DesktopMessageReconcilePageResponse":{"properties":{"messages":{"items":{"$ref":"#\/components\/schemas\/Message"},"type":"array","title":"Messages"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"}},"type":"object","required":["messages","next_cursor","has_more"],"title":"DesktopMessageReconcilePageResponse"},"DesktopPreviewDelistRequest":{"properties":{"expected_generation":{"type":"integer","minimum":0,"title":"Expected Generation"}},"type":"object","required":["expected_generation"],"title":"DesktopPreviewDelistRequest","description":"Compare-and-delete request for a mutable preview landing-page pointer."},"DesktopPreviewPublishRequest":{"properties":{"slug":{"type":"string","title":"Slug"},"source_sha":{"type":"string","title":"Source Sha"},"dmg_url":{"type":"string","title":"Dmg Url"},"dmg_sha256":{"type":"string","title":"Dmg Sha256"},"app_name":{"type":"string","title":"App Name"},"bundle_id":{"type":"string","title":"Bundle Id"},"url_scheme":{"type":"string","title":"Url Scheme"},"built_at":{"type":"string","title":"Built At"},"signer":{"type":"string","title":"Signer"},"notarization":{"type":"string","title":"Notarization"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"backend_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Backend Url"},"expected_generation":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Expected Generation"}},"type":"object","required":["slug","source_sha","dmg_url","dmg_sha256","app_name","bundle_id","url_scheme","built_at","signer","notarization"],"title":"DesktopPreviewPublishRequest","description":"Immutable metadata for a signed desktop preview artifact."},"DesktopPromptSpec":{"properties":{"id":{"type":"string","title":"Id"},"type":{"type":"string","title":"Type"},"question":{"type":"string","title":"Question"},"options":{"items":{"type":"string"},"type":"array","title":"Options","default":[]},"cta_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cta Label"},"cta_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cta Url"},"trigger_kind":{"type":"string","title":"Trigger Kind","default":"app_launch"},"trigger_count":{"type":"integer","title":"Trigger Count","default":0},"max_per_day":{"type":"integer","title":"Max Per Day","default":1}},"type":"object","required":["id","type","question"],"title":"DesktopPromptSpec"},"DesktopPromptsResponse":{"properties":{"prompts":{"items":{"$ref":"#\/components\/schemas\/DesktopPromptSpec"},"type":"array","title":"Prompts"}},"type":"object","required":["prompts"],"title":"DesktopPromptsResponse"},"DesktopUpdatePolicyResponse":{"properties":{"id":{"type":"string","title":"Id","description":"Policy document identifier."},"active":{"type":"boolean","title":"Active","description":"Whether the update banner is active."},"severity":{"type":"string","title":"Severity","description":"Banner severity (none|banner|required)."},"maximum_build_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Maximum Build Number","description":"Max build unaffected by this policy."},"latest_build_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Latest Build Number","description":"Latest available build number."},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Banner title."},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"Banner message body."},"cta_text":{"type":"string","title":"Cta Text","description":"Call-to-action button text.","default":"Download latest"},"download_url":{"type":"string","title":"Download Url","description":"Download URL for the latest release."},"can_dismiss":{"type":"boolean","title":"Can Dismiss","description":"Whether the user can dismiss the banner.","default":true},"platforms":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Platforms","description":"Platforms this policy applies to (empty\/None = all)."}},"type":"object","required":["id","active","severity","download_url"],"title":"DesktopUpdatePolicyResponse","description":"Server-controlled desktop update banner policy."},"DesktopWindowsUpdateFeedResponse":{"properties":{"requested_channel":{"type":"string","enum":["beta","stable"],"title":"Requested Channel"},"served_channel":{"type":"string","enum":["beta","stable"],"title":"Served Channel"},"version":{"type":"string","title":"Version"},"feed_url":{"type":"string","title":"Feed Url"}},"type":"object","required":["requested_channel","served_channel","version","feed_url"],"title":"DesktopWindowsUpdateFeedResponse","description":"Platform-scoped electron-updater feed selected by the backend."},"DeterministicFacts":{"properties":{"days_to_due":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Days To Due"},"someone_blocked":{"type":"boolean","title":"Someone Blocked","default":false},"has_concrete_next_action":{"type":"boolean","title":"Has Concrete Next Action"},"focused_goal_linked":{"type":"boolean","title":"Focused Goal Linked","default":false},"context_match_signals":{"items":{"$ref":"#\/components\/schemas\/ContextMatchSignal"},"type":"array","maxItems":4,"title":"Context Match Signals"},"capture_confidence":{"type":"number","maximum":1,"minimum":0,"title":"Capture Confidence"}},"additionalProperties":false,"type":"object","required":["has_concrete_next_action","capture_confidence"],"title":"DeterministicFacts"},"DevApiKey":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"key_prefix":{"type":"string","title":"Key Prefix"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scopes"}},"type":"object","required":["id","name","key_prefix","created_at"],"title":"DevApiKey"},"DevApiKeyCreate":{"properties":{"name":{"type":"string","title":"Name"},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scopes"}},"type":"object","required":["name"],"title":"DevApiKeyCreate"},"DevApiKeyCreated":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"key_prefix":{"type":"string","title":"Key Prefix"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scopes"},"key":{"type":"string","title":"Key"}},"type":"object","required":["id","name","key_prefix","created_at","key"],"title":"DevApiKeyCreated"},"DevCalendarMeetingContext":{"properties":{"calendar_event_id":{"type":"string","maxLength":1024,"minLength":1,"title":"Calendar Event Id","description":"Event ID in your calendar"},"title":{"type":"string","maxLength":500,"minLength":1,"title":"Title","description":"Meeting title"},"participants":{"items":{"$ref":"#\/components\/schemas\/MeetingParticipant"},"type":"array","maxItems":100,"title":"Participants","description":"Invited participants (name and\/or email)"},"platform":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Platform","description":"Zoom, Teams, Google Meet, in person\u2026"},"meeting_link":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Meeting Link","description":"URL to join the meeting"},"start_time":{"type":"string","format":"date-time","title":"Start Time","description":"Meeting start time"},"duration_minutes":{"type":"integer","maximum":1440,"minimum":0,"title":"Duration Minutes","description":"Meeting duration in minutes"},"notes":{"anyOf":[{"type":"string","maxLength":10000},{"type":"null"}],"title":"Notes","description":"Meeting description from the calendar"}},"type":"object","required":["calendar_event_id","title","start_time","duration_minutes"],"title":"CreateConversationCalendarMeeting","description":"Calendar meeting a developer-API caller attaches to a conversation it uploads"},"DevTranscriptSegment":{"properties":{"stt_provider":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Stt Provider"},"text":{"type":"string","title":"Text","description":"The text spoken in this segment"},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker","description":"Speaker identifier (e.g., 'SPEAKER_00', 'SPEAKER_01')","default":"SPEAKER_00"},"speaker_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Speaker Id","description":"Numeric speaker ID"},"is_user":{"type":"boolean","title":"Is User","description":"Whether this segment is from the user","default":false},"person_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Person Id","description":"ID of person speaking (if known)"},"start":{"type":"number","title":"Start","description":"Start time in seconds (e.g., 0.0, 1.5, 60.2)"},"end":{"type":"number","title":"End","description":"End time in seconds (e.g., 1.5, 3.0, 65.8)"}},"type":"object","required":["text","start","end"],"title":"CreateConversationTranscriptSegment"},"DeveloperAskRequest":{"properties":{"question":{"type":"string","maxLength":1000,"minLength":1,"title":"Question","description":"A natural-language question about the user's life\/conversations"},"limit":{"type":"integer","maximum":10,"minimum":1,"title":"Limit","description":"How many of the most relevant conversations to ground the answer on","default":5},"timezone":{"type":"string","title":"Timezone","description":"IANA timezone used to resolve relative dates in the answer","default":"UTC"}},"type":"object","required":["question"],"title":"DeveloperAskRequest"},"DeveloperAskResponse":{"properties":{"answer":{"type":"string","title":"Answer"},"sources":{"items":{"$ref":"#\/components\/schemas\/DeveloperAskSource"},"type":"array","title":"Sources"}},"type":"object","required":["answer","sources"],"title":"DeveloperAskResponse"},"DeveloperAskSource":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","title"],"title":"DeveloperAskSource"},"DeveloperFolder":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"color":{"type":"string","title":"Color"},"icon":{"type":"string","title":"Icon"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"order":{"type":"integer","title":"Order","default":0},"is_default":{"type":"boolean","title":"Is Default","default":false},"is_system":{"type":"boolean","title":"Is System","default":false},"conversation_count":{"type":"integer","title":"Conversation Count","default":0}},"type":"object","required":["id","name","color","icon","created_at","updated_at"],"title":"DeveloperFolder"},"DeveloperMemory":{"properties":{"id":{"type":"string","title":"Id"},"content":{"type":"string","title":"Content","default":""},"category":{"$ref":"#\/components\/schemas\/MemoryCategory","default":"interesting"},"visibility":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Visibility","default":"private"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"manually_added":{"type":"boolean","title":"Manually Added","default":false},"reviewed":{"type":"boolean","title":"Reviewed","default":false},"user_review":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"User Review"},"edited":{"type":"boolean","title":"Edited","default":false},"scoring":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scoring"}},"type":"object","required":["id"],"title":"DeveloperMemory"},"DeveloperMemoryVectorItem":{"properties":{"id":{"type":"string","title":"Id"},"content":{"type":"string","title":"Content","default":""},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"relevance_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Relevance Score"}},"additionalProperties":true,"type":"object","required":["id"],"title":"DeveloperMemoryVectorItem"},"DeveloperMemoryVectorPolicy":{"properties":{"consumer":{"type":"string","title":"Consumer"},"app_has_default_memory_grant":{"type":"boolean","title":"App Has Default Memory Grant"},"archive_capability":{"type":"boolean","title":"Archive Capability"},"raw_provenance_capability":{"type":"boolean","title":"Raw Provenance Capability"}},"type":"object","required":["consumer","app_has_default_memory_grant","archive_capability","raw_provenance_capability"],"title":"DeveloperMemoryVectorPolicy"},"DeveloperMemoryVectorSearchResponse":{"properties":{"items":{"items":{"$ref":"#\/components\/schemas\/DeveloperMemoryVectorItem"},"type":"array","title":"Items"},"returned_count":{"type":"integer","title":"Returned Count"},"archive_default_visible":{"type":"boolean","title":"Archive Default Visible"},"effective_limit":{"type":"integer","title":"Effective Limit","default":20},"search_coverage":{"type":"string","title":"Search Coverage","default":"eligible_indexed_memories"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"policy":{"$ref":"#\/components\/schemas\/DeveloperMemoryVectorPolicy"}},"type":"object","required":["returned_count","archive_default_visible","policy"],"title":"DeveloperMemoryVectorSearchResponse"},"DeveloperSuccessResponse":{"properties":{"success":{"type":"boolean","title":"Success"}},"type":"object","required":["success"],"title":"DeveloperSuccessResponse"},"DeviceToolResultRequest":{"properties":{"result":{"additionalProperties":true,"type":"object","title":"Result"}},"type":"object","required":["result"],"title":"DeviceToolResultRequest","description":"A client's result for one in-flight device tool call."},"DeviceToolResultResponse":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"DeviceToolResultResponse","description":"Acknowledgement that a device tool result was handed over."},"DiagnosticsBundle":{"properties":{"bundle":{"additionalProperties":true,"type":"object","title":"Bundle"}},"type":"object","required":["bundle"],"title":"DiagnosticsBundle"},"DiagnosticsReceipt":{"properties":{"ticket":{"type":"string","title":"Ticket"}},"type":"object","required":["ticket"],"title":"DiagnosticsReceipt"},"DiagnosticsUpload":{"properties":{"bundle_base64":{"type":"string","maxLength":5600000,"title":"Bundle Base64"}},"type":"object","required":["bundle_base64"],"title":"DiagnosticsUpload"},"DismissAnnouncementRequest":{"properties":{"cta_clicked":{"type":"boolean","title":"Cta Clicked","default":false}},"type":"object","title":"DismissAnnouncementRequest","description":"Request body for dismissing an announcement."},"DismissAnnouncementResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"message":{"type":"string","title":"Message"}},"type":"object","required":["success","message"],"title":"DismissAnnouncementResponse"},"Display":{"properties":{"priority":{"type":"integer","title":"Priority","default":0},"start_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"dismissible":{"type":"boolean","title":"Dismissible","default":true},"show_once":{"type":"boolean","title":"Show Once","default":true}},"type":"object","title":"Display","description":"Controls how\/when the announcement is displayed"},"DreamReportEdit":{"properties":{"kind":{"type":"string","title":"Kind"},"policy":{"type":"string","enum":["auto","suggest"],"title":"Policy","default":"suggest"},"target_label":{"type":"string","title":"Target Label"},"before":{"type":"string","title":"Before"},"after":{"type":"string","title":"After"},"reason":{"type":"string","title":"Reason"},"evidence_count":{"type":"integer","title":"Evidence Count"},"outcome":{"type":"string","enum":["shadow","applied","suppressed","suggest_only","edit_cap","invalid_evidence"],"title":"Outcome"}},"type":"object","required":["kind","target_label","before","after","reason","evidence_count","outcome"],"title":"DreamReportEdit"},"DreamReportFeedback":{"properties":{"component":{"type":"string","title":"Component"},"failure_class":{"type":"string","title":"Failure Class"},"severity":{"type":"string","title":"Severity"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["component","failure_class","severity","count"],"title":"DreamReportFeedback"},"DreamReportQuestion":{"properties":{"kind":{"type":"string","title":"Kind"},"text":{"type":"string","title":"Text"}},"type":"object","required":["kind","text"],"title":"DreamReportQuestion"},"DreamReportTask":{"properties":{"description":{"type":"string","title":"Description"}},"type":"object","required":["description"],"title":"DreamReportTask"},"DreamReportTerm":{"properties":{"policy":{"type":"string","enum":["auto","suggest"],"title":"Policy","default":"auto"},"kind":{"type":"string","title":"Kind"},"spelling":{"type":"string","title":"Spelling"},"aliases":{"items":{"type":"string"},"type":"array","title":"Aliases"}},"type":"object","required":["kind","spelling","aliases"],"title":"DreamReportTerm"},"DreamRun":{"properties":{"run_id":{"type":"string","title":"Run Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"trigger":{"type":"string","enum":["schedule","manual"],"title":"Trigger"},"status":{"type":"string","enum":["complete","failed","deadline","idle"],"title":"Status"},"error_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Type"},"records_read":{"type":"integer","title":"Records Read","default":0},"records_queued_after":{"type":"integer","title":"Records Queued After","default":0},"dirty_dropped":{"type":"integer","title":"Dirty Dropped","default":0},"tokens":{"type":"integer","title":"Tokens","default":0},"cost_usd":{"type":"number","title":"Cost Usd","default":0},"edits":{"items":{"$ref":"#\/components\/schemas\/DreamReportEdit"},"type":"array","title":"Edits"},"questions":{"items":{"$ref":"#\/components\/schemas\/DreamReportQuestion"},"type":"array","title":"Questions"},"slow_tasks":{"items":{"$ref":"#\/components\/schemas\/DreamReportTask"},"type":"array","title":"Slow Tasks"},"vocabulary":{"items":{"$ref":"#\/components\/schemas\/DreamReportTerm"},"type":"array","title":"Vocabulary"},"feedback":{"items":{"$ref":"#\/components\/schemas\/DreamReportFeedback"},"type":"array","title":"Feedback"},"privacy_rejected":{"type":"integer","title":"Privacy Rejected","default":0}},"type":"object","required":["run_id","created_at","trigger","status"],"title":"DreamRun"},"DreamRunRequest":{"properties":{},"additionalProperties":false,"type":"object","title":"DreamRunRequest"},"DreamRunsResponse":{"properties":{"mode":{"type":"string","enum":["shadow","on"],"title":"Mode"},"passes_today":{"type":"integer","title":"Passes Today"},"passes_limit":{"type":"integer","title":"Passes Limit"},"manual_runs_today":{"type":"integer","title":"Manual Runs Today"},"manual_runs_limit":{"type":"integer","title":"Manual Runs Limit"},"queued_changes":{"type":"integer","title":"Queued Changes"},"runs":{"items":{"$ref":"#\/components\/schemas\/DreamRun"},"type":"array","title":"Runs"}},"type":"object","required":["mode","passes_today","passes_limit","manual_runs_today","manual_runs_limit","queued_changes","runs"],"title":"DreamRunsResponse"},"Edit":{"properties":{"kind":{"type":"string","enum":["spelling","title","overview","memory","merge_people","entity_summary","close_task","retire_task","merge_memories"],"title":"Kind","description":"Spelling corrects a misheard or misspelled name or term. Never rewrite grammar, remove filler, or guess unclear speech."},"target":{"type":"string","title":"Target","description":"Supplied record ref to edit, optionally with #segment-id or #start-seconds. One spelling edit fixes every occurrence in its target; with a fragment, only that transcript segment is changed."},"other":{"type":"string","title":"Other","description":"Only the second supplied record ref for merge_people or merge_memories. Empty for every non-merge edit.","default":""},"before":{"type":"string","title":"Before","description":"Exact wrong text as it appears in the target, including its capitalization. For spelling, one edit fixes every occurrence of this text.","default":""},"after":{"type":"string","title":"After","description":"The corrected text, not a record ref. Required and nonempty for spelling, title and overview edits.","default":""},"reason":{"type":"string","maxLength":1000,"minLength":1,"title":"Reason"},"evidence":{"items":{"type":"string"},"type":"array","maxItems":10,"minItems":1,"title":"Evidence"}},"additionalProperties":false,"type":"object","required":["kind","target","reason","evidence"],"title":"Edit"},"EditReceiptBlock":{"properties":{"type":{"type":"string","const":"editReceipt","title":"Type","default":"editReceipt"},"id":{"type":"string","title":"Id"},"receiptId":{"type":"string","title":"Receiptid"},"targetKind":{"type":"string","enum":["conversation","memory","task","person"],"title":"Targetkind"},"action":{"type":"string","enum":["created","updated","deleted","completed","uncompleted","renamed"],"title":"Action"},"targetId":{"type":"string","title":"Targetid"},"summary":{"type":"string","maxLength":300,"minLength":1,"title":"Summary"},"undoable":{"type":"boolean","title":"Undoable","default":true},"undoneAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Undoneat"}},"type":"object","required":["id","receiptId","targetKind","action","targetId","summary"],"title":"EditReceiptBlock","description":"Server-authored write receipt. IDs and URLs never encode item content."},"EmptyResponse":{"properties":{},"type":"object","title":"EmptyResponse","description":"200 response with no body. Use for endpoints that return nothing meaningful."},"EntitiesResponse":{"properties":{"entities":{"items":{"$ref":"#\/components\/schemas\/EntityRef"},"type":"array","title":"Entities"}},"type":"object","required":["entities"],"title":"EntitiesResponse"},"EntityCorrection":{"properties":{"text":{"type":"string","maxLength":2000,"minLength":1,"title":"Text"}},"additionalProperties":false,"type":"object","required":["text"],"title":"EntityCorrection"},"EntityPage":{"properties":{"entity_id":{"type":"string","title":"Entity Id"},"type":{"type":"string","enum":["person","organization","project"],"title":"Type"},"name":{"type":"string","title":"Name"},"subtitle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subtitle"},"organization":{"anyOf":[{"$ref":"#\/components\/schemas\/EntityRef"},{"type":"null"}]},"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"summary_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Summary Updated At"},"people":{"items":{"$ref":"#\/components\/schemas\/EntityRef"},"type":"array","title":"People"},"projects":{"items":{"$ref":"#\/components\/schemas\/EntityRef"},"type":"array","title":"Projects"},"facts":{"items":{"$ref":"#\/components\/schemas\/Fact"},"type":"array","title":"Facts"},"open_tasks":{"items":{"$ref":"#\/components\/schemas\/TaskRef"},"type":"array","title":"Open Tasks"},"decisions":{"items":{"$ref":"#\/components\/schemas\/Fact"},"type":"array","title":"Decisions"},"recent_conversations":{"items":{"$ref":"#\/components\/schemas\/ConversationRef"},"type":"array","title":"Recent Conversations"},"pending_question":{"anyOf":[{"$ref":"#\/components\/schemas\/ReviewItem"},{"type":"null"}]}},"type":"object","required":["entity_id","type","name"],"title":"EntityPage"},"EntityRef":{"properties":{"entity_id":{"type":"string","title":"Entity Id"},"type":{"type":"string","enum":["person","organization","project"],"title":"Type"},"name":{"type":"string","title":"Name"}},"type":"object","required":["entity_id","type","name"],"title":"EntityRef"},"EntitySummary":{"properties":{"entity_id":{"type":"string","title":"Entity Id"},"type":{"type":"string","enum":["person","organization","project"],"title":"Type"},"name":{"type":"string","title":"Name"},"subtitle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subtitle"},"conversation_count":{"type":"integer","minimum":0,"title":"Conversation Count","default":0},"signals":{"items":{"type":"string"},"type":"array","title":"Signals"}},"type":"object","required":["entity_id","type","name"],"title":"EntitySummary"},"Episode":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","enum":["live","closed"],"title":"Status"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"timer_started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timer Started At"},"last_activity_at":{"type":"string","format":"date-time","title":"Last Activity At"},"closed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Closed At"},"close_reason":{"anyOf":[{"type":"string","enum":["user","gap","idle","hard_cap","source_change","calendar_boundary","moved_on"]},{"type":"null"}],"title":"Close Reason"},"title":{"type":"string","title":"Title","default":""},"emoji":{"type":"string","title":"Emoji","default":""},"members":{"items":{"$ref":"#\/components\/schemas\/EpisodeMember"},"type":"array","title":"Members"},"bullets":{"items":{"type":"string"},"type":"array","title":"Bullets"},"lede":{"type":"string","title":"Lede","default":""},"compose_deferred":{"type":"boolean","title":"Compose Deferred","default":false},"follow_ups":{"items":{"type":"string"},"type":"array","title":"Follow Ups"},"people":{"items":{"type":"string"},"type":"array","title":"People"},"provisional_items":{"items":{"$ref":"#\/components\/schemas\/EpisodeProvisionalItem"},"type":"array","title":"Provisional Items"},"moments":{"items":{"$ref":"#\/components\/schemas\/EpisodeMoment"},"type":"array","title":"Moments"},"conversation_ids":{"items":{"type":"string"},"type":"array","title":"Conversation Ids"},"sources":{"items":{"type":"string"},"type":"array","title":"Sources"},"state_updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"State Updated At"}},"type":"object","required":["id","status","started_at","last_activity_at"],"title":"Episode"},"EpisodeListResponse":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"episodes":{"items":{"$ref":"#\/components\/schemas\/Episode"},"type":"array","title":"Episodes"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["enabled"],"title":"EpisodeListResponse"},"EpisodeLiveResponse":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"episode":{"anyOf":[{"$ref":"#\/components\/schemas\/Episode"},{"type":"null"}]},"last_closed_episode":{"anyOf":[{"$ref":"#\/components\/schemas\/Episode"},{"type":"null"}]}},"type":"object","required":["enabled"],"title":"EpisodeLiveResponse","description":"``enabled`` is the server capability: false means today's per-conversation UI."},"EpisodeLookupResponse":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"episode":{"anyOf":[{"$ref":"#\/components\/schemas\/Episode"},{"type":"null"}]}},"type":"object","required":["enabled"],"title":"EpisodeLookupResponse"},"EpisodeMember":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title","default":""},"emoji":{"type":"string","title":"Emoji","default":""},"gist":{"type":"string","title":"Gist","default":""},"home_step":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Home Step"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"status":{"type":"string","title":"Status","default":"completed"}},"type":"object","required":["id","started_at"],"title":"EpisodeMember","description":"Retained member metadata; transcript is hydrated by the existing detail API."},"EpisodeMoment":{"properties":{"id":{"type":"string","title":"Id"},"conversation_id":{"type":"string","title":"Conversation Id"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"ended_at":{"type":"string","format":"date-time","title":"Ended At"},"start_offset":{"type":"number","title":"Start Offset","default":0},"end_offset":{"type":"number","title":"End Offset","default":0},"heading":{"type":"string","title":"Heading","default":""},"points":{"items":{"$ref":"#\/components\/schemas\/EpisodePoint"},"type":"array","title":"Points"}},"type":"object","required":["id","conversation_id","started_at","ended_at"],"title":"EpisodeMoment"},"EpisodePoint":{"properties":{"text":{"type":"string","title":"Text"},"details":{"items":{"type":"string"},"type":"array","title":"Details"}},"type":"object","required":["text"],"title":"EpisodePoint","description":"One point of a composed moment, with optional supporting specifics under it."},"EpisodeProvisionalItem":{"properties":{"id":{"type":"string","title":"Id"},"text":{"type":"string","title":"Text"},"kind":{"type":"string","enum":["task","reminder"],"title":"Kind","default":"task"},"status":{"type":"string","enum":["provisional","kept","dropped","dismissed"],"title":"Status","default":"provisional"},"explicit":{"type":"boolean","title":"Explicit","default":false},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"segment_offset":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Segment Offset"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"action_item_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Action Item Id"}},"type":"object","required":["id","text","created_at"],"title":"EpisodeProvisionalItem"},"EpisodeWrapUpRequest":{"properties":{"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"}},"type":"object","title":"EpisodeWrapUpRequest"},"EvaluationRequest":{"properties":{"device_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Device Id"},"material_hint":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Material Hint"}},"additionalProperties":false,"type":"object","title":"EvaluationRequest"},"Evidence":{"properties":{"evidence_id":{"type":"string","title":"Evidence Id"},"source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Id"},"source_type":{"type":"string","title":"Source Type","default":"unknown"},"artifact_ref":{"additionalProperties":true,"type":"object","title":"Artifact Ref"},"source_signal":{"type":"string","title":"Source Signal","default":"unknown"},"extractor_id":{"type":"string","title":"Extractor Id","default":"unknown"},"extractor_version":{"type":"string","title":"Extractor Version","default":"unknown"},"capture_confidence":{"type":"number","title":"Capture Confidence","default":0.5},"independence_group":{"type":"string","title":"Independence Group"},"redaction_status":{"type":"string","title":"Redaction Status","default":"active"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"client_device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Device Id"},"source_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Version"},"lineage_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lineage Id"},"attribution":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attribution"},"quote_refs":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Quote Refs"},"captured_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Captured At"}},"type":"object","required":["evidence_id","independence_group"],"title":"Evidence"},"EvidenceKind":{"type":"string","enum":["conversation","memory_item","workstream_event","artifact","chat_message","local_screen","external"],"title":"EvidenceKind"},"EvidenceRef":{"properties":{"kind":{"$ref":"#\/components\/schemas\/EvidenceKind"},"id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Id"},"version":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Version"},"scope":{"$ref":"#\/components\/schemas\/EvidenceScope"},"device_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Device Id"},"excerpt_hash":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}],"title":"Excerpt Hash"},"transcript_segment_ids":{"anyOf":[{"items":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"type":"array"},{"type":"null"}],"title":"Transcript Segment Ids"},"start_seconds":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"title":"Start Seconds"},"end_seconds":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"title":"End Seconds"}},"additionalProperties":false,"type":"object","required":["kind","id","scope"],"title":"EvidenceRef"},"EvidenceScope":{"type":"string","enum":["canonical","device_local"],"title":"EvidenceScope"},"ExecuteToolRequest":{"properties":{"tool_name":{"type":"string","title":"Tool Name"},"params":{"additionalProperties":true,"type":"object","title":"Params","default":{}}},"type":"object","required":["tool_name"],"title":"ExecuteToolRequest"},"ExecuteToolResponse":{"properties":{"result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","title":"ExecuteToolResponse"},"ExternalIntegration":{"properties":{"triggers_on":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Triggers On"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url"},"setup_completed_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Setup Completed Url"},"setup_instructions_file_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Setup Instructions File Path"},"is_instructions_url":{"type":"boolean","title":"Is Instructions Url","default":true},"auth_steps":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/AuthStep"},"type":"array"},{"type":"null"}],"title":"Auth Steps"},"app_home_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Home Url"},"actions":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/Action"},"type":"array"},{"type":"null"}],"title":"Actions"},"chat_tools_manifest_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Tools Manifest Url"},"chat_messages_enabled":{"type":"boolean","title":"Chat Messages Enabled","default":false},"chat_messages_target":{"type":"string","enum":["main","app"],"title":"Chat Messages Target","default":"app"},"chat_messages_notify":{"type":"boolean","title":"Chat Messages Notify","default":false},"mcp_server_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mcp Server Url"},"mcp_oauth_tokens":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Mcp Oauth Tokens"}},"type":"object","title":"ExternalIntegration"},"ExternalIntegrationConversationSource":{"type":"string","enum":["audio_transcript","message","other_text"],"title":"ExternalIntegrationConversationSource"},"ExternalIntegrationCreateConversation":{"properties":{"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"text":{"type":"string","title":"Text"},"text_source":{"$ref":"#\/components\/schemas\/ExternalIntegrationConversationSource","default":"audio_transcript"},"text_source_spec":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text Source Spec"},"geolocation":{"anyOf":[{"$ref":"#\/components\/schemas\/Geolocation"},{"type":"null"}]},"source":{"$ref":"#\/components\/schemas\/ConversationSource","default":"workflow"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"},"client_device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Device Id"},"client_platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Platform"}},"type":"object","required":["text"],"title":"ExternalIntegrationCreateConversation"},"ExternalIntegrationCreateMemory":{"properties":{"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text","description":"The original text from which the fact was extracted"},"text_source":{"$ref":"#\/components\/schemas\/ExternalIntegrationMemorySource","description":"The source of the text","default":"other"},"text_source_spec":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text Source Spec","description":"Additional specification about the source"},"source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Id","description":"External source object id for the provided text"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url","description":"External source URL for the provided text"},"artifact_ref":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Artifact Ref","description":"Source-specific provenance pointer for the text"},"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"},"memories":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/ExternalIntegrationMemory"},"type":"array"},{"type":"null"}],"title":"Memories","description":"List of explicit memories(facts) to be created"}},"type":"object","title":"ExternalIntegrationCreateMemory"},"ExternalIntegrationMemory":{"properties":{"content":{"type":"string","title":"Content","description":"The content of the memory (fact)"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags","description":"Tags associated with the memory (fact)"},"source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Id","description":"External source object id for provenance"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url","description":"External source URL for provenance"},"artifact_ref":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Artifact Ref","description":"Source-specific provenance pointer"}},"type":"object","required":["content"],"title":"ExternalIntegrationMemory"},"ExternalIntegrationMemorySource":{"type":"string","enum":["email","social_post","other"],"title":"ExternalIntegrationMemorySource"},"ExtractKnowledgeGraphRequest":{"properties":{"text":{"type":"string","maxLength":100000,"minLength":1,"title":"Text"},"user_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Name"},"include_existing":{"type":"boolean","title":"Include Existing","default":false}},"type":"object","required":["text"],"title":"ExtractKnowledgeGraphRequest"},"ExtractKnowledgeGraphResponse":{"properties":{"nodes":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Nodes"},"edges":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Edges"}},"type":"object","required":["nodes","edges"],"title":"ExtractKnowledgeGraphResponse"},"ExtractMemoryLogRequest":{"properties":{"text":{"type":"string","maxLength":40000,"minLength":1,"title":"Text"},"text_source":{"type":"string","maxLength":64,"minLength":1,"title":"Text Source","default":"memory_log"},"existing_memories":{"items":{"type":"string"},"type":"array","maxItems":200,"title":"Existing Memories"}},"additionalProperties":false,"type":"object","required":["text"],"title":"ExtractMemoryLogRequest"},"ExtractMemoryLogResponse":{"properties":{"memories":{"items":{"type":"string"},"type":"array","title":"Memories"},"profile":{"type":"string","title":"Profile","default":""}},"additionalProperties":false,"type":"object","required":["memories"],"title":"ExtractMemoryLogResponse"},"Fact":{"properties":{"fact_id":{"type":"string","title":"Fact Id"},"text":{"type":"string","title":"Text"},"source":{"$ref":"#\/components\/schemas\/FactSource"}},"type":"object","required":["fact_id","text","source"],"title":"Fact"},"FactSource":{"properties":{"kind":{"type":"string","enum":["conversation","chat","screen","user"],"title":"Kind"},"label":{"type":"string","title":"Label"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"At"}},"type":"object","required":["kind","label"],"title":"FactSource"},"FairUseCaseLookupResponse":{"properties":{"uid":{"type":"string","title":"Uid","description":"User UID who owns the event."},"event_id":{"type":"string","title":"Event Id","description":"Event identifier."}},"additionalProperties":true,"type":"object","required":["uid","event_id"],"title":"FairUseCaseLookupResponse","description":"A fair-use event located by case reference (support team lookup).\n\nThe Firestore event document carries dynamic fields beyond uid\/event_id;\nextra='allow' passes them through without modelling every key."},"FairUseDailyGenerationsBudgetResponse":{"properties":{"daily_limit_ms":{"type":"integer","title":"Daily Limit Ms"},"used_ms":{"type":"integer","title":"Used Ms"},"remaining_ms":{"type":"integer","title":"Remaining Ms"},"exhausted":{"type":"boolean","title":"Exhausted"},"resets_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resets At"}},"type":"object","required":["daily_limit_ms","used_ms","remaining_ms","exhausted"],"title":"FairUseDailyGenerationsBudgetResponse"},"FairUseLimitsResponse":{"properties":{"daily_hours":{"type":"number","title":"Daily Hours"},"three_day_hours":{"type":"number","title":"Three Day Hours"},"weekly_hours":{"type":"number","title":"Weekly Hours"}},"type":"object","required":["daily_hours","three_day_hours","weekly_hours"],"title":"FairUseLimitsResponse"},"FairUseSetStageResponse":{"properties":{"status":{"type":"string","title":"Status","description":"Ack status, e.g. \"updated\"."},"stage":{"type":"string","title":"Stage","description":"The enforcement stage that was set (none|warning|throttle|restrict)."}},"type":"object","required":["status","stage"],"title":"FairUseSetStageResponse","description":"Ack for manual stage update; preserves the stage value."},"FairUseStatusResponse":{"properties":{"stage":{"type":"string","title":"Stage"},"case_ref":{"type":"string","title":"Case Ref"},"speech_hours_today":{"type":"number","title":"Speech Hours Today"},"speech_hours_3day":{"type":"number","title":"Speech Hours 3Day"},"speech_hours_weekly":{"type":"number","title":"Speech Hours Weekly"},"limits":{"$ref":"#\/components\/schemas\/FairUseLimitsResponse"},"usage_pct":{"$ref":"#\/components\/schemas\/FairUseUsagePctResponse"},"dg_budget":{"$ref":"#\/components\/schemas\/FairUseDailyGenerationsBudgetResponse"},"message":{"type":"string","title":"Message"}},"type":"object","required":["stage","case_ref","speech_hours_today","speech_hours_3day","speech_hours_weekly","limits","usage_pct","dg_budget","message"],"title":"FairUseStatusResponse"},"FairUseUsagePctResponse":{"properties":{"daily":{"type":"number","title":"Daily"},"three_day":{"type":"number","title":"Three Day"},"weekly":{"type":"number","title":"Weekly"}},"type":"object","required":["daily","three_day","weekly"],"title":"FairUseUsagePctResponse"},"FairUseUserDetailResponse":{"properties":{"uid":{"type":"string","title":"Uid","description":"User UID."},"state":{"additionalProperties":true,"type":"object","title":"State","description":"Current fair-use state document."},"events":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Events","description":"Recent fair-use events."},"current_speech_ms":{"additionalProperties":{"type":"integer"},"type":"object","title":"Current Speech Ms","description":"Rolling speech usage in milliseconds: daily_ms, three_day_ms, weekly_ms."}},"type":"object","required":["uid","state","events","current_speech_ms"],"title":"FairUseUserDetailResponse","description":"Admin per-user fair-use detail."},"FcmTokenResponse":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"FcmTokenResponse"},"FeedbackContextHydrated":{"properties":{"event_id":{"type":"string","title":"Event Id"},"target_kind":{"$ref":"#\/components\/schemas\/FeedbackTargetKind"},"target_id":{"type":"string","title":"Target Id"},"turns":{"items":{"$ref":"#\/components\/schemas\/FeedbackContextTurnText"},"type":"array","title":"Turns","default":[]},"unavailable":{"items":{"type":"string"},"type":"array","title":"Unavailable","default":[]}},"type":"object","required":["event_id","target_kind","target_id"],"title":"FeedbackContextHydrated","description":"On-demand decryption result for one event's context window."},"FeedbackContextPointer":{"properties":{"event_id":{"type":"string","title":"Event Id"},"uid":{"type":"string","title":"Uid"},"target_kind":{"$ref":"#\/components\/schemas\/FeedbackTargetKind"},"target_id":{"type":"string","title":"Target Id"},"turns":{"items":{"$ref":"#\/components\/schemas\/FeedbackContextTurn"},"type":"array","title":"Turns","default":[]},"follow_up_count":{"type":"integer","title":"Follow Up Count","default":0},"follow_up_window_seconds":{"type":"integer","title":"Follow Up Window Seconds","default":0},"truncated_before":{"type":"boolean","title":"Truncated Before","default":false},"truncated_after":{"type":"boolean","title":"Truncated After","default":false},"resolution_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resolution Error"}},"type":"object","required":["event_id","uid","target_kind","target_id"],"title":"FeedbackContextPointer","description":"The resolved context window for one negative event \u2014 ids only."},"FeedbackContextTurn":{"properties":{"message_id":{"type":"string","title":"Message Id"},"sender":{"type":"string","title":"Sender"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"chat_session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Session Id"},"position":{"type":"string","title":"Position","description":"'before', 'rated', or 'after'"},"seconds_from_rated":{"type":"integer","title":"Seconds From Rated","description":"Signed offset from the rated turn. Negative is before."}},"type":"object","required":["message_id","sender","created_at","position","seconds_from_rated"],"title":"FeedbackContextTurn","description":"A pointer to one turn near the rated one. Carries no text."},"FeedbackContextTurnText":{"properties":{"message_id":{"type":"string","title":"Message Id"},"sender":{"type":"string","title":"Sender"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"position":{"type":"string","title":"Position"},"seconds_from_rated":{"type":"integer","title":"Seconds From Rated"},"text":{"type":"string","title":"Text"}},"type":"object","required":["message_id","sender","created_at","position","seconds_from_rated","text"],"title":"FeedbackContextTurnText","description":"A hydrated turn: pointer plus the decrypted text. Never persisted."},"FeedbackCreate":{"properties":{"subject_kind":{"$ref":"#\/components\/schemas\/FeedbackSubjectKind"},"subject_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Subject Id"},"intervention_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Intervention Id"},"action":{"$ref":"#\/components\/schemas\/TaskIntelligenceFeedbackAction"},"reason":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskIntelligenceFeedbackReason"},{"type":"null"}]},"context_snapshot_hash":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}],"title":"Context Snapshot Hash"},"later_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Later Until"}},"additionalProperties":false,"type":"object","required":["subject_kind","subject_id","action"],"title":"FeedbackCreate"},"FeedbackEvent":{"properties":{"id":{"type":"string","title":"Id"},"uid":{"type":"string","title":"Uid"},"surface":{"$ref":"#\/components\/schemas\/FeedbackSurface"},"target_kind":{"$ref":"#\/components\/schemas\/FeedbackTargetKind"},"target_id":{"type":"string","title":"Target Id"},"value":{"type":"integer","title":"Value","description":"1 = thumbs up, -1 = thumbs down, 0 = rating cleared"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"reason":{"anyOf":[{"$ref":"#\/components\/schemas\/FeedbackReason"},{"$ref":"#\/components\/schemas\/MobileFeedbackReason"},{"type":"null"}],"title":"Reason"},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"},"app_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Version"},"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"},"chat_session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Session Id"},"target_created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Target Created At"},"langsmith_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Langsmith Run Id"},"prompt_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt Name"},"prompt_commit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt Commit"},"feedback_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Feedback Id"},"feedback_kind":{"anyOf":[{"$ref":"#\/components\/schemas\/MobileFeedbackKind"},{"type":"null"}]},"app_build":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Build"},"client_app_namespace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client App Namespace"},"client_app_profile":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client App Profile"},"backend_release":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Backend Release"},"model_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Name"},"model_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model Version"},"trace_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trace Id"},"correlation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Correlation Id"},"related_conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Related Conversation Id"}},"type":"object","required":["id","uid","surface","target_kind","target_id","value","created_at"],"title":"FeedbackEvent","description":"One rating action, as stored. Append-only: a user who flips thumbs-down\nto thumbs-up produces a second event rather than erasing the first, because\nthe moment the answer disappointed them is the thing worth reviewing."},"FeedbackReason":{"type":"string","enum":["too_verbose","incorrect_or_hallucination","not_helpful_or_irrelevant","didnt_follow_instructions","other","not_about_me","already_done","wrong_facts","bad_timing","not_useful"],"title":"FeedbackReason","description":"Structured reason for a thumbs-down.\n\nThe first five match the values the mobile client has always sent to\n`POST \/v1\/users\/analytics\/chat_message`; keeping them identical means the\nledger and the legacy `analytics` rows stay comparable. The remaining five\nare desktop-only reason chips for proactive-notification cards (focus,\ninsight, task, memory) \u2014 a distinct taxonomy from a chat answer's, added\nalongside the mobile five rather than folded into them so neither surface's\ncategories are diluted by the other's."},"FeedbackRecord":{"properties":{"subject_kind":{"$ref":"#\/components\/schemas\/FeedbackSubjectKind"},"subject_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Subject Id"},"intervention_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Intervention Id"},"action":{"$ref":"#\/components\/schemas\/TaskIntelligenceFeedbackAction"},"reason":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskIntelligenceFeedbackReason"},{"type":"null"}]},"context_snapshot_hash":{"anyOf":[{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}],"title":"Context Snapshot Hash"},"later_until":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Later Until"},"feedback_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Feedback Id"},"attribution_chain_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Attribution Chain Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"dedupe_key":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Dedupe Key"},"proposed_completion":{"type":"boolean","title":"Proposed Completion","default":false},"proposed_completion_candidate_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Proposed Completion Candidate Id"}},"additionalProperties":false,"type":"object","required":["subject_kind","subject_id","action","feedback_id","attribution_chain_id","created_at"],"title":"FeedbackRecord"},"FeedbackReport":{"properties":{"date":{"type":"string","title":"Date","description":"UTC calendar date, YYYY-MM-DD"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"total_negative":{"type":"integer","title":"Total Negative"},"counts_by_surface":{"additionalProperties":{"type":"integer"},"type":"object","title":"Counts By Surface","default":{}},"counts_by_reason":{"additionalProperties":{"type":"integer"},"type":"object","title":"Counts By Reason","default":{}},"counts_by_platform":{"additionalProperties":{"type":"integer"},"type":"object","title":"Counts By Platform","default":{}},"entries":{"items":{"$ref":"#\/components\/schemas\/FeedbackReportEntry"},"type":"array","title":"Entries","default":[]},"truncated":{"type":"boolean","title":"Truncated","default":false}},"type":"object","required":["date","generated_at","total_negative"],"title":"FeedbackReport","description":"A materialized daily report. Pointers only \u2014 no conversation text."},"FeedbackReportDatesResponse":{"properties":{"dates":{"items":{"type":"string"},"type":"array","title":"Dates"}},"type":"object","required":["dates"],"title":"FeedbackReportDatesResponse"},"FeedbackReportEntry":{"properties":{"event":{"$ref":"#\/components\/schemas\/FeedbackEvent"},"context":{"$ref":"#\/components\/schemas\/FeedbackContextPointer"}},"type":"object","required":["event","context"],"title":"FeedbackReportEntry","description":"One thumbs-down in a daily report."},"FeedbackReportGenerateResponse":{"properties":{"date":{"type":"string","title":"Date"},"total_negative":{"type":"integer","title":"Total Negative"},"truncated":{"type":"boolean","title":"Truncated"}},"type":"object","required":["date","total_negative","truncated"],"title":"FeedbackReportGenerateResponse"},"FeedbackSubjectKind":{"type":"string","enum":["candidate","task","workstream","artifact","decision"],"title":"FeedbackSubjectKind"},"FeedbackSurface":{"type":"string","enum":["chat_text","chat_voice","conversation_summary","chat_notification","memory","recording_quality"],"title":"FeedbackSurface","description":"Where the rating was given. Distinct from `platform` (macOS\/mobile)."},"FeedbackTargetKind":{"type":"string","enum":["chat_message","conversation","memory","recording"],"title":"FeedbackTargetKind","description":"Which collection `target_id` points into. Drives context resolution."},"FileChat":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"thumbnail":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumbnail","default":""},"mime_type":{"type":"string","title":"Mime Type"},"openai_file_id":{"type":"string","title":"Openai File Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"thumb_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumb Name","default":""},"video":{"anyOf":[{"$ref":"#\/components\/schemas\/ChatFileVideo"},{"type":"null"}]}},"type":"object","required":["id","name","mime_type","openai_file_id","created_at"],"title":"FileChat"},"FirmwareVersionResponse":{"properties":{"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version"},"min_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Min Version"},"min_app_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Min App Version"},"min_app_version_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Min App Version Code"},"zip_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zip Url"},"draft":{"type":"boolean","title":"Draft","default":false},"ota_update_steps":{"items":{"type":"string"},"type":"array","title":"Ota Update Steps"},"is_legacy_secure_dfu":{"type":"boolean","title":"Is Legacy Secure Dfu","default":true},"changelog":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}],"title":"Changelog","default":""}},"type":"object","title":"FirmwareVersionResponse"},"FlaggedUsersResponse":{"properties":{"users":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Users","description":"Users with active enforcement, each a fair-use state dict."},"fair_use_enabled":{"type":"boolean","title":"Fair Use Enabled","description":"Whether fair-use enforcement is globally enabled."}},"type":"object","required":["users","fair_use_enabled"],"title":"FlaggedUsersResponse","description":"Admin dashboard: users with active fair-use enforcement."},"FloatingBarSettings":{"properties":{"voice_answers_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Voice Answers Enabled"},"elevenlabs_voice_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Elevenlabs Voice Id"}},"type":"object","title":"FloatingBarSettings"},"FocusAssistantSettings":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"analysis_prompt":{"anyOf":[{"type":"string","maxLength":10000},{"type":"null"}],"title":"Analysis Prompt"},"cooldown_interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cooldown Interval"},"notifications_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notifications Enabled"},"excluded_apps":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Excluded Apps"}},"type":"object","title":"FocusAssistantSettings"},"FocusDistraction":{"properties":{"app_or_site":{"type":"string","title":"App Or Site","description":"App or website that caused the distraction."},"total_seconds":{"type":"integer","minimum":0,"title":"Total Seconds","description":"Total distracted seconds attributed to this app\/site."},"count":{"type":"integer","minimum":0,"title":"Count","description":"Number of distracted sessions for this app\/site."}},"type":"object","required":["app_or_site","total_seconds","count"],"title":"FocusDistraction","description":"One entry in the top-distractions breakdown of \/v1\/focus-stats."},"FocusSession":{"properties":{"id":{"type":"string","title":"Id","description":"Unique session identifier."},"status":{"type":"string","title":"Status","description":"Session status, \"focused\" or \"distracted\"."},"app_or_site":{"type":"string","title":"App Or Site","description":"App or website the session refers to."},"description":{"type":"string","title":"Description","description":"Free-text description of the session."},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","description":"Optional user message attached to the session."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"When the session was recorded (UTC)."},"duration_seconds":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Duration Seconds","description":"Session duration in seconds, if known."}},"type":"object","required":["id","status","app_or_site","description","created_at"],"title":"FocusSession","description":"A single focus\/distraction session record."},"FocusStats":{"properties":{"date":{"type":"string","title":"Date","description":"The date (YYYY-MM-DD) the stats cover."},"focused_minutes":{"type":"integer","minimum":0,"title":"Focused Minutes","description":"Total focused time, in whole minutes."},"distracted_minutes":{"type":"integer","minimum":0,"title":"Distracted Minutes","description":"Total distracted time, in whole minutes."},"session_count":{"type":"integer","minimum":0,"title":"Session Count","description":"Total number of sessions considered."},"focused_count":{"type":"integer","minimum":0,"title":"Focused Count","description":"Number of focused sessions."},"distracted_count":{"type":"integer","minimum":0,"title":"Distracted Count","description":"Number of distracted sessions."},"top_distractions":{"items":{"$ref":"#\/components\/schemas\/FocusDistraction"},"type":"array","title":"Top Distractions","description":"Up to five most distracting apps\/sites by total distracted seconds."}},"type":"object","required":["date","focused_minutes","distracted_minutes","session_count","focused_count","distracted_count"],"title":"FocusStats","description":"Aggregated focus statistics returned by \/v1\/focus-stats."},"Folder":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Description","description":"Natural language instruction for AI folder assignment (e.g., 'Conversations about AI, machine learning, and building AI-powered apps')"},"color":{"type":"string","title":"Color","default":"#6B7280"},"icon":{"type":"string","title":"Icon","default":"folder"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"order":{"type":"integer","title":"Order","default":0},"is_default":{"type":"boolean","title":"Is Default","default":false},"is_system":{"type":"boolean","title":"Is System","description":"True for category-based default folders","default":false},"category_mapping":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category Mapping","description":"Maps to CategoryEnum value for backwards compatibility"},"conversation_count":{"type":"integer","title":"Conversation Count","default":0}},"type":"object","required":["id","name","created_at","updated_at"],"title":"Folder","description":"A folder for organizing conversations."},"FolderMutationResponse":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"FolderMutationResponse","description":"Status response for folder mutation endpoints."},"FollowupQuestionResponse":{"properties":{"result":{"type":"string","title":"Result","description":"Generated follow-up question prompt text."}},"type":"object","required":["result"],"title":"FollowupQuestionResponse","description":"Response for the Joan follow-up question endpoint (a generated prompt)."},"FrameProcessingRange":{"properties":{"capture_root":{"type":"string","title":"Capture Root"},"clock_epoch":{"type":"integer","title":"Clock Epoch"},"start":{"type":"integer","title":"Start"},"end":{"type":"integer","title":"End"},"status":{"type":"string","enum":["text","empty"],"title":"Status"}},"type":"object","required":["capture_root","clock_epoch","start","end","status"],"title":"FrameProcessingRange"},"FrameRange":{"properties":{"start":{"type":"integer","minimum":0,"title":"Start"},"end":{"type":"integer","title":"End"}},"type":"object","required":["start","end"],"title":"FrameRange"},"FrameRequest":{"properties":{"request_id":{"type":"string","maxLength":128,"minLength":1,"title":"Request Id"},"uid":{"type":"string","maxLength":256,"minLength":1,"title":"Uid"},"device_id":{"type":"string","maxLength":256,"minLength":1,"title":"Device Id"},"account_generation":{"type":"integer","minimum":0,"title":"Account Generation","default":0},"dedupe_key":{"type":"string","maxLength":256,"minLength":1,"title":"Dedupe Key"},"dedupe_window":{"type":"integer","minimum":0,"title":"Dedupe Window","default":0},"attempt_number":{"type":"integer","minimum":0,"title":"Attempt Number","default":0},"conversation_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Conversation Id"},"screenshot_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Screenshot Id"},"state":{"$ref":"#\/components\/schemas\/FrameRequestState","default":"requested"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"claimed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Claimed At"},"uploaded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Uploaded At"},"attached_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Attached At"},"terminal_reason":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Terminal Reason"},"byte_count":{"type":"integer","maximum":10485760,"minimum":0,"title":"Byte Count","default":0},"content_type":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Content Type"},"storage_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Storage Id"},"cleanup_state":{"$ref":"#\/components\/schemas\/FrameRequestCleanupState","default":"not_required"},"cleanup_attempts":{"type":"integer","maximum":1000,"minimum":0,"title":"Cleanup Attempts","default":0},"cleanup_next_attempt_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Cleanup Next Attempt At"}},"additionalProperties":false,"type":"object","required":["request_id","uid","device_id","dedupe_key","created_at","expires_at"],"title":"FrameRequest","description":"Owner-scoped request and its auditable lifecycle state."},"FrameRequestBatch":{"properties":{"requests":{"items":{"$ref":"#\/components\/schemas\/FrameRequest"},"type":"array","maxItems":32,"title":"Requests"}},"additionalProperties":false,"type":"object","title":"FrameRequestBatch"},"FrameRequestCleanupState":{"type":"string","enum":["not_required","pending","failed","deleted","permanent"],"title":"FrameRequestCleanupState","description":"External-pixel deletion state, independent of lifecycle terminality."},"FrameRequestDelivery":{"properties":{"request_id":{"type":"string","title":"Request Id"},"device_id":{"type":"string","title":"Device Id"},"account_generation":{"type":"integer","title":"Account Generation"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"screenshot_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Screenshot Id"},"state":{"type":"string","title":"State"},"expires_at":{"type":"string","title":"Expires At"}},"additionalProperties":false,"type":"object","required":["request_id","device_id","account_generation","state","expires_at"],"title":"FrameRequestDelivery","description":"Metadata-only queue item delivered to the owning desktop device."},"FrameRequestEnvelope":{"properties":{"request":{"$ref":"#\/components\/schemas\/FrameRequest"},"deduplicated":{"type":"boolean","title":"Deduplicated","default":false}},"additionalProperties":false,"type":"object","required":["request"],"title":"FrameRequestEnvelope"},"FrameRequestPromotion":{"properties":{"device_id":{"type":"string","maxLength":256,"minLength":1,"title":"Device Id"},"account_generation":{"type":"integer","minimum":0,"title":"Account Generation","default":0},"conversation_id":{"type":"string","maxLength":256,"minLength":1,"title":"Conversation Id"}},"additionalProperties":false,"type":"object","required":["device_id","conversation_id"],"title":"FrameRequestPromotion"},"FrameRequestState":{"type":"string","enum":["requested","claimed","uploaded","attached","offline","pruned","failed","expired","cancelled"],"title":"FrameRequestState"},"FrameRequestStateUpdate":{"properties":{"state":{"$ref":"#\/components\/schemas\/FrameRequestState"},"device_id":{"type":"string","maxLength":256,"minLength":1,"title":"Device Id"},"account_generation":{"type":"integer","minimum":0,"title":"Account Generation","default":0},"terminal_reason":{"anyOf":[{"type":"string","maxLength":240},{"type":"null"}],"title":"Terminal Reason"},"storage_id":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Storage Id"},"byte_count":{"type":"integer","maximum":10485760,"minimum":0,"title":"Byte Count","default":0},"content_type":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Content Type"}},"additionalProperties":false,"type":"object","required":["state","device_id"],"title":"FrameRequestStateUpdate"},"FullConversation":{"properties":{"id":{"type":"string","title":"Id"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"structured":{"$ref":"#\/components\/schemas\/routers__mcp__SimpleStructured"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"apps_results":{"items":{"$ref":"#\/components\/schemas\/AppResult"},"type":"array","title":"Apps Results","default":[]},"match_snippets":{"items":{"$ref":"#\/components\/schemas\/routers__mcp__TranscriptMatchSnippet"},"type":"array","title":"Match Snippets","default":[]},"participants_included":{"type":"boolean","title":"Participants Included","default":false},"participants":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Participants"},"person_ids":{"items":{"type":"string"},"type":"array","title":"Person Ids"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"is_call":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Call"},"call_platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Platform"},"calendar_event_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Calendar Event Id"},"transcript_segments":{"items":{"$ref":"#\/components\/schemas\/routers__mcp__SimpleTranscriptSegment"},"type":"array","title":"Transcript Segments","default":[]},"truncated":{"type":"boolean","title":"Truncated","default":false}},"type":"object","required":["id","started_at","finished_at","structured"],"title":"FullConversation"},"GenerateAppIconRequest":{"properties":{"name":{"type":"string","title":"Name","default":""},"description":{"type":"string","title":"Description","default":""},"category":{"type":"string","title":"Category","default":"other"}},"type":"object","title":"GenerateAppIconRequest"},"GenerateAppRequest":{"properties":{"prompt":{"type":"string","title":"Prompt","default":""}},"type":"object","title":"GenerateAppRequest"},"GenerateDescriptionEmojiRequest":{"properties":{"name":{"type":"string","title":"Name"},"prompt":{"type":"string","title":"Prompt"}},"type":"object","required":["name","prompt"],"title":"GenerateDescriptionEmojiRequest"},"GenerateDescriptionRequest":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"}},"type":"object","required":["name","description"],"title":"GenerateDescriptionRequest"},"GenerateReplyRequest":{"properties":{"text":{"type":"string","maxLength":100000,"minLength":1,"title":"Text"},"history":{"items":{"$ref":"#\/components\/schemas\/GenerateReplyTurn"},"type":"array","maxItems":50,"title":"History"},"app_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"App Id"}},"type":"object","required":["text"],"title":"GenerateReplyRequest"},"GenerateReplyResponse":{"properties":{"text":{"type":"string","title":"Text"},"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"}},"type":"object","required":["text"],"title":"GenerateReplyResponse"},"GenerateReplyTurn":{"properties":{"text":{"type":"string","maxLength":100000,"minLength":1,"title":"Text"},"sender":{"$ref":"#\/components\/schemas\/MessageSender"}},"type":"object","required":["text","sender"],"title":"GenerateReplyTurn","description":"A prior turn supplied by the caller purely as generation context."},"GenerateTitleRequest":{"properties":{"session_id":{"type":"string","minLength":1,"title":"Session Id"},"messages":{"items":{"$ref":"#\/components\/schemas\/TitleMessageInput"},"type":"array","maxItems":50,"minItems":1,"title":"Messages"}},"type":"object","required":["session_id","messages"],"title":"GenerateTitleRequest"},"GenerateTitleResponse":{"properties":{"title":{"type":"string","title":"Title","description":"Generated session title."}},"type":"object","required":["title"],"title":"GenerateTitleResponse","description":"Response for ``POST \/v2\/chat\/generate-title``."},"GenerateWrappedResponse":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"}},"type":"object","required":["status","message"],"title":"GenerateWrappedResponse"},"Geolocation":{"properties":{"google_place_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Google Place Id"},"latitude":{"type":"number","maximum":90,"minimum":-90,"title":"Latitude"},"longitude":{"type":"number","maximum":180,"minimum":-180,"title":"Longitude"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"location_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Type"},"captured_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Captured At"},"capture_source":{"anyOf":[{"type":"string","enum":["current_position","last_known_position","manual","integration"]},{"type":"null"}],"title":"Capture Source"},"accuracy":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"title":"Accuracy"},"altitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Altitude"}},"type":"object","required":["latitude","longitude"],"title":"Geolocation"},"GeolocationInput":{"properties":{"google_place_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Google Place Id"},"latitude":{"type":"number","title":"Latitude"},"longitude":{"type":"number","title":"Longitude"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"location_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Type"},"captured_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Captured At"},"capture_source":{"anyOf":[{"type":"string","enum":["current_position","last_known_position","manual","integration"]},{"type":"null"}],"title":"Capture Source"},"accuracy":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"title":"Accuracy"},"altitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Altitude"}},"type":"object","required":["latitude","longitude"],"title":"GeolocationInput","description":"Released wire contract for coordinates accepted at legacy API boundaries.\n\nBounds are enforced before any value is cached, geocoded, or persisted. Keeping\nthis transport shape broad preserves clients released before the bound contract\nexisted, while ``Geolocation`` remains the only usable server-side value."},"GoalCreate":{"properties":{"title":{"type":"string","maxLength":500,"minLength":1,"title":"Title"},"desired_outcome":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Desired Outcome"},"why_it_matters":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Why It Matters"},"success_criteria":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Success Criteria"},"horizon_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Horizon At"},"status":{"$ref":"#\/components\/schemas\/GoalStatus","default":"background"},"metric":{"anyOf":[{"$ref":"#\/components\/schemas\/GoalMetric"},{"type":"null"}]},"source":{"$ref":"#\/components\/schemas\/GoalSource","default":"user"},"goal_type":{"anyOf":[{"$ref":"#\/components\/schemas\/models__goal__GoalType"},{"type":"null"}]},"target_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Target Value"},"current_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Current Value"},"min_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Value"},"max_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Value"},"unit":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Unit"}},"additionalProperties":false,"type":"object","required":["title"],"title":"GoalCreate","description":"Canonical create shape with explicit compatibility for released request fields."},"GoalDeleteResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"deleted_id":{"type":"string","title":"Deleted Id"}},"type":"object","required":["success","deleted_id"],"title":"GoalDeleteResponse"},"GoalDetailProjection":{"properties":{"goal":{"$ref":"#\/components\/schemas\/models__goal__GoalResponse"},"active_threads":{"items":{"$ref":"#\/components\/schemas\/Workstream"},"type":"array","title":"Active Threads"},"tasks":{"items":{"$ref":"#\/components\/schemas\/models__action_item__ActionItemResponse"},"type":"array","title":"Tasks"},"progress_events":{"items":{"$ref":"#\/components\/schemas\/GoalProgressEvent"},"type":"array","title":"Progress Events"}},"additionalProperties":false,"type":"object","required":["goal","active_threads","tasks","progress_events"],"title":"GoalDetailProjection"},"GoalFocusRequest":{"properties":{"replacement_goal_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Replacement Goal Id"},"focus_rank":{"anyOf":[{"type":"integer","maximum":4,"minimum":0},{"type":"null"}],"title":"Focus Rank"}},"additionalProperties":false,"type":"object","title":"GoalFocusRequest"},"GoalHistoryEntryResponse":{"properties":{"date":{"type":"string","title":"Date"},"value":{"type":"number","title":"Value"},"recorded_at":{"type":"string","format":"date-time","title":"Recorded At"}},"type":"object","required":["date","value","recorded_at"],"title":"GoalHistoryEntryResponse"},"GoalLifecycleRequest":{"properties":{"status":{"$ref":"#\/components\/schemas\/GoalStatus"},"relationship_disposition":{"$ref":"#\/components\/schemas\/GoalRelationshipDisposition"}},"additionalProperties":false,"type":"object","required":["status","relationship_disposition"],"title":"GoalLifecycleRequest"},"GoalLinkSpec":{"properties":{"type":{"type":"string","const":"goalLink","title":"Type"},"goal_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Goal Id"},"summary":{"type":"string","maxLength":200,"minLength":1,"title":"Summary"}},"additionalProperties":false,"type":"object","required":["type","goal_id","summary"],"title":"GoalLinkSpec"},"GoalMetric":{"properties":{"type":{"$ref":"#\/components\/schemas\/models__goal__GoalType"},"current":{"type":"number","title":"Current"},"target":{"type":"number","title":"Target"},"min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max"},"unit":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Unit"}},"additionalProperties":false,"type":"object","required":["type","current","target"],"title":"GoalMetric"},"GoalOriginWorkIntent":{"properties":{"origin":{"type":"string","const":"goal","title":"Origin","default":"goal"},"goal_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Goal Id"},"title":{"type":"string","maxLength":256,"minLength":1,"title":"Title"},"objective":{"type":"string","maxLength":2048,"minLength":1,"title":"Objective"},"anchor_task_description":{"type":"string","maxLength":2000,"minLength":1,"title":"Anchor Task Description"}},"additionalProperties":false,"type":"object","required":["goal_id","title","objective","anchor_task_description"],"title":"GoalOriginWorkIntent"},"GoalProgressEvent":{"properties":{"event_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Event Id"},"goal_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Goal Id"},"sequence":{"type":"integer","minimum":1,"title":"Sequence"},"kind":{"$ref":"#\/components\/schemas\/GoalProgressEventKind"},"summary":{"type":"string","maxLength":1000,"minLength":1,"title":"Summary"},"evidence_refs":{"items":{"$ref":"#\/components\/schemas\/EvidenceRef"},"type":"array","maxItems":50,"title":"Evidence Refs"},"metric":{"anyOf":[{"$ref":"#\/components\/schemas\/GoalMetric"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["event_id","goal_id","sequence","kind","summary","created_at"],"title":"GoalProgressEvent"},"GoalProgressEventCreate":{"properties":{"kind":{"$ref":"#\/components\/schemas\/GoalProgressEventKind"},"summary":{"type":"string","maxLength":1000,"minLength":1,"title":"Summary"},"evidence_refs":{"items":{"$ref":"#\/components\/schemas\/EvidenceRef"},"type":"array","maxItems":50,"title":"Evidence Refs"},"metric":{"anyOf":[{"$ref":"#\/components\/schemas\/GoalMetric"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["kind","summary"],"title":"GoalProgressEventCreate"},"GoalProgressEventKind":{"type":"string","enum":["evidence","metric_update","milestone","status_change"],"title":"GoalProgressEventKind"},"GoalRelationshipDisposition":{"type":"string","enum":["retain","detach"],"title":"GoalRelationshipDisposition"},"GoalSource":{"type":"string","enum":["user","ai_suggested","imported"],"title":"GoalSource"},"GoalStatus":{"type":"string","enum":["background","focused","paused","achieved","abandoned"],"title":"GoalStatus"},"GoalSuggestionResponse":{"properties":{"suggested_title":{"type":"string","title":"Suggested Title"},"suggested_type":{"type":"string","title":"Suggested Type"},"suggested_target":{"type":"number","title":"Suggested Target"},"suggested_min":{"type":"number","title":"Suggested Min","default":0},"suggested_max":{"type":"number","title":"Suggested Max","default":10},"reasoning":{"type":"string","title":"Reasoning"}},"type":"object","required":["suggested_title","suggested_type","suggested_target","reasoning"],"title":"GoalSuggestionResponse"},"GoalUpdate":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"Title"},"desired_outcome":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Desired Outcome"},"why_it_matters":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Why It Matters"},"success_criteria":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":20},{"type":"null"}],"title":"Success Criteria"},"horizon_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Horizon At"},"metric":{"anyOf":[{"$ref":"#\/components\/schemas\/GoalMetric"},{"type":"null"}]},"clear_metric":{"type":"boolean","title":"Clear Metric","default":false},"target_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Target Value"},"current_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Current Value"},"min_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Value"},"max_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Value"},"unit":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Unit"}},"additionalProperties":false,"type":"object","title":"GoalUpdate"},"GoogleCalendarEvent":{"properties":{"event_id":{"type":"string","title":"Event Id","description":"Google Calendar event ID"},"title":{"type":"string","title":"Title","description":"Event title\/summary"},"attendees":{"items":{"type":"string"},"type":"array","title":"Attendees","description":"List of attendee display names","default":[]},"attendee_emails":{"items":{"type":"string"},"type":"array","title":"Attendee Emails","description":"List of attendee email addresses","default":[]},"start_time":{"type":"string","format":"date-time","title":"Start Time","description":"Event start time"},"end_time":{"type":"string","format":"date-time","title":"End Time","description":"Event end time"},"html_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Html Link","description":"Link to open event in Google Calendar"},"location":{"type":"string","title":"Location","description":"Event location","default":""},"description":{"type":"string","title":"Description","description":"Event description, truncated for transport","default":""},"all_day":{"type":"boolean","title":"All Day","description":"True when the event has a date but no time","default":false}},"type":"object","required":["event_id","title","start_time","end_time"],"title":"GoogleCalendarEvent","description":"Response model for a Google Calendar event."},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#\/components\/schemas\/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HarnessEdit":{"properties":{"kind":{"type":"string","enum":["spelling","title","overview","memory","merge_memories","retire_memory","supersede_memory","merge_people","entity_summary","close_task","dismiss_person","merge_tasks","retire_task","merge_conversations","set_language"],"title":"Kind","description":"Correct evidenced defects, never style or low importance. Retire memories only for garbage, contradiction or facts spoken by someone else but attributed to the owner. Supersede only with a newer fact about the same attribute. Dismiss junk person detections (filler, nationalities, fragments), never a real person. Merge tasks only when they represent the same obligation; retire duplicates or someone else's task misfiled to the owner. Autonomous agents must not change manual or edited tasks. Merge conversations only for overlapping captures of the same speech, preserving both records and audio. Set language to the language actually spoken, never translate speech."},"target":{"type":"string","maxLength":256,"minLength":3,"title":"Target","description":"Supplied record ref to edit, optionally with #segment-id or #start-seconds. One spelling edit fixes every occurrence in its target; with a fragment, only that transcript segment is changed."},"other":{"type":"string","maxLength":256,"title":"Other","description":"Second fully read ref for a merge; target is retired into other for task\/conversation merges. For supersede_memory, the existing newer memory. Otherwise empty.","default":""},"before":{"type":"string","maxLength":16000,"title":"Before","description":"Exact wrong text as it appears in the target, including its capitalization. For spelling, one edit fixes every occurrence of this text.","default":""},"after":{"type":"string","maxLength":16000,"title":"After","description":"Corrected text or new language tag. For supersede_memory choose new fact text OR other. Empty for retirement, dismissal and task\/conversation\/person merges: preserve the survivor.","default":""},"effective_from":{"type":"string","maxLength":40,"title":"Effective From","description":"For supersede_memory: optional timezone-aware ISO 8601 time when the cited evidence says the new fact became true. Never invent a time; omit to use apply time.","default":""},"reason":{"type":"string","maxLength":1000,"minLength":1,"title":"Reason","description":"Explain the defect and cited evidence."},"evidence":{"items":{"type":"string"},"type":"array","maxItems":10,"minItems":1,"title":"Evidence","description":"Fully read owner refs, with segment ids for speech when available. Cited evidence must support this change; do not invent refs or use the old memory itself as retirement support."},"value":{"type":"integer","maximum":5,"minimum":1,"title":"Value","description":"how much the answer changes what future agents should believe about this person's people, projects or vocabulary; trivial acronym casing is 1","default":3},"why_it_matters":{"type":"string","maxLength":200,"title":"Why It Matters","description":"Short explanation of future value.","default":""}},"additionalProperties":false,"type":"object","required":["kind","target","reason","evidence"],"title":"HarnessEdit"},"HasSpeechProfileResponse":{"properties":{"has_profile":{"type":"boolean","title":"Has Profile"}},"type":"object","required":["has_profile"],"title":"HasSpeechProfileResponse"},"HeldAudioRecording":{"properties":{"id":{"type":"string","title":"Id"},"started_at":{"type":"integer","title":"Started At"},"seconds":{"type":"integer","title":"Seconds"}},"type":"object","required":["id","started_at","seconds"],"title":"HeldAudioRecording","description":"One recording the server is keeping until reset or upgrade. No audio bytes."},"HeldAudioSummary":{"properties":{"seconds":{"type":"integer","title":"Seconds"},"reset_at":{"type":"integer","title":"Reset At"},"retain_live":{"type":"boolean","title":"Retain Live"},"state":{"type":"string","enum":["paused","recovering"],"title":"State","default":"paused"},"count":{"type":"integer","title":"Count","default":0},"recordings":{"items":{"$ref":"#\/components\/schemas\/HeldAudioRecording"},"type":"array","title":"Recordings","default":[]}},"type":"object","required":["seconds","reset_at","retain_live"],"title":"HeldAudioSummary","description":"Additive held-audio totals. Absent until funded-STT dispatch enforcement is holding audio.\n\n``count`` is the exact number of holds, including ones past the newest page.\n``recordings`` is that page, newest first."},"HiddenNoiseCountsResponse":{"properties":{"tz":{"type":"string","title":"Tz"},"start_date":{"type":"string","format":"date-time","title":"Start Date"},"end_date":{"type":"string","format":"date-time","title":"End Date"},"days":{"items":{"$ref":"#\/components\/schemas\/HiddenNoiseDayCount"},"type":"array","title":"Days"},"total":{"type":"integer","title":"Total"},"truncated":{"type":"boolean","title":"Truncated"}},"type":"object","required":["tz","start_date","end_date","days","total","truncated"],"title":"HiddenNoiseCountsResponse"},"HiddenNoiseDayCount":{"properties":{"date":{"type":"string","title":"Date"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["date","count"],"title":"HiddenNoiseDayCount"},"HomeFeedCard":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","enum":["episode","conversation"],"title":"Kind"},"detail_id":{"type":"string","title":"Detail Id"},"sort_at":{"type":"string","format":"date-time","title":"Sort At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"title":{"type":"string","maxLength":240,"title":"Title","default":""},"emoji":{"type":"string","maxLength":32,"title":"Emoji","default":""},"preview":{"type":"string","maxLength":320,"title":"Preview","default":""},"status":{"type":"string","title":"Status"},"home_step":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Home Step"},"starred":{"type":"boolean","title":"Starred","default":false},"is_locked":{"type":"boolean","title":"Is Locked","default":false},"has_tasks":{"type":"boolean","title":"Has Tasks","default":false},"member_count":{"type":"integer","minimum":0,"title":"Member Count","default":1},"sources":{"items":{"type":"string"},"type":"array","maxItems":16,"title":"Sources"},"summary_available":{"type":"boolean","title":"Summary Available","default":false},"revision":{"type":"string","title":"Revision"}},"type":"object","required":["id","kind","detail_id","sort_at","status","revision"],"title":"HomeFeedCard"},"HomeFeedPreparationResponse":{"properties":{"ready":{"type":"boolean","title":"Ready"},"processed":{"type":"integer","title":"Processed"},"has_more":{"type":"boolean","title":"Has More"}},"type":"object","required":["ready","processed","has_more"],"title":"HomeFeedPreparationResponse"},"HomeFeedResponse":{"properties":{"generation":{"type":"string","title":"Generation"},"items":{"items":{"$ref":"#\/components\/schemas\/HomeFeedCard"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More","default":false},"truncated":{"type":"boolean","title":"Truncated","default":false}},"type":"object","required":["generation"],"title":"HomeFeedResponse"},"IgnoredVoice":{"properties":{"conversation_id":{"type":"string","title":"Conversation Id"},"speaker_id":{"type":"integer","title":"Speaker Id"},"ignored_at":{"type":"string","format":"date-time","title":"Ignored At"},"conversation_title":{"type":"string","title":"Conversation Title","default":""},"conversation_started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Conversation Started At"}},"type":"object","required":["conversation_id","speaker_id","ignored_at"],"title":"IgnoredVoice","description":"A voice the user marked Not a Person; Omi does not ask about it again."},"IgnoredVoicesResponse":{"properties":{"voices":{"items":{"$ref":"#\/components\/schemas\/IgnoredVoice"},"type":"array","title":"Voices"}},"type":"object","title":"IgnoredVoicesResponse"},"ImportJobResponse":{"properties":{"job_id":{"type":"string","title":"Job Id"},"status":{"$ref":"#\/components\/schemas\/ImportJobStatus"},"source_type":{"anyOf":[{"$ref":"#\/components\/schemas\/ImportSourceType"},{"type":"null"}],"description":"Which importer created the job"},"total_files":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Files"},"processed_files":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Processed Files"},"conversations_created":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Conversations Created"},"conversations_skipped":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Conversations Skipped"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["job_id","status"],"title":"ImportJobResponse"},"ImportJobStatus":{"type":"string","enum":["pending","processing","completed","failed","cancelled"],"title":"ImportJobStatus"},"ImportSourceType":{"type":"string","enum":["limitless","transcript_files"],"title":"ImportSourceType"},"InitialMessageRequest":{"properties":{"session_id":{"type":"string","minLength":1,"title":"Session Id"},"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"}},"type":"object","required":["session_id"],"title":"InitialMessageRequest"},"InitialMessageResponse":{"properties":{"message":{"type":"string","title":"Message","description":"Generated greeting message text."},"message_id":{"type":"string","title":"Message Id","description":"Identifier of the generated message."}},"type":"object","required":["message","message_id"],"title":"InitialMessageResponse","description":"Response for ``POST \/v2\/chat\/initial-message``."},"Insight":{"properties":{"text":{"type":"string","title":"Text","description":"One insight connecting background context to this conversation"},"kind":{"type":"string","enum":["prior_meeting","goal","memory","person"],"title":"Kind","description":"Which background source the insight draws on"}},"type":"object","required":["text","kind"],"title":"Insight"},"IntegrationData":{"properties":{"connected":{"type":"boolean","title":"Connected","default":true},"access_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token","deprecated":true},"refresh_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refresh Token","deprecated":true}},"type":"object","title":"IntegrationData","description":"Compatibility input for integrations without a server OAuth flow.\n\nDeprecated credential fields remain in the released app-client schema, but\nregistered OAuth providers are rejected before any value is persisted."},"IntegrationMutationResponse":{"properties":{"status":{"type":"string","title":"Status"},"app_key":{"type":"string","title":"App Key"}},"type":"object","required":["status","app_key"],"title":"IntegrationMutationResponse"},"IntegrationNotificationResponse":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"IntegrationNotificationResponse"},"IntegrationResponse":{"properties":{"connected":{"type":"boolean","title":"Connected","description":"Whether the integration is connected"},"app_key":{"type":"string","title":"App Key","description":"Integration app key"},"read_selection_configured":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Read Selection Configured","description":"Google Calendar has an explicit saved read scope, even if its grant is disconnected"}},"type":"object","required":["connected","app_key"],"title":"IntegrationResponse","description":"Response containing integration status"},"InterventionCreate":{"properties":{"surface":{"$ref":"#\/components\/schemas\/InterventionSurface"},"subject_kind":{"$ref":"#\/components\/schemas\/FeedbackSubjectKind"},"subject_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Subject Id"},"dedupe_key":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Dedupe Key"},"evidence_refs":{"items":{"$ref":"#\/components\/schemas\/EvidenceRef"},"type":"array","maxItems":50,"title":"Evidence Refs"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"additionalProperties":false,"type":"object","required":["surface","subject_kind","subject_id","dedupe_key","expires_at"],"title":"InterventionCreate"},"InterventionRecord":{"properties":{"surface":{"$ref":"#\/components\/schemas\/InterventionSurface"},"subject_kind":{"$ref":"#\/components\/schemas\/FeedbackSubjectKind"},"subject_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Subject Id"},"dedupe_key":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Dedupe Key"},"evidence_refs":{"items":{"$ref":"#\/components\/schemas\/EvidenceRef"},"type":"array","maxItems":50,"title":"Evidence Refs"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"intervention_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Intervention Id"},"attribution_chain_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Attribution Chain Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["surface","subject_kind","subject_id","dedupe_key","expires_at","intervention_id","attribution_chain_id","created_at"],"title":"InterventionRecord"},"InterventionSurface":{"type":"string","enum":["suggested","what_matters_now"],"title":"InterventionSurface"},"KnowledgeGraphResponse":{"properties":{"nodes":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Nodes"},"edges":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Edges"},"truncated":{"type":"boolean","title":"Truncated","default":false},"node_count":{"type":"integer","title":"Node Count","default":0},"edge_count":{"type":"integer","title":"Edge Count","default":0},"node_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Node Limit"},"edge_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Edge Limit"}},"type":"object","required":["nodes","edges"],"title":"KnowledgeGraphResponse"},"LearnedMemoryRef":{"properties":{"memory_id":{"type":"string","title":"Memory Id"},"content":{"type":"string","title":"Content"},"category":{"type":"string","title":"Category","default":""},"captured_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Captured At"}},"type":"object","required":["memory_id","content"],"title":"LearnedMemoryRef","description":"One memory the day actually produced, addressed by its canonical id.\n\nThis is the identity `knowledge_nuggets` never had: a client can render a\nnative review card and vote or correct through the existing memory\nendpoints. Review state (`user_review`, `edited`) is deliberately absent \u2014\nclients read it live from the memory so a vote on one device shows on the\nother."},"LedgerWriteReason":{"type":"string","enum":["direct_user_statement","explicit_remember","agent_reusable_conclusion","recurring_workflow","standing_trigger","onboarding","daily_reconciliation","legacy_migration"],"title":"LedgerWriteReason"},"LegacyMaterializePromptsResponse":{"properties":{"intents":{"items":{"$ref":"#\/components\/schemas\/LegacyProactiveIntent"},"type":"array","title":"Intents"}},"additionalProperties":false,"type":"object","title":"LegacyMaterializePromptsResponse"},"LegacyProactiveIntent":{"properties":{"intent_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Intent Id"},"continuity_key":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Continuity Key"},"account_generation":{"type":"integer","minimum":0,"title":"Account Generation"},"source":{"type":"string","enum":["daily_opener","capture_arrival","deferral_reraise","agent_judgment","cold_start_rich","cold_start_sparse"],"title":"Source"},"subject":{"anyOf":[{"$ref":"#\/components\/schemas\/ChatFirstSubject"},{"type":"null"}]},"blocks":{"items":{"oneOf":[{"$ref":"#\/components\/schemas\/QuestionCardSpec"},{"$ref":"#\/components\/schemas\/TaskCardSpec"},{"$ref":"#\/components\/schemas\/GoalLinkSpec"},{"$ref":"#\/components\/schemas\/CaptureLinkSpec"},{"$ref":"#\/components\/schemas\/MemoryLinkSpec"}],"discriminator":{"propertyName":"type","mapping":{"captureLink":"#\/components\/schemas\/CaptureLinkSpec","goalLink":"#\/components\/schemas\/GoalLinkSpec","memoryLink":"#\/components\/schemas\/MemoryLinkSpec","questionCard":"#\/components\/schemas\/QuestionCardSpec","taskCard":"#\/components\/schemas\/TaskCardSpec"}}},"type":"array","maxItems":8,"minItems":1,"title":"Blocks"},"delivery_state":{"type":"string","enum":["ready","pending_kernel_receipt","delivered"],"title":"Delivery State","default":"ready"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"delivered_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Delivered At"},"materialization_receipt_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Materialization Receipt Id"},"materialization_attempts":{"type":"integer","minimum":0,"title":"Materialization Attempts","default":0},"last_rejection_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Rejection Code"},"last_rejection_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Rejection At"},"fetch_count":{"type":"integer","minimum":0,"title":"Fetch Count","default":0},"last_fetched_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Fetched At"},"dead_letter_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dead Letter Reason"},"cold_start_sequence_terminal_state":{"anyOf":[{"type":"string","enum":["completed","abandoned"]},{"type":"null"}],"title":"Cold Start Sequence Terminal State"},"cold_start_sequence_terminal_receipt_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Cold Start Sequence Terminal Receipt Id"}},"additionalProperties":false,"type":"object","required":["intent_id","continuity_key","account_generation","source","blocks","created_at"],"title":"LegacyProactiveIntent"},"LinkCalendarEventRequest":{"properties":{"event_id":{"type":"string","title":"Event Id"}},"type":"object","required":["event_id"],"title":"LinkCalendarEventRequest"},"LiveConversation":{"properties":{"id":{"type":"string","title":"Id"},"structured":{"$ref":"#\/components\/schemas\/Structured"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"status":{"$ref":"#\/components\/schemas\/ConversationStatus"},"tile_state":{"anyOf":[{"type":"string","enum":["live","transcribing","writing","done","failed"]},{"type":"null"}],"title":"Tile State"}},"type":"object","required":["id","structured","started_at","finished_at","created_at","status"],"title":"LiveConversation"},"LiveSummaryPreview":{"properties":{"structured":{"$ref":"#\/components\/schemas\/Structured"},"summary_covers_through":{"type":"string","format":"date-time","title":"Summary Covers Through"}},"type":"object","required":["structured","summary_covers_through"],"title":"LiveSummaryPreview"},"LlmTotalCostResponse":{"properties":{"total_cost_usd":{"type":"number","title":"Total Cost Usd"}},"type":"object","required":["total_cost_usd"],"title":"LlmTotalCostResponse"},"LlmUsageFeatureResponse":{"properties":{"feature":{"type":"string","title":"Feature"},"input_tokens":{"type":"integer","title":"Input Tokens","default":0},"output_tokens":{"type":"integer","title":"Output Tokens","default":0},"total_tokens":{"type":"integer","title":"Total Tokens","default":0},"call_count":{"type":"integer","title":"Call Count","default":0}},"type":"object","required":["feature"],"title":"LlmUsageFeatureResponse"},"LlmUsageRecordResponse":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"LlmUsageRecordResponse"},"LlmUsageResponse":{"properties":{"summary":{"additionalProperties":true,"type":"object","title":"Summary"},"top_features":{"items":{"$ref":"#\/components\/schemas\/LlmUsageFeatureResponse"},"type":"array","title":"Top Features"},"period_days":{"type":"integer","title":"Period Days"}},"type":"object","required":["period_days"],"title":"LlmUsageResponse"},"LocationContextConsentResponse":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"purpose":{"type":"string","title":"Purpose","default":"chat_city_context"},"disclosed_providers":{"prefixItems":[{"type":"string"},{"type":"string"}],"type":"array","maxItems":2,"minItems":2,"title":"Disclosed Providers","default":["Google Maps","the configured AI chat provider"]},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"}},"type":"object","required":["enabled"],"title":"LocationContextConsentResponse"},"LocationContextConsentUpdate":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"disclosure_accepted":{"type":"boolean","title":"Disclosure Accepted","description":"Required to enable city context: Google Maps reverse-geocodes the device location and the configured AI chat provider receives city, region, and country only.","default":false}},"type":"object","required":["enabled"],"title":"LocationContextConsentUpdate"},"MaterializableProactiveIntent":{"properties":{"intent_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Intent Id"},"continuity_key":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Continuity Key"},"account_generation":{"type":"integer","minimum":0,"title":"Account Generation"},"source":{"type":"string","enum":["daily_opener","capture_arrival","deferral_reraise","agent_judgment","cold_start_rich","cold_start_sparse"],"title":"Source"},"subject":{"anyOf":[{"$ref":"#\/components\/schemas\/ChatFirstSubject"},{"type":"null"}]},"blocks":{"items":{"oneOf":[{"$ref":"#\/components\/schemas\/QuestionCardSpec"},{"$ref":"#\/components\/schemas\/TaskCardSpec"},{"$ref":"#\/components\/schemas\/GoalLinkSpec"},{"$ref":"#\/components\/schemas\/CaptureLinkSpec"},{"$ref":"#\/components\/schemas\/ConversationLinkSpec"},{"$ref":"#\/components\/schemas\/MemoryLinkSpec"}],"discriminator":{"propertyName":"type","mapping":{"captureLink":"#\/components\/schemas\/CaptureLinkSpec","conversationLink":"#\/components\/schemas\/ConversationLinkSpec","goalLink":"#\/components\/schemas\/GoalLinkSpec","memoryLink":"#\/components\/schemas\/MemoryLinkSpec","questionCard":"#\/components\/schemas\/QuestionCardSpec","taskCard":"#\/components\/schemas\/TaskCardSpec"}}},"type":"array","maxItems":8,"minItems":1,"title":"Blocks"},"delivery_state":{"type":"string","enum":["ready","pending_kernel_receipt","delivered"],"title":"Delivery State","default":"ready"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"delivered_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Delivered At"},"materialization_receipt_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Materialization Receipt Id"},"materialization_attempts":{"type":"integer","minimum":0,"title":"Materialization Attempts","default":0},"last_rejection_code":{"anyOf":[{"type":"string","maxLength":64,"minLength":1,"pattern":"^[a-z0-9_]+$"},{"type":"null"}],"title":"Last Rejection Code"},"last_rejection_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Rejection At"},"fetch_count":{"type":"integer","minimum":0,"title":"Fetch Count","default":0},"last_fetched_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Fetched At"},"dead_letter_reason":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[a-z0-9_:.-]+$"},{"type":"null"}],"title":"Dead Letter Reason"},"cold_start_sequence_terminal_state":{"anyOf":[{"type":"string","enum":["completed","abandoned"]},{"type":"null"}],"title":"Cold Start Sequence Terminal State"},"cold_start_sequence_terminal_receipt_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Cold Start Sequence Terminal Receipt Id"}},"additionalProperties":false,"type":"object","required":["intent_id","continuity_key","account_generation","source","blocks","created_at"],"title":"MaterializableProactiveIntent","description":"Wire-safe intent state; terminal dead letters never leave the store."},"MaterializePromptsRequest":{"properties":{"source_surface":{"type":"string","const":"main_chat","title":"Source Surface"},"control_generation":{"type":"integer","minimum":0,"title":"Control Generation"},"owner_fence":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Owner Fence"},"window_foreground":{"type":"boolean","title":"Window Foreground","default":false},"initial_page_loaded":{"type":"boolean","title":"Initial Page Loaded","default":false},"receipts":{"items":{"$ref":"#\/components\/schemas\/ProactiveMaterializationReceipt"},"type":"array","maxItems":16,"title":"Receipts"},"rejections":{"items":{"$ref":"#\/components\/schemas\/ProactiveMaterializationRejection"},"type":"array","maxItems":16,"title":"Rejections"},"deferrals":{"items":{"$ref":"#\/components\/schemas\/ProactiveMaterializationDeferral"},"type":"array","maxItems":16,"title":"Deferrals"},"cold_start_sequence_terminal_receipts":{"items":{"$ref":"#\/components\/schemas\/ColdStartSequenceTerminalReceipt"},"type":"array","maxItems":16,"title":"Cold Start Sequence Terminal Receipts"}},"additionalProperties":false,"type":"object","required":["source_surface","control_generation","owner_fence"],"title":"MaterializePromptsRequest"},"MaterializePromptsResponse":{"properties":{"intents":{"items":{"$ref":"#\/components\/schemas\/MaterializableProactiveIntent"},"type":"array","title":"Intents"},"receipt_outcomes":{"items":{"$ref":"#\/components\/schemas\/ProactiveMaterializationReceiptOutcome"},"type":"array","title":"Receipt Outcomes"},"rejection_outcomes":{"items":{"$ref":"#\/components\/schemas\/ProactiveMaterializationRejectionOutcome"},"type":"array","title":"Rejection Outcomes"}},"additionalProperties":false,"type":"object","title":"MaterializePromptsResponse"},"McpAddServerResponse":{"properties":{"app_id":{"type":"string","title":"App Id"},"requires_oauth":{"type":"boolean","title":"Requires Oauth"},"auth_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auth Url"},"tools_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tools Count"},"tool_names":{"items":{"type":"string"},"type":"array","title":"Tool Names"}},"type":"object","required":["app_id","requires_oauth"],"title":"McpAddServerResponse"},"McpApiKey":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"key_prefix":{"type":"string","title":"Key Prefix"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scopes"}},"type":"object","required":["id","name","key_prefix","created_at"],"title":"McpApiKey"},"McpApiKeyCreate":{"properties":{"name":{"type":"string","title":"Name"},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scopes"}},"type":"object","required":["name"],"title":"McpApiKeyCreate"},"McpApiKeyCreated":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"key_prefix":{"type":"string","title":"Key Prefix"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"},"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"},"scopes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Scopes"},"key":{"type":"string","title":"Key"},"connector_access":{"$ref":"#\/components\/schemas\/ConnectorAccess"}},"type":"object","required":["id","name","key_prefix","created_at","key"],"title":"McpApiKeyCreated"},"McpAuthorizeConsentResponse":{"properties":{"redirect_uri":{"type":"string","title":"Redirect Uri"}},"type":"object","required":["redirect_uri"],"title":"McpAuthorizeConsentResponse"},"McpAuthorizeResponse":{"properties":{"auth_url":{"type":"string","title":"Auth Url"}},"type":"object","required":["auth_url"],"title":"McpAuthorizeResponse"},"McpCreateActionItem":{"properties":{"description":{"type":"string","title":"Description"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"completed":{"type":"boolean","title":"Completed","default":false}},"type":"object","required":["description"],"title":"McpCreateActionItem"},"McpOauthGrantsResponse":{"properties":{"grants":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Grants","default":[]},"connector_access":{"additionalProperties":{"$ref":"#\/components\/schemas\/ConnectorAccess"},"type":"object","title":"Connector Access","default":{}}},"type":"object","title":"McpOauthGrantsResponse"},"McpPersonMutationResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"person_id":{"type":"string","title":"Person Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"dismissed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Dismissed"}},"type":"object","required":["success","person_id"],"title":"McpPersonMutationResponse"},"McpPersonRenameRequest":{"properties":{"name":{"type":"string","maxLength":128,"minLength":1,"title":"Name"}},"type":"object","required":["name"],"title":"McpPersonRenameRequest"},"McpRefreshToolsResponse":{"properties":{"tools_count":{"type":"integer","title":"Tools Count"},"tool_names":{"items":{"type":"string"},"type":"array","title":"Tool Names"}},"type":"object","required":["tools_count"],"title":"McpRefreshToolsResponse"},"McpScreenActivityAppSummary":{"properties":{"count":{"type":"integer","title":"Count","default":0},"first_seen":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"First Seen"},"last_seen":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Seen"},"window_titles":{"items":{"type":"string"},"type":"array","title":"Window Titles","default":[]}},"type":"object","title":"McpScreenActivityAppSummary"},"McpScreenActivityRow":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Timestamp"},"app_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Name"},"window_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Window Title"},"ocr_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ocr Text"}},"type":"object","title":"McpScreenActivityRow"},"McpScreenActivitySummaryResponse":{"properties":{"apps":{"additionalProperties":{"$ref":"#\/components\/schemas\/McpScreenActivityAppSummary"},"type":"object","title":"Apps","default":{}},"total_screenshots":{"type":"integer","title":"Total Screenshots","default":0},"coverage":{"anyOf":[{"$ref":"#\/components\/schemas\/ScreenActivityCoverage"},{"type":"null"}]}},"type":"object","title":"McpScreenActivitySummaryResponse"},"McpServerRequest":{"properties":{"name":{"type":"string","title":"Name"},"mcp_server_url":{"type":"string","title":"Mcp Server Url"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["name","mcp_server_url"],"title":"McpServerRequest"},"McpSseAuthMethodResponse":{"properties":{"header":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Header"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format"},"authorization_endpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization Endpoint"},"token_endpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Endpoint"},"resource":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Resource"},"scopes":{"items":{"type":"string"},"type":"array","title":"Scopes","default":[]}},"type":"object","title":"McpSseAuthMethodResponse"},"McpSseAuthenticationResponse":{"properties":{"methods":{"items":{"type":"string"},"type":"array","title":"Methods"},"api_key":{"$ref":"#\/components\/schemas\/McpSseAuthMethodResponse"},"oauth2":{"$ref":"#\/components\/schemas\/McpSseAuthMethodResponse"}},"type":"object","required":["methods","api_key","oauth2"],"title":"McpSseAuthenticationResponse"},"McpSseInfoResponse":{"properties":{"endpoint":{"type":"string","title":"Endpoint"},"transport":{"type":"string","title":"Transport"},"protocol_version":{"type":"string","title":"Protocol Version"},"authentication":{"$ref":"#\/components\/schemas\/McpSseAuthenticationResponse"},"instructions":{"$ref":"#\/components\/schemas\/McpSseInstructionsResponse"}},"type":"object","required":["endpoint","transport","protocol_version","authentication","instructions"],"title":"McpSseInfoResponse"},"McpSseInstructionsResponse":{"properties":{"step1":{"type":"string","title":"Step1"},"step2":{"type":"string","title":"Step2"},"step3":{"type":"string","title":"Step3"}},"type":"object","required":["step1","step2","step3"],"title":"McpSseInstructionsResponse"},"McpStatusResponse":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"McpStatusResponse"},"McpTokenResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"refresh_token":{"type":"string","title":"Refresh Token"},"token_type":{"type":"string","title":"Token Type"},"expires_in":{"type":"integer","title":"Expires In"},"scope":{"type":"string","title":"Scope"}},"type":"object","required":["access_token","refresh_token","token_type","expires_in","scope"],"title":"McpTokenResponse"},"McpUpdateActionItem":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"}},"type":"object","title":"McpUpdateActionItem"},"MeetingParticipant":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Participant's display name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"Participant's email address"}},"type":"object","title":"MeetingParticipant","description":"Represents a participant in a calendar meeting"},"MeetingParticipantSources":{"properties":{"expected_calendar":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/MeetingParticipant"},"type":"array"},{"type":"null"}],"title":"Expected Calendar"},"observed_screen_listing":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/MeetingParticipant"},"type":"array"},{"type":"null"}],"title":"Observed Screen Listing"},"observed_call_tiles":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/MeetingParticipant"},"type":"array"},{"type":"null"}],"title":"Observed Call Tiles"}},"type":"object","title":"MeetingParticipantSources","description":"Source sets, not attendance: None means that source was not supplied."},"MemoriesResponse":{"properties":{"memories":{"items":{"$ref":"#\/components\/schemas\/models__integrations__MemoryItem"},"type":"array","title":"Memories","description":"List of user memories (facts)"}},"type":"object","required":["memories"],"title":"MemoriesResponse"},"Memory":{"properties":{"content":{"type":"string","title":"Content","description":"The content of the memory"},"category":{"$ref":"#\/components\/schemas\/MemoryCategory","description":"The category of the memory","default":"interesting"},"visibility":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Visibility","description":"The visibility of the memory","default":"private"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","description":"The tags of the memory and learning"},"headline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Headline","description":"Short headline for notification preview (max 5 words)"},"predicate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Predicate","description":"Canonical relation for the fact, e.g. resides_in, works_at, prefers"},"arguments":{"additionalProperties":true,"type":"object","title":"Arguments","description":"Canonical proposition arguments keyed by semantic slot"},"subject_entity_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject Entity Id","description":"Stable entity id for who\/what the fact is about"},"subject_attribution":{"$ref":"#\/components\/schemas\/SubjectAttribution","description":"How the memory subject was attributed","default":"unknown"},"object_entity_ids":{"items":{"type":"string"},"type":"array","title":"Object Entity Ids","description":"Stable entity ids referenced by the fact arguments"},"qualifiers":{"additionalProperties":true,"type":"object","title":"Qualifiers","description":"Optional proposition qualifiers such as scope, valid_time, or epistemic_status"},"capture_confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Capture Confidence","description":"Fixed confidence that the source was captured correctly"},"veracity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Veracity","description":"Current belief that the fact is true"},"uncertainty_reasons":{"items":{"type":"string"},"type":"array","title":"Uncertainty Reasons","description":"Reasons this fact needs caution or review"},"durability":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Durability","description":"Expected durability horizon for the fact"},"subject_scope":{"anyOf":[{"$ref":"#\/components\/schemas\/MemorySubjectScope"},{"type":"null"}]},"valid_to":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid To"},"capture_context":{"anyOf":[{"$ref":"#\/components\/schemas\/MemoryCaptureContext"},{"type":"null"}]}},"type":"object","required":["content"],"title":"Memory"},"MemoryAssistantSettings":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"analysis_prompt":{"anyOf":[{"type":"string","maxLength":10000},{"type":"null"}],"title":"Analysis Prompt"},"extraction_interval":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Extraction Interval"},"min_confidence":{"anyOf":[{"type":"number","maximum":1,"minimum":0},{"type":"null"}],"title":"Min Confidence"},"notifications_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notifications Enabled"},"excluded_apps":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Excluded Apps"}},"type":"object","title":"MemoryAssistantSettings"},"MemoryCaptureContext":{"properties":{"source_type":{"type":"string","maxLength":64,"title":"Source Type"},"captured_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Captured At"},"source_id":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Source Id"},"source_version":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Source Version"},"source_signal":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Source Signal"},"independence_group":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Independence Group"},"lineage_id":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Lineage Id"},"attribution":{"anyOf":[{"type":"string","enum":["unknown","assistant","inferred","third_party","screen","user_spoken","user_written"]},{"type":"null"}],"title":"Attribution"},"quote_refs":{"items":{"additionalProperties":true,"type":"object"},"type":"array","maxItems":5,"title":"Quote Refs"}},"type":"object","required":["source_type"],"title":"MemoryCaptureContext","description":"Original capture metadata, separate from API transport and device."},"MemoryCategory":{"type":"string","enum":["interesting","system","manual","workflow","core","hobbies","lifestyle","interests","habits","work","skills","learnings","other","auto"],"title":"MemoryCategory"},"MemoryDB":{"properties":{"content":{"type":"string","title":"Content","description":"The content of the memory"},"category":{"$ref":"#\/components\/schemas\/MemoryCategory","description":"The category of the memory","default":"interesting"},"visibility":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Visibility","default":"public"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","description":"The tags of the memory and learning"},"headline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Headline","description":"Short headline for notification preview (max 5 words)"},"predicate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Predicate","description":"Canonical relation for the fact, e.g. resides_in, works_at, prefers"},"arguments":{"additionalProperties":true,"type":"object","title":"Arguments","description":"Canonical proposition arguments keyed by semantic slot"},"subject_entity_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject Entity Id","description":"Stable entity id for who\/what the fact is about"},"subject_attribution":{"$ref":"#\/components\/schemas\/SubjectAttribution","description":"How the memory subject was attributed","default":"unknown"},"object_entity_ids":{"items":{"type":"string"},"type":"array","title":"Object Entity Ids","description":"Stable entity ids referenced by the fact arguments"},"qualifiers":{"additionalProperties":true,"type":"object","title":"Qualifiers","description":"Optional proposition qualifiers such as scope, valid_time, or epistemic_status"},"capture_confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Capture Confidence","description":"Fixed confidence that the source was captured correctly"},"veracity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Veracity","description":"Current belief that the fact is true"},"uncertainty_reasons":{"items":{"type":"string"},"type":"array","title":"Uncertainty Reasons","description":"Reasons this fact needs caution or review"},"durability":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Durability","description":"Expected durability horizon for the fact"},"subject_scope":{"anyOf":[{"$ref":"#\/components\/schemas\/MemorySubjectScope"},{"type":"null"}]},"valid_to":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid To"},"capture_context":{"anyOf":[{"$ref":"#\/components\/schemas\/MemoryCaptureContext"},{"type":"null"}]},"id":{"type":"string","title":"Id"},"uid":{"type":"string","title":"Uid"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"memory_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Memory Id"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"reviewed":{"type":"boolean","title":"Reviewed","default":false},"user_review":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"User Review"},"manually_added":{"type":"boolean","title":"Manually Added","default":false},"edited":{"type":"boolean","title":"Edited","default":false},"scoring":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scoring"},"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"},"data_protection_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Protection Level"},"is_locked":{"type":"boolean","title":"Is Locked","default":false},"is_read":{"type":"boolean","title":"Is Read","default":false},"is_dismissed":{"type":"boolean","title":"Is Dismissed","default":false},"kg_extracted":{"type":"boolean","title":"Kg Extracted","default":false},"is_baseline":{"type":"boolean","title":"Is Baseline","default":false},"evidence":{"items":{"$ref":"#\/components\/schemas\/Evidence"},"type":"array","title":"Evidence"},"memory_tier":{"anyOf":[{"$ref":"#\/components\/schemas\/MemoryLayer"},{"type":"null"}]},"valid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid At"},"invalid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Invalid At"},"superseded_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Superseded By"},"canonical_memory_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canonical Memory Id"},"ledger_status":{"anyOf":[{"$ref":"#\/components\/schemas\/MemoryItemStatus"},{"type":"null"}]},"primary_capture_device":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Capture Device"},"capture_device_ids":{"items":{"type":"string"},"type":"array","title":"Capture Device Ids"},"ledger_schema_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ledger Schema Version"},"kind":{"anyOf":[{"$ref":"#\/components\/schemas\/MemoryKind"},{"type":"null"}]},"slot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slot"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"curation_weight":{"type":"integer","title":"Curation Weight","default":0},"trigger_condition":{"additionalProperties":true,"type":"object","title":"Trigger Condition"},"intent_backed":{"type":"boolean","title":"Intent Backed","default":false},"write_reason":{"anyOf":[{"$ref":"#\/components\/schemas\/LedgerWriteReason"},{"type":"null"}]},"layer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Layer","description":"Canonical product lifecycle layer (Q6\/WS-K); derived from memory_tier at serialization only.","readOnly":true}},"type":"object","required":["content","id","uid","created_at","updated_at","layer"],"title":"MemoryDB"},"MemoryEditResponse":{"properties":{"status":{"type":"string","title":"Status"},"memory":{"anyOf":[{"$ref":"#\/components\/schemas\/MemoryDB"},{"type":"null"}]}},"type":"object","required":["status"],"title":"MemoryEditResponse","description":"Additive authoritative readback for edits that replace a ledger row."},"MemoryEvidence":{"properties":{"evidence_id":{"type":"string","title":"Evidence Id"},"source_type":{"type":"string","title":"Source Type"},"source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Id"},"source_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Version"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"artifact_refs":{"items":{"$ref":"#\/components\/schemas\/ArtifactRef"},"type":"array","title":"Artifact Refs"},"artifact_preservation":{"$ref":"#\/components\/schemas\/ArtifactPreservationState"},"quote_refs":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Quote Refs"},"content_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Hash"},"lineage_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lineage Id"},"source_state":{"$ref":"#\/components\/schemas\/SourceState","default":"active"},"source_state_reason":{"anyOf":[{"$ref":"#\/components\/schemas\/SourceStateReason"},{"type":"null"}]},"provenance_visibility":{"$ref":"#\/components\/schemas\/ProvenanceVisibility","default":"visible"},"redaction_status":{"$ref":"#\/components\/schemas\/RedactionStatus","default":"active"},"encryption_or_redaction_status":{"$ref":"#\/components\/schemas\/RedactionStatus","default":"active"},"patch_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Patch Id"},"commit_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Commit Id"},"client_device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Device Id"},"captured_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Captured At"},"source_signal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Signal"},"extractor_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extractor Id"},"extractor_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extractor Version"},"capture_confidence":{"anyOf":[{"type":"number","maximum":1,"minimum":0},{"type":"null"}],"title":"Capture Confidence"},"independence_group":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Independence Group"},"attribution":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attribution"}},"type":"object","required":["evidence_id","source_type","artifact_preservation"],"title":"MemoryEvidence"},"MemoryGlobalReadGateObservability":{"properties":{"source_path":{"type":"string","title":"Source Path","description":"Firestore source path of the global read gate."},"read_decision":{"type":"string","title":"Read Decision","description":"Server read decision value (USE_MEMORY or DENY_MEMORY)."},"fallback_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fallback Reason","description":"Fallback reason when reads are disabled."},"reason":{"type":"string","title":"Reason","description":"Effective reason (fallback_reason when present, else the gate reason)."}},"type":"object","required":["source_path","read_decision","reason"],"title":"MemoryGlobalReadGateObservability","description":"Global memory read kill-switch observability attached to search responses."},"MemoryHygieneEdit":{"properties":{"kind":{"type":"string","enum":["retire_memory","supersede_memory"],"title":"Kind","description":"Retire garbage (not merely low-importance facts), facts misattributed from another speaker, or facts contradicted by evidence. Supersede an old fact only with a newer time-scoped fact about the same attribute; age alone is not staleness."},"target":{"type":"string","title":"Target","description":"Supplied record ref to edit, optionally with #segment-id or #start-seconds. One spelling edit fixes every occurrence in its target; with a fragment, only that transcript segment is changed."},"before":{"type":"string","title":"Before","description":"Exact wrong text as it appears in the target, including its capitalization. For spelling, one edit fixes every occurrence of this text.","default":""},"other":{"type":"string","title":"Other","description":"For supersede_memory, the supplied newer memory ref. Otherwise empty. Choose exactly one of other or after.","default":""},"after":{"type":"string","maxLength":2000,"title":"After","description":"For supersede_memory without other, the newer time-scoped fact text supported by conversations. Empty for retire_memory.","default":""},"effective_from":{"type":"string","maxLength":40,"title":"Effective From","description":"For supersede_memory: optional timezone-aware ISO 8601 time when the cited evidence says the new fact became true. Never invent a time; omit to use apply time.","default":""},"reason":{"type":"string","maxLength":1000,"minLength":1,"title":"Reason","description":"Required explanation of garbage, another speaker attribution, contradiction, or the newer fact about the same attribute."},"evidence":{"items":{"type":"string"},"type":"array","maxItems":10,"minItems":1,"title":"Evidence","description":"Supplied conversation refs or other memory refs supporting retirement or replacement. The target alone is not evidence."}},"additionalProperties":false,"type":"object","required":["kind","target","reason","evidence"],"title":"MemoryHygieneEdit"},"MemoryImportBatchItem":{"properties":{"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"occurred_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Occurred At"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"snippet":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snippet"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content"},"content_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Hash"},"metadata":{"additionalProperties":true,"type":"object","title":"Metadata"},"client_device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Device Id"}},"type":"object","title":"MemoryImportBatchItem"},"MemoryImportBatchRequest":{"properties":{"source_type":{"type":"string","title":"Source Type"},"import_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Import Run Id"},"source_account_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Account Hash"},"importer_version":{"type":"string","title":"Importer Version","default":"v1"},"extractor_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extractor Version"},"items":{"items":{"$ref":"#\/components\/schemas\/MemoryImportBatchItem"},"type":"array","maxItems":100,"title":"Items"}},"type":"object","required":["source_type"],"title":"MemoryImportBatchRequest"},"MemoryImportBatchResponse":{"properties":{"run_id":{"type":"string","title":"Run Id"},"artifacts_received":{"type":"integer","title":"Artifacts Received"},"artifacts_created":{"type":"integer","title":"Artifacts Created"},"artifacts_deduped":{"type":"integer","title":"Artifacts Deduped"},"candidates_created":{"type":"integer","title":"Candidates Created","default":0},"status":{"$ref":"#\/components\/schemas\/MemoryImportRunStatus","default":"received"}},"type":"object","required":["run_id","artifacts_received","artifacts_created","artifacts_deduped"],"title":"MemoryImportBatchResponse"},"MemoryImportRunStatus":{"type":"string","enum":["received","extracting","completed","failed","cancelled"],"title":"MemoryImportRunStatus"},"MemoryItemStatus":{"type":"string","enum":["active","superseded","hidden","tombstoned"],"title":"MemoryItemStatus"},"MemoryKind":{"type":"string","enum":["fact","document","trigger"],"title":"MemoryKind","description":"Semantic kind for the intent-backed knowledge ledger.\n\n``tier`` remains a storage-compatibility projection during the client\nmigration. It is not the lifecycle authority for ledger rows."},"MemoryLayer":{"type":"string","enum":["short_term","long_term","archive"],"title":"MemoryLayer"},"MemoryLinkSpec":{"properties":{"type":{"type":"string","const":"memoryLink","title":"Type"},"memory_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Memory Id"},"summary":{"type":"string","maxLength":200,"minLength":1,"title":"Summary"}},"additionalProperties":false,"type":"object","required":["type","memory_id","summary"],"title":"MemoryLinkSpec"},"MemoryMutationResponse":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"MemoryMutationResponse"},"MemoryReadStatusRequest":{"properties":{"is_read":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Read"},"is_dismissed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Dismissed"}},"additionalProperties":false,"type":"object","title":"MemoryReadStatusRequest","description":"Durable UI read\/dismiss mutation for a single memory."},"MemoryRevertRequest":{"properties":{"operation_id":{"type":"string","format":"uuid","title":"Operation Id"}},"additionalProperties":false,"type":"object","required":["operation_id"],"title":"MemoryRevertRequest","description":"Retry-stable client intent for one append-only history restore."},"MemoryReviewItemResponse":{"properties":{"review_id":{"type":"string","title":"Review Id"},"status":{"type":"string","title":"Status","default":"pending"}},"additionalProperties":true,"type":"object","required":["review_id"],"title":"MemoryReviewItemResponse"},"MemorySearchPolicyPayload":{"properties":{"consumer":{"type":"string","title":"Consumer","description":"Memory consumer value (e.g. omi_chat)."},"app_has_default_memory_grant":{"type":"boolean","title":"App Has Default Memory Grant","description":"Whether the caller holds the default-memory grant."},"archive_capability":{"type":"boolean","title":"Archive Capability","description":"Whether the policy grants Archive access."},"raw_provenance_capability":{"type":"boolean","title":"Raw Provenance Capability","description":"Whether raw provenance access is granted."}},"type":"object","required":["consumer","app_has_default_memory_grant","archive_capability","raw_provenance_capability"],"title":"MemorySearchPolicyPayload","description":"Access-policy snapshot attached to product memory search responses."},"MemorySearchResponse":{"properties":{"memories":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Memories"},"effective_limit":{"type":"integer","title":"Effective Limit","default":20},"search_coverage":{"type":"string","title":"Search Coverage"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["search_coverage"],"title":"MemorySearchResponse"},"MemorySubjectScope":{"type":"string","enum":["primary_user","user_owned_project","user_relationship","third_party"],"title":"MemorySubjectScope"},"MemorySummaryRatingResponse":{"properties":{"has_rating":{"type":"boolean","title":"Has Rating"},"rating":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rating"}},"type":"object","required":["has_rating"],"title":"MemorySummaryRatingResponse"},"MemoryValueRequest":{"properties":{"value":{"type":"string","title":"Value"}},"additionalProperties":false,"type":"object","required":["value"],"title":"MemoryValueRequest","description":"Canonical body for single-value memory mutations."},"MentorNotificationSettingsResponse":{"properties":{"frequency":{"type":"integer","title":"Frequency"}},"type":"object","required":["frequency"],"title":"MentorNotificationSettingsResponse"},"MentorNotificationSettingsUpdate":{"properties":{"frequency":{"type":"integer","title":"Frequency"}},"type":"object","required":["frequency"],"title":"MentorNotificationSettingsUpdate"},"MergeConversationsRequest":{"properties":{"conversation_ids":{"items":{"type":"string"},"type":"array","minItems":2,"title":"Conversation Ids","description":"IDs of conversations to merge (minimum 2)"},"reprocess":{"type":"boolean","title":"Reprocess","description":"Whether to regenerate summary from merged transcript","default":true}},"type":"object","required":["conversation_ids"],"title":"MergeConversationsRequest","description":"Request model for merging multiple conversations."},"MergeConversationsResponse":{"properties":{"status":{"type":"string","title":"Status","description":"Current merge status","default":"merging"},"message":{"type":"string","title":"Message","description":"Status message","default":"Merge started"},"warning":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Warning","description":"Warning message (e.g., large time gaps)"},"conversation_ids":{"items":{"type":"string"},"type":"array","title":"Conversation Ids","description":"All conversation IDs being merged"},"merged_conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Merged Conversation Id","description":"Stable target ID allocated at admission; the worker may not have created it yet"}},"type":"object","required":["conversation_ids"],"title":"MergeConversationsResponse","description":"Response model for merge initiation."},"Message":{"properties":{"id":{"type":"string","title":"Id"},"text":{"type":"string","title":"Text"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"sender":{"$ref":"#\/components\/schemas\/MessageSender"},"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"},"plugin_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plugin Id"},"from_external_integration":{"type":"boolean","title":"From External Integration","default":false},"type":{"$ref":"#\/components\/schemas\/MessageType"},"memories_id":{"items":{"type":"string"},"type":"array","title":"Memories Id","default":[]},"memories":{"items":{"$ref":"#\/components\/schemas\/MessageConversation"},"type":"array","title":"Memories","default":[]},"reported":{"type":"boolean","title":"Reported","default":false},"report_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Report Reason"},"files_id":{"items":{"type":"string"},"type":"array","title":"Files Id","default":[]},"files":{"items":{"$ref":"#\/components\/schemas\/FileChat"},"type":"array","title":"Files","default":[]},"chat_session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Session Id"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"data_protection_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Protection Level"},"langsmith_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Langsmith Run Id"},"prompt_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt Name"},"prompt_commit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt Commit"},"rating":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rating"},"metadata":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Metadata"},"content_blocks":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Content Blocks","description":"Structured chat content blocks. New rows store these directly; legacy rows are projected from metadata.content_blocks."},"evidence":{"anyOf":[{"$ref":"#\/components\/schemas\/ChatEvidenceEnvelope"},{"type":"null"}]},"client_message_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Message Id"},"message_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Source"},"journal_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Journal Revision"},"chart_data":{"anyOf":[{"$ref":"#\/components\/schemas\/ChartData"},{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Chart Data"}},"type":"object","required":["id","text","created_at","sender","type"],"title":"Message"},"MessageConversation":{"properties":{"id":{"type":"string","title":"Id"},"structured":{"$ref":"#\/components\/schemas\/MessageConversationStructured"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","structured","created_at"],"title":"MessageConversation"},"MessageConversationStructured":{"properties":{"title":{"type":"string","title":"Title"},"emoji":{"type":"string","title":"Emoji"}},"type":"object","required":["title","emoji"],"title":"MessageConversationStructured"},"MessageReportResponse":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"MessageReportResponse"},"MessageSender":{"type":"string","enum":["ai","human"],"title":"MessageSender"},"MessageType":{"type":"string","enum":["text","day_summary"],"title":"MessageType"},"MigrateConversationItemsResponse":{"properties":{"status":{"type":"string","title":"Status","description":"Ack status, e.g. \"ok\".","default":"ok"},"migrated":{"type":"integer","title":"Migrated","description":"Retained compatibility field; always zero for the retired migration.","default":0},"deleted":{"type":"integer","title":"Deleted","description":"Retained compatibility field; always zero for the retired migration.","default":0},"restored":{"type":"integer","title":"Restored","description":"Number of legacy action items restored by the retired migration route.","default":0},"skipped_existing":{"type":"integer","title":"Skipped Existing","description":"Marked rows left staged because a current action item with that identity already exists.","default":0},"has_more":{"type":"boolean","title":"Has More","description":"Always false: the released single-call route completes recovery before acknowledging success.","default":false},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Always absent on the released single-call compatibility route."}},"type":"object","title":"MigrateConversationItemsResponse","description":"Compatibility response for the retired conversation migration route.\n\nThe released ``migrated``\/``deleted`` fields stay response-compatible for\nolder desktop clients; the route now reports restoration of explicitly\nmarked legacy rows instead of moving live action items."},"MigrationRequest":{"properties":{"type":{"type":"string","title":"Type"},"id":{"type":"string","title":"Id"},"target_level":{"type":"string","title":"Target Level"}},"type":"object","required":["type","id","target_level"],"title":"MigrationRequest"},"MigrationRequestsResponse":{"properties":{"needs_migration":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Needs Migration"}},"type":"object","title":"MigrationRequestsResponse"},"MigrationStatusResponse":{"properties":{"status":{"type":"string","title":"Status"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["status"],"title":"MigrationStatusResponse"},"MigrationTargetRequest":{"properties":{"target_level":{"type":"string","title":"Target Level"}},"type":"object","required":["target_level"],"title":"MigrationTargetRequest"},"MintRequest":{"properties":{"provider":{"type":"string","title":"Provider"}},"type":"object","required":["provider"],"title":"MintRequest"},"MobileFeedbackKind":{"type":"string","enum":["summary_helpfulness","recording_quality"],"title":"MobileFeedbackKind","description":"Explicit mobile feedback surfaces with separate reason taxonomies."},"MobileFeedbackReason":{"type":"string","enum":["summary_inaccurate","summary_incomplete","summary_irrelevant","summary_wrong_context","summary_other","recording_missing_audio","recording_poor_transcription","recording_wrong_speaker","recording_delayed_or_stuck","recording_fragmented_or_duplicated","recording_other"],"title":"MobileFeedbackReason","description":"Closed reasons mobile can attach to explicit output feedback.\n\nReasons intentionally describe the failure mode rather than asking a\nmodel to classify free text.  Positive feedback can omit a reason;\nnegative feedback may send one of these values only."},"MobileFeedbackReceipt":{"properties":{"schema_version":{"type":"string","const":"mobile_feedback_receipt.v1","title":"Schema Version","default":"mobile_feedback_receipt.v1"},"feedback_id":{"type":"string","title":"Feedback Id"},"event_id":{"type":"string","title":"Event Id"},"created":{"type":"boolean","title":"Created"},"persisted":{"type":"boolean","const":true,"title":"Persisted","default":true}},"type":"object","required":["feedback_id","event_id","created"],"title":"MobileFeedbackReceipt"},"MobileFeedbackRequest":{"properties":{"schema_version":{"type":"string","const":"mobile_feedback.v1","title":"Schema Version","default":"mobile_feedback.v1"},"feedback_id":{"type":"string","maxLength":128,"minLength":1,"title":"Feedback Id"},"kind":{"$ref":"#\/components\/schemas\/MobileFeedbackKind"},"target_kind":{"anyOf":[{"type":"string","enum":["conversation","recording"]},{"type":"null"}],"title":"Target Kind"},"target_id":{"type":"string","maxLength":256,"minLength":1,"title":"Target Id"},"value":{"type":"integer","enum":[-1,1],"title":"Value"},"reason":{"anyOf":[{"$ref":"#\/components\/schemas\/MobileFeedbackReason"},{"type":"null"}]},"comment":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Comment"},"app_version":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"App Version"},"app_build":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"App Build"},"platform":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Platform"},"client_app_namespace":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Client App Namespace"},"client_app_profile":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Client App Profile"},"correlation_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Correlation Id"}},"type":"object","required":["feedback_id","kind","target_id","value"],"title":"MobileFeedbackRequest","description":"Authenticated, idempotent mobile summary\/recording feedback write."},"MonthlySwitchRequest":{"properties":{"price_id":{"type":"string","maxLength":255,"minLength":1,"title":"Price Id"},"expected_amount":{"type":"integer","minimum":1,"title":"Expected Amount"}},"type":"object","required":["price_id","expected_amount"],"title":"MonthlySwitchRequest"},"MoveConversationRequest":{"properties":{"folder_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Folder Id"}},"type":"object","title":"MoveConversationRequest","description":"Request model for moving a conversation to a folder."},"NonActiveRoute":{"type":"string","enum":["review","archive","context_only","reject","hidden","skip"],"title":"NonActiveRoute"},"NonActiveRouteAuditEvidence":{"properties":{"uid":{"type":"string","title":"Uid"},"outcome_id":{"type":"string","title":"Outcome Id"},"route":{"$ref":"#\/components\/schemas\/NonActiveRoute"},"source_ids":{"items":{"type":"string"},"type":"array","title":"Source Ids"},"terminal_outcome":{"type":"string","title":"Terminal Outcome"},"run_id":{"type":"string","title":"Run Id"},"patch_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Patch Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"remediation_state":{"type":"string","title":"Remediation State"},"preserved":{"type":"boolean","title":"Preserved"},"observable_loss":{"type":"boolean","title":"Observable Loss"},"accounted":{"type":"boolean","title":"Accounted","default":true},"default_long_term_visible":{"type":"boolean","title":"Default Long Term Visible","default":false}},"type":"object","required":["uid","outcome_id","route","source_ids","terminal_outcome","run_id","created_at","remediation_state","preserved","observable_loss"],"title":"NonActiveRouteAuditEvidence"},"NonActiveRouteAuditReport":{"properties":{"uid":{"type":"string","title":"Uid"},"status":{"type":"string","title":"Status"},"total_accounted_outcomes":{"type":"integer","title":"Total Accounted Outcomes"},"counts_by_route":{"additionalProperties":{"type":"integer"},"type":"object","title":"Counts By Route"},"evidence":{"items":{"$ref":"#\/components\/schemas\/NonActiveRouteAuditEvidence"},"type":"array","title":"Evidence"},"missing_source_ids":{"items":{"type":"string"},"type":"array","title":"Missing Source Ids"},"red_reasons":{"items":{"type":"string"},"type":"array","title":"Red Reasons"}},"type":"object","required":["uid","status","total_accounted_outcomes","counts_by_route"],"title":"NonActiveRouteAuditReport"},"NormalizedContextMatch":{"properties":{"subject_kind":{"$ref":"#\/components\/schemas\/RecommendationSubjectKind"},"subject_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Subject Id"},"signals":{"items":{"$ref":"#\/components\/schemas\/ContextMatchSignal"},"type":"array","maxItems":4,"minItems":1,"title":"Signals"}},"additionalProperties":false,"type":"object","required":["subject_kind","subject_id","signals"],"title":"NormalizedContextMatch"},"NormalizedContextSnapshot":{"properties":{"schema_version":{"type":"integer","const":1,"title":"Schema Version","default":1},"device_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Device Id"},"snapshot_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Snapshot Id"},"matches":{"items":{"$ref":"#\/components\/schemas\/NormalizedContextMatch"},"type":"array","maxItems":32,"title":"Matches"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"additionalProperties":false,"type":"object","required":["device_id","snapshot_id","generated_at","expires_at"],"title":"NormalizedContextSnapshot","description":"A bounded local match result; raw local context has no field to enter through."},"NormalizedRect":{"properties":{"x":{"type":"number","title":"X"},"y":{"type":"number","title":"Y"},"width":{"type":"number","title":"Width"},"height":{"type":"number","title":"Height"}},"additionalProperties":false,"type":"object","required":["x","y","width","height"],"title":"NormalizedRect"},"NoteClaim":{"properties":{"target":{"type":"string","title":"Target","description":"JSON pointer to a visible field, e.g. \/sections\/0\/body_markdown"},"text":{"type":"string","title":"Text","description":"Exact factual clause within that field"},"evidence_ids":{"items":{"type":"string"},"type":"array","title":"Evidence Ids","description":"Smallest sufficient episode evidence IDs"},"provenance":{"type":"string","enum":["said","shown","written","inferred"],"title":"Provenance"},"evidence_sources":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/NoteEvidenceRef"},"type":"array"},{"type":"null"}],"title":"Evidence Sources","description":"Server-authored source metadata; model may omit"}},"type":"object","required":["target","text","evidence_ids","provenance"],"title":"NoteClaim"},"NoteEvidenceRef":{"properties":{"id":{"type":"string","title":"Id"},"source_kind":{"type":"string","title":"Source Kind"},"time":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Time"},"actor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actor"},"diarization_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Diarization Key"},"source_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Ref"}},"type":"object","required":["id","source_kind"],"title":"NoteEvidenceRef"},"NotificationSettingsResponse":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"frequency":{"type":"integer","title":"Frequency"}},"type":"object","required":["enabled","frequency"],"title":"NotificationSettingsResponse"},"OAuthTokenResponse":{"properties":{"uid":{"type":"string","title":"Uid","description":"Authenticated user UID."},"redirect_url":{"type":"string","title":"Redirect Url","description":"URL to redirect the user back to the app."},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State","description":"Opaque state value passed through from the authorize request."}},"type":"object","required":["uid","redirect_url"],"title":"OAuthTokenResponse","description":"OAuth token-exchange response for app integrations."},"OfflineQueueInstruction":{"type":"string","enum":["none","drain","quarantine"],"title":"OfflineQueueInstruction","description":"Server instruction for legacy offline\/outbox queues on clients.\n\n``drain`` is only legal before the migration fence (legacy plane still\nwritable). ``quarantine`` applies once the account enters ``migrating``."},"OnboardingStateResponse":{"properties":{"completed":{"type":"boolean","title":"Completed","default":false},"acquisition_source":{"type":"string","title":"Acquisition Source","default":""},"device_onboarding_completed":{"type":"boolean","title":"Device Onboarding Completed","default":false}},"type":"object","title":"OnboardingStateResponse"},"OnboardingStateUpdate":{"properties":{"completed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Completed"},"acquisition_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Acquisition Source"},"device_onboarding_completed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Device Onboarding Completed"}},"type":"object","title":"OnboardingStateUpdate"},"OpenLoopAnswerRequest":{"properties":{"action":{"type":"string","enum":["done","remind","drop"],"title":"Action"}},"type":"object","required":["action"],"title":"OpenLoopAnswerRequest"},"OpenLoopAnswerResponse":{"properties":{"card_id":{"type":"string","title":"Card Id"},"date":{"type":"string","title":"Date"},"state":{"type":"string","enum":["done","remind","dropped"],"title":"State"}},"type":"object","required":["card_id","date","state"],"title":"OpenLoopAnswerResponse"},"OpenLoopCard":{"properties":{"card_id":{"type":"string","title":"Card Id"},"date":{"type":"string","title":"Date"},"question":{"type":"string","title":"Question"},"context_line":{"type":"string","title":"Context Line"}},"type":"object","required":["card_id","date","question","context_line"],"title":"OpenLoopCard"},"OpenLoopCardsResponse":{"properties":{"cards":{"items":{"$ref":"#\/components\/schemas\/OpenLoopCard"},"type":"array","title":"Cards"}},"type":"object","title":"OpenLoopCardsResponse"},"OpenLoopDescriptor":{"properties":{"loop_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Loop Id"},"kind":{"$ref":"#\/components\/schemas\/OpenLoopKind"},"subject_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Subject Id"},"status":{"$ref":"#\/components\/schemas\/OpenLoopStatus"},"next_action_code":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Next Action Code"},"blocking_on_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Blocking On Id"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["loop_id","kind","subject_id","status","next_action_code","updated_at"],"title":"OpenLoopDescriptor"},"OpenLoopKind":{"type":"string","enum":["task","artifact","decision","approval","external_wait"],"title":"OpenLoopKind"},"OpenLoopSnapshot":{"properties":{"schema_version":{"type":"integer","const":1,"title":"Schema Version","default":1},"device_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Device Id"},"owner":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Owner"},"runtime_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Runtime Id"},"workstream_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Workstream Id"},"conversation_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Conversation Id"},"context_packet_version":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Context Packet Version"},"checkpoint_ref":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Checkpoint Ref"},"open_loop_snapshot":{"items":{"$ref":"#\/components\/schemas\/OpenLoopDescriptor"},"type":"array","maxItems":32,"title":"Open Loop Snapshot"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"additionalProperties":false,"type":"object","required":["device_id","owner","runtime_id","workstream_id","conversation_id","context_packet_version","generated_at","expires_at"],"title":"OpenLoopSnapshot"},"OpenLoopStatus":{"type":"string","enum":["open","blocked","awaiting_user","awaiting_external"],"title":"OpenLoopStatus"},"OutcomeCreate":{"properties":{"attribution_chain_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Attribution Chain Id"},"subject_kind":{"$ref":"#\/components\/schemas\/FeedbackSubjectKind"},"subject_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Subject Id"},"outcome_code":{"$ref":"#\/components\/schemas\/TaskIntelligenceOutcomeCode"}},"additionalProperties":false,"type":"object","required":["attribution_chain_id","subject_kind","subject_id","outcome_code"],"title":"OutcomeCreate"},"OutcomeRecord":{"properties":{"attribution_chain_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Attribution Chain Id"},"subject_kind":{"$ref":"#\/components\/schemas\/FeedbackSubjectKind"},"subject_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Subject Id"},"outcome_code":{"$ref":"#\/components\/schemas\/TaskIntelligenceOutcomeCode"},"outcome_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Outcome Id"},"occurred_at":{"type":"string","format":"date-time","title":"Occurred At"}},"additionalProperties":false,"type":"object","required":["attribution_chain_id","subject_kind","subject_id","outcome_code","outcome_id","occurred_at"],"title":"OutcomeRecord"},"OverageInfoResponse":{"properties":{"plan":{"type":"string","title":"Plan"},"plan_type":{"type":"string","title":"Plan Type"},"is_overage_plan":{"type":"boolean","title":"Is Overage Plan"},"included_questions":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Included Questions"},"included_cost_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Included Cost Usd"},"used_questions":{"type":"integer","title":"Used Questions","default":0},"excess_questions":{"type":"integer","title":"Excess Questions","default":0},"real_cost_usd":{"type":"number","title":"Real Cost Usd","default":0},"overage_usd":{"type":"number","title":"Overage Usd","default":0},"markup_multiplier":{"type":"number","title":"Markup Multiplier"},"markup_percent":{"type":"number","title":"Markup Percent"},"reset_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reset At"},"explainer_title":{"type":"string","title":"Explainer Title"},"explainer_body":{"type":"string","title":"Explainer Body"},"provider_reference_rates":{"additionalProperties":true,"type":"object","title":"Provider Reference Rates"},"byok_available":{"type":"boolean","title":"Byok Available","default":true}},"type":"object","required":["plan","plan_type","is_overage_plan","markup_multiplier","markup_percent","explainer_title","explainer_body","provider_reference_rates"],"title":"OverageInfoResponse"},"PageContext":{"properties":{"type":{"type":"string","enum":["conversation","task","memory","recap"],"title":"Type"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"start_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"}},"type":"object","required":["type"],"title":"PageContext","description":"Page context for chat - indicates what the user is currently viewing.\n\nWhen ``type`` is ``conversation`` with an ``id``, and\/or ``start_date`` \/\n``end_date`` are set, retrieval tools hard-scope to that conversation and\/or\ntimeframe (#4515). Dates must include a timezone offset\n(YYYY-MM-DDTHH:MM:SS+HH:MM)."},"Participant":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Participant's display name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"Participant's email address"},"organization":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization","description":"Participant's organization when known"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role","description":"Participant's role or relationship when known"},"is_ai_agent":{"type":"boolean","title":"Is Ai Agent","description":"True for AI notetakers and assistants, never people","default":false},"alias":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alias","description":"Short alias explicitly asserted for this person; never derive it"},"speaker_bindings":{"items":{"type":"integer"},"type":"array","title":"Speaker Bindings","description":"Exact numeric spk keys the notes model binds to this non-owner participant; omit when uncertain"},"source":{"type":"string","enum":["roster","transcript"],"title":"Source","description":"Whether meeting metadata ('roster') or only the conversation evidences this participant"},"evidence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence","description":"Short evidence that identifies this participant; agentic notes only"}},"type":"object","required":["source"],"title":"Participant"},"PatchSpaceEntityOperation":{"properties":{"type":{"type":"string","const":"patch","title":"Type"},"fields":{"additionalProperties":true,"type":"object","title":"Fields","description":"Patch fields. Encode binary values at any depth as the reserved singleton {\"$bytes\": \"<base64>\"}."}},"additionalProperties":false,"type":"object","required":["type","fields"],"title":"PatchSpaceEntityOperation"},"PayPalPaymentDetailsResponse":{"properties":{"email":{"type":"string","title":"Email"},"paypalme_url":{"type":"string","title":"Paypalme Url"}},"type":"object","required":["email","paypalme_url"],"title":"PayPalPaymentDetailsResponse"},"PaymentCheckoutSessionResponse":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"next_billing_date":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Next Billing Date"}},"type":"object","title":"PaymentCheckoutSessionResponse"},"PaymentIssue":{"properties":{"status":{"type":"string","enum":["past_due","unpaid"],"title":"Status"},"plan":{"$ref":"#\/components\/schemas\/PlanType"},"monthly_switch":{"anyOf":[{"$ref":"#\/components\/schemas\/PaymentIssueMonthlySwitch"},{"type":"null"}]}},"type":"object","required":["status","plan"],"title":"PaymentIssue","description":"A paid plan whose renewal charge failed and can still be paid.\n\nSet only while the stored Stripe subscription is past_due or unpaid with an\nopen invoice. The fix is a Stripe-hosted page the client opens through\nPOST \/v1\/payments\/customer-portal; this response carries no payment URL."},"PaymentIssueMonthlySwitch":{"properties":{"price_id":{"type":"string","title":"Price Id"},"amount":{"type":"integer","title":"Amount"},"currency":{"type":"string","title":"Currency"},"yearly_amount":{"type":"integer","title":"Yearly Amount"}},"type":"object","required":["price_id","amount","currency","yearly_amount"],"title":"PaymentIssueMonthlySwitch","description":"The plan's catalog monthly price, charged today by POST \/v1\/payments\/payment-issue\/monthly-switch.\n\nAmounts are minor units of ``currency``. ``yearly_amount`` is the unpaid yearly charge the switch voids."},"PaymentMethodStatusResponse":{"properties":{"stripe":{"type":"string","title":"Stripe"},"paypal":{"type":"string","title":"Paypal"},"default":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default"}},"type":"object","required":["stripe","paypal"],"title":"PaymentMethodStatusResponse"},"PaymentMutationResponse":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"PaymentMutationResponse"},"PaymentStatusMessageResponse":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"}},"type":"object","required":["status","message"],"title":"PaymentStatusMessageResponse"},"PaymentSubscriptionResponse":{"properties":{"plan":{"type":"string","title":"Plan","default":"basic"},"status":{"type":"string","title":"Status","default":"active"},"stripe_subscription_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Subscription Id"},"current_period_start":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Period Start"},"current_period_end":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Period End"},"cancel_at_period_end":{"type":"boolean","title":"Cancel At Period End","default":false},"current_price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Price Id"},"features":{"items":{"type":"string"},"type":"array","title":"Features"},"limits":{"$ref":"#\/components\/schemas\/PlanLimits"},"deprecated":{"type":"boolean","title":"Deprecated","default":false},"deprecation_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deprecation Message"}},"type":"object","title":"PaymentSubscriptionResponse"},"PaymentUpgradeSubscriptionResponse":{"properties":{"status":{"type":"string","title":"Status"},"message":{"type":"string","title":"Message"},"subscription":{"$ref":"#\/components\/schemas\/PaymentSubscriptionResponse"},"days_remaining":{"type":"integer","title":"Days Remaining"},"schedule_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Schedule Id"}},"type":"object","required":["status","message","subscription","days_remaining"],"title":"PaymentUpgradeSubscriptionResponse"},"PaywallStatusResponse":{"properties":{"paywalled":{"type":"boolean","title":"Paywalled"}},"type":"object","required":["paywalled"],"title":"PaywallStatusResponse"},"PendingSyncResponse":{"properties":{"pending_export":{"items":{"$ref":"#\/components\/schemas\/models__action_item__ActionItemResponse"},"type":"array","title":"Pending Export"},"synced_items":{"items":{"$ref":"#\/components\/schemas\/models__action_item__ActionItemResponse"},"type":"array","title":"Synced Items"}},"type":"object","required":["pending_export","synced_items"],"title":"PendingSyncResponse"},"PendingWorkItem":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","enum":["conversation","sync_job"],"title":"Kind"},"state":{"type":"string","enum":["queued","transcribing","summarizing"],"title":"State"},"conversation_ids":{"items":{"type":"string"},"type":"array","title":"Conversation Ids"},"home_step":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Home Step"},"recording_count":{"type":"integer","title":"Recording Count","default":1},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"duration_seconds":{"type":"number","title":"Duration Seconds"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","kind","state","conversation_ids","started_at","duration_seconds","updated_at"],"title":"PendingWorkItem"},"PendingWorkSnapshot":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"home_processing_today":{"type":"boolean","title":"Home Processing Today","default":false},"items":{"items":{"$ref":"#\/components\/schemas\/PendingWorkItem"},"type":"array","title":"Items"},"attention_unseen_count":{"type":"integer","title":"Attention Unseen Count"}},"type":"object","required":["enabled","items","attention_unseen_count"],"title":"PendingWorkSnapshot"},"PeopleResponse":{"properties":{"people":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"People"}},"type":"object","title":"PeopleResponse"},"Person":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"speech_samples":{"items":{"type":"string"},"type":"array","title":"Speech Samples","default":[]},"speech_sample_transcripts":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Speech Sample Transcripts"},"speech_samples_version":{"type":"integer","title":"Speech Samples Version","default":3},"voice_readiness":{"$ref":"#\/components\/schemas\/VoiceReadiness","default":"unknown"},"voice_learning_state":{"type":"string","enum":["learned","pending","needs_more_speech","disabled","unknown"],"title":"Voice Learning State","default":"unknown"},"voice_speech_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Voice Speech Seconds"},"voice_needed_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Voice Needed Seconds"},"pinned":{"type":"boolean","title":"Pinned","default":false},"pinned_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Pinned At"},"confidence":{"$ref":"#\/components\/schemas\/PersonConfidence","default":"unknown"},"confidence_reasons":{"items":{"$ref":"#\/components\/schemas\/PersonConfidenceReason"},"type":"array","title":"Confidence Reasons","default":[]},"labels_to_confirm":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Labels To Confirm"},"last_labeled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Labeled At"},"conversation_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Conversation Count"},"last_heard_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Heard At"},"talk_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Talk Seconds"},"auto_conversation_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Auto Conversation Count"}},"type":"object","required":["id","name"],"title":"Person"},"PersonConfidence":{"type":"string","enum":["unknown","confirmed","likely","unverified"],"title":"PersonConfidence","description":"How sure Omi is about this person's voice, from the user's own answers."},"PersonConfidenceReason":{"properties":{"code":{"type":"string","title":"Code"},"count":{"type":"integer","title":"Count","default":1}},"type":"object","required":["code"],"title":"PersonConfidenceReason"},"PersonRef":{"properties":{"person_id":{"type":"string","title":"Person Id"},"name":{"type":"string","title":"Name"},"organization":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization"}},"type":"object","required":["person_id","name"],"title":"PersonRef"},"PersonaMutationResponse":{"properties":{"status":{"type":"string","title":"Status"},"app_id":{"type":"string","title":"App Id"},"username":{"type":"string","title":"Username"}},"type":"object","required":["status","app_id","username"],"title":"PersonaMutationResponse"},"PersonaRecordResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"uid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uid"},"private":{"type":"boolean","title":"Private","default":false},"approved":{"type":"boolean","title":"Approved","default":false},"status":{"type":"string","title":"Status","default":"approved"},"category":{"type":"string","title":"Category"},"author":{"type":"string","title":"Author"},"description":{"type":"string","title":"Description"},"image":{"type":"string","title":"Image"},"capabilities":{"items":{"type":"string"},"type":"array","uniqueItems":true,"title":"Capabilities"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"connected_accounts":{"items":{"type":"string"},"type":"array","title":"Connected Accounts"},"external_integration":{"anyOf":[{"$ref":"#\/components\/schemas\/ExternalIntegration"},{"type":"null"}]},"rating_avg":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rating Avg","default":0},"rating_count":{"type":"integer","title":"Rating Count","default":0},"enabled":{"type":"boolean","title":"Enabled","default":false},"trigger_workflow_memories":{"type":"boolean","title":"Trigger Workflow Memories","default":true},"installs":{"type":"integer","title":"Installs","default":0},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score"},"proactive_notification":{"anyOf":[{"$ref":"#\/components\/schemas\/ProactiveNotification"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"is_paid":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Paid","default":false},"price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price","default":0},"payment_plan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Plan"},"payment_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Link"},"is_user_paid":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is User Paid","default":false},"thumbnails":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Thumbnails"},"thumbnail_urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Thumbnail Urls"},"is_influencer":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Influencer","default":false},"is_popular":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Popular","default":false},"official":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Official","default":false},"chat_tools":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/ChatTool"},"type":"array"},{"type":"null"}],"title":"Chat Tools"},"source_code_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Code Url"},"disabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Disabled","default":false},"disabled_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disabled Reason"},"disabled_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disabled At"},"disabled_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disabled Error"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"memory_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Memory Prompt"},"chat_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Prompt"},"persona_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Persona Prompt"},"twitter":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Twitter"},"reviews":{"items":{"$ref":"#\/components\/schemas\/AppReview"},"type":"array","title":"Reviews"},"user_review":{"anyOf":[{"$ref":"#\/components\/schemas\/AppReview"},{"type":"null"}]},"money_made":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Money Made"},"usage_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Usage Count"},"payment_product_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Product Id"},"payment_price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Price Id"},"payment_link_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Link Id"},"doc_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Doc Id"}},"type":"object","required":["id","name","category","author","description","image","capabilities"],"title":"PersonaRecordResponse"},"PhoneCallQuota":{"properties":{"has_access":{"type":"boolean","title":"Has Access"},"is_paid":{"type":"boolean","title":"Is Paid"},"monthly_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Monthly Limit"},"monthly_used":{"type":"integer","title":"Monthly Used","default":0},"remaining":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining"},"max_duration_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Duration Seconds"},"allowed_countries":{"items":{"type":"string"},"type":"array","title":"Allowed Countries","default":[]},"reset_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reset At"}},"type":"object","required":["has_access","is_paid"],"title":"PhoneCallQuota","description":"Phone call feature access + remaining-quota snapshot for the client."},"PhoneMutationResponse":{"properties":{"success":{"type":"boolean","title":"Success"}},"type":"object","required":["success"],"title":"PhoneMutationResponse"},"PhoneNumberResponse":{"properties":{"id":{"type":"string","title":"Id"},"phone_number":{"type":"string","title":"Phone Number"},"friendly_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Friendly Name"},"verified_at":{"type":"string","title":"Verified At"},"is_primary":{"type":"boolean","title":"Is Primary"}},"type":"object","required":["id","phone_number","verified_at","is_primary"],"title":"PhoneNumberResponse"},"PhoneNumbersResponse":{"properties":{"numbers":{"items":{"$ref":"#\/components\/schemas\/PhoneNumberResponse"},"type":"array","title":"Numbers"}},"type":"object","required":["numbers"],"title":"PhoneNumbersResponse"},"PlanLimits":{"properties":{"transcription_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Transcription Seconds"},"words_transcribed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Words Transcribed"},"insights_gained":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Insights Gained"},"chat_questions_per_month":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Chat Questions Per Month"},"chat_cost_usd_per_month":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Chat Cost Usd Per Month"}},"type":"object","title":"PlanLimits"},"PlanType":{"type":"string","enum":["basic","unlimited","architect","operator","plus","unlimited_v2"],"title":"PlanType"},"PlatformMinimumBuild":{"properties":{"platform":{"type":"string","maxLength":32,"minLength":1,"title":"Platform"},"minimum_supported_build":{"type":"integer","minimum":0,"title":"Minimum Supported Build"}},"additionalProperties":false,"type":"object","required":["platform","minimum_supported_build"],"title":"PlatformMinimumBuild"},"PlayBasePlan":{"properties":{"id":{"type":"string","title":"Id"},"interval":{"type":"string","enum":["month","year"],"title":"Interval"}},"type":"object","required":["id","interval"],"title":"PlayBasePlan"},"PlayBillingConfig":{"properties":{"product_id":{"type":"string","title":"Product Id"},"base_plans":{"items":{"$ref":"#\/components\/schemas\/PlayBasePlan"},"type":"array","title":"Base Plans"},"trial_offer_id":{"type":"string","title":"Trial Offer Id"},"obfuscated_account_id":{"type":"string","title":"Obfuscated Account Id"}},"type":"object","required":["product_id","base_plans","trial_offer_id","obfuscated_account_id"],"title":"PlayBillingConfig","description":"What an Android client needs to sell Omi Pro through Google Play Billing."},"PlayBillingErrorResponse":{"properties":{"detail":{"type":"string","title":"Detail"},"message":{"type":"string","title":"Message"}},"type":"object","required":["detail","message"],"title":"PlayBillingErrorResponse"},"PlayPurchaseRequest":{"properties":{"purchase_token":{"type":"string","maxLength":4096,"minLength":1,"title":"Purchase Token"},"product_id":{"type":"string","maxLength":255,"minLength":1,"title":"Product Id"}},"type":"object","required":["purchase_token","product_id"],"title":"PlayPurchaseRequest"},"PlayPurchaseResponse":{"properties":{"status":{"type":"string","enum":["active","pending","inactive"],"title":"Status"},"subscription":{"anyOf":[{"$ref":"#\/components\/schemas\/Subscription"},{"type":"null"}]}},"type":"object","required":["status"],"title":"PlayPurchaseResponse"},"PluginResult":{"properties":{"plugin_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plugin Id"},"content":{"type":"string","title":"Content"}},"type":"object","required":["plugin_id","content"],"title":"PluginResult"},"PrivateCloudSyncResponse":{"properties":{"private_cloud_sync_enabled":{"type":"boolean","title":"Private Cloud Sync Enabled"}},"type":"object","required":["private_cloud_sync_enabled"],"title":"PrivateCloudSyncResponse"},"ProactiveMaterializationDeferral":{"properties":{"intent_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Intent Id"},"code":{"type":"string","enum":["tail_question","streaming_tail"],"title":"Code"}},"additionalProperties":false,"type":"object","required":["intent_id","code"],"title":"ProactiveMaterializationDeferral","description":"A fetched intent the kernel intentionally left behind a transcript tail."},"ProactiveMaterializationReceipt":{"properties":{"intent_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Intent Id"},"receipt_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Receipt Id"}},"additionalProperties":false,"type":"object","required":["intent_id","receipt_id"],"title":"ProactiveMaterializationReceipt","description":"Content-free receipt emitted only after the local journal commits."},"ProactiveMaterializationReceiptOutcome":{"properties":{"intent_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Intent Id"},"outcome":{"type":"string","enum":["acknowledged","already_terminal","missing","conflict","generation_mismatch"],"title":"Outcome"}},"additionalProperties":false,"type":"object","required":["intent_id","outcome"],"title":"ProactiveMaterializationReceiptOutcome"},"ProactiveMaterializationRejection":{"properties":{"intent_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Intent Id"},"code":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[a-z0-9_]+$","title":"Code"},"message":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Message"}},"additionalProperties":false,"type":"object","required":["intent_id","code"],"title":"ProactiveMaterializationRejection","description":"Content-free typed rejection emitted by the local kernel."},"ProactiveMaterializationRejectionOutcome":{"properties":{"intent_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Intent Id"},"outcome":{"type":"string","enum":["recorded","absorbed","generation_mismatch","malformed","missing"],"title":"Outcome"}},"additionalProperties":false,"type":"object","required":["intent_id","outcome"],"title":"ProactiveMaterializationRejectionOutcome"},"ProactiveNotification":{"properties":{"scopes":{"items":{"type":"string"},"type":"array","uniqueItems":true,"title":"Scopes"}},"type":"object","required":["scopes"],"title":"ProactiveNotification"},"ProactivityFeedItem":{"properties":{"id":{"type":"string","title":"Id"},"producer":{"type":"string","title":"Producer"},"created_at":{"type":"string","title":"Created At"},"title":{"type":"string","maxLength":120,"minLength":1,"title":"Title"},"body":{"type":"string","maxLength":1000,"minLength":1,"title":"Body"},"target":{"$ref":"#\/components\/schemas\/ProactivityTarget"},"acted":{"type":"boolean","title":"Acted"},"dismissed":{"type":"boolean","title":"Dismissed"},"feedback":{"type":"string","enum":["none","thumbs_up","thumbs_down"],"title":"Feedback"}},"additionalProperties":false,"type":"object","required":["id","producer","created_at","title","body","target","acted","dismissed","feedback"],"title":"ProactivityFeedItem"},"ProactivityFeedResponse":{"properties":{"schema_version":{"type":"integer","const":1,"title":"Schema Version","default":1},"enabled":{"type":"boolean","title":"Enabled"},"items":{"items":{"$ref":"#\/components\/schemas\/ProactivityFeedItem"},"type":"array","title":"Items"},"next_cursor":{"type":"string","title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"},"server_time":{"type":"string","title":"Server Time"}},"additionalProperties":false,"type":"object","required":["enabled","items","next_cursor","has_more","server_time"],"title":"ProactivityFeedResponse"},"ProactivityOutcomeRequest":{"properties":{"event_id":{"type":"string","format":"uuid","title":"Event Id"},"action":{"type":"string","enum":["shown","opened","accepted","thumbs_up","replied","thumbs_down","producer_disabled","dismissed","timeout"],"title":"Action"},"surface":{"type":"string","enum":["ios","android","macos","windows"],"title":"Surface"},"channel":{"type":"string","enum":["feed","push"],"title":"Channel"}},"additionalProperties":false,"type":"object","required":["event_id","action","surface","channel"],"title":"ProactivityOutcomeRequest"},"ProactivityOutcomeResponse":{"properties":{"item_id":{"type":"string","title":"Item Id"},"recorded":{"type":"boolean","title":"Recorded"},"acted_24h":{"type":"boolean","title":"Acted 24H"},"negative":{"type":"boolean","title":"Negative"}},"additionalProperties":false,"type":"object","required":["item_id","recorded","acted_24h","negative"],"title":"ProactivityOutcomeResponse"},"ProactivityTarget":{"properties":{"kind":{"type":"string","enum":["conversation","action_item"],"title":"Kind"},"id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[^\/]+$","title":"Id"}},"additionalProperties":false,"type":"object","required":["kind","id"],"title":"ProactivityTarget"},"ProcessConversationRequest":{"properties":{"calendar_meeting_context":{"anyOf":[{"$ref":"#\/components\/schemas\/CalendarMeetingContext-Input"},{"type":"null"}]},"live_conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Live Conversation Id","description":"Optional live v3 window to Finish when no active recording is found."},"client_processing":{"anyOf":[{},{"type":"null"}],"title":"Client Processing","description":"Untrusted client-authored display projection. Accepted as a raw payload and validated in the handler so a malformed projection cannot 422 a finished recording. Hash-bound to the persisted transcript. Display only \u2014 never an input to intelligence."}},"type":"object","title":"ProcessConversationRequest"},"ProcessingBacklog":{"properties":{"state":{"type":"string","enum":["capped","waiting_choice","processing","none"],"title":"State"},"budget_exhausted":{"type":"boolean","title":"Budget Exhausted","default":false},"held_audio_count":{"type":"integer","title":"Held Audio Count","default":0},"held_audio_seconds":{"type":"integer","title":"Held Audio Seconds","default":0},"deferred_conversations":{"type":"integer","title":"Deferred Conversations","default":0},"deferred_seconds":{"type":"integer","title":"Deferred Seconds","default":0},"estimated_units":{"type":"number","title":"Estimated Units","default":0},"estimated_hours":{"type":"number","title":"Estimated Hours","default":0},"estimated_percent":{"type":"number","title":"Estimated Percent","default":0},"remaining_units":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Remaining Units"},"exceeds_remaining":{"type":"boolean","title":"Exceeds Remaining","default":false}},"type":"object","required":["state"],"title":"ProcessingBacklog"},"ProcessingState":{"type":"string","enum":["pending","processed","blocked"],"title":"ProcessingState"},"ProductMemorySearchItem":{"properties":{"memory_id":{"type":"string","title":"Memory Id","description":"Logical memory id."},"memory_layer":{"type":"string","title":"Memory Layer","description":"Read layer that produced the row (always product_memory here)."},"tier":{"type":"string","title":"Tier","description":"Memory tier value (short_term, long_term, archive)."},"content":{"type":"string","title":"Content","description":"Memory content text."},"lifecycle_status":{"type":"string","title":"Lifecycle Status","description":"Lifecycle status of the underlying item."},"processing_state":{"type":"string","title":"Processing State","description":"Processing state of the underlying item."},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence","description":"Confidence score when the layer emits one."},"visibility":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Visibility","description":"Visibility of the memory."},"visibility_source":{"type":"string","title":"Visibility Source","description":"Which read seam decided the visibility value."},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","description":"Primary evidence source id, when present."},"date":{"type":"string","title":"Date","description":"ISO-8601 timestamp of the last update."},"evidence":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Evidence","description":"Evidence payloads for the row."},"agent_use":{"type":"string","title":"Agent Use","description":"How an agent may use this row."},"access_reason":{"type":"string","title":"Access Reason","description":"Why this row was admitted by the access policy."},"superseded_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Superseded By","description":"Memory id that supersedes this row, if any."}},"additionalProperties":true,"type":"object","required":["memory_id","memory_layer","tier","content","lifecycle_status","processing_state","visibility_source","date","agent_use","access_reason"],"title":"ProductMemorySearchItem","description":"One product memory search result row.\n\nThis is the projection the read seam emits (``_product_memory_result`` in\n``utils.memory.memory_read_api`` and the equivalent universal projection in\n``MemoryService.default_product_search``) \u2014 not a raw ``MemoryItem``.\nUnknown keys are preserved so a projection gaining a field does not silently\ndrop it from the wire."},"ProductMemorySearchResponse":{"properties":{"uid":{"type":"string","title":"Uid","description":"Authenticated user id."},"query":{"type":"string","title":"Query","description":"Search query string."},"items":{"items":{"$ref":"#\/components\/schemas\/ProductMemorySearchItem"},"type":"array","title":"Items","description":"Default-visible memory rows for the current page."},"total_count":{"type":"integer","title":"Total Count","description":"Total default-visible items matching the query."},"returned_count":{"type":"integer","title":"Returned Count","description":"Number of items returned in this page."},"limit":{"type":"integer","title":"Limit","description":"Bounded page size used for this response."},"offset":{"type":"integer","title":"Offset","description":"Offset into the result set for this page."},"archive_default_visible":{"type":"boolean","title":"Archive Default Visible","description":"Always false; Archive is never default-visible."},"policy":{"$ref":"#\/components\/schemas\/MemorySearchPolicyPayload","description":"Access-policy snapshot used for this read."},"global_read_gate":{"$ref":"#\/components\/schemas\/MemoryGlobalReadGateObservability","description":"Global read kill-switch observability."},"rollout":{"$ref":"#\/components\/schemas\/ProductRolloutObservability","description":"Per-route default-read rollout observability."}},"type":"object","required":["uid","query","items","total_count","returned_count","limit","offset","archive_default_visible","policy","global_read_gate","rollout"],"title":"ProductMemorySearchResponse","description":"Default-visible product memory search response.\n\nReturned by ``GET \/memory\/search``."},"ProductRolloutObservability":{"properties":{"consumer":{"type":"string","title":"Consumer","description":"Memory consumer (mcp, developer_api, omi_chat)."},"enabled":{"type":"boolean","title":"Enabled","description":"Whether default memory reads are enabled for this consumer."},"reason":{"type":"string","title":"Reason","description":"Effective reason (fallback_reason when present, else the decision reason)."},"read_decision":{"type":"string","title":"Read Decision","description":"Server read decision value (USE_MEMORY or DENY_MEMORY)."},"mode":{"type":"string","title":"Mode","description":"Rollout capabilities mode value."},"memory_reads_enabled":{"type":"boolean","title":"Memory Reads Enabled","description":"Whether memory reads are enabled by capabilities."},"legacy_reads_authoritative":{"type":"boolean","title":"Legacy Reads Authoritative","description":"Whether legacy reads remain authoritative."},"default_memory_grant":{"type":"boolean","title":"Default Memory Grant","description":"Whether the app holds the default-memory grant."},"archive_default_visible":{"type":"boolean","title":"Archive Default Visible","description":"Always false; Archive is never default-visible."},"archive_capability":{"type":"boolean","title":"Archive Capability","description":"Persisted Archive capability flag for the consumer."},"fallback_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fallback Reason","description":"Fallback reason when reads are not enabled."},"capabilities":{"$ref":"#\/components\/schemas\/ReadRolloutCapabilities","description":"Raw rollout capability flags."},"surface":{"type":"string","title":"Surface","description":"Product surface that requested the read (e.g. product_default_search)."},"archive_capability_required":{"type":"boolean","title":"Archive Capability Required","description":"Whether the route requires Archive capability."},"archive_capability_granted":{"type":"boolean","title":"Archive Capability Granted","description":"Whether Archive capability was granted for this request."},"explicit_archive_request":{"type":"boolean","title":"Explicit Archive Request","description":"Whether the caller explicitly requested Archive access."},"app_context":{"additionalProperties":true,"type":"object","title":"App Context","description":"Caller app\/key\/scope context payload."},"vector_repair_outbox_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Vector Repair Outbox Enabled","description":"Present only on the vector search route."}},"type":"object","required":["consumer","enabled","reason","read_decision","mode","memory_reads_enabled","legacy_reads_authoritative","default_memory_grant","archive_default_visible","archive_capability","capabilities","surface","archive_capability_required","archive_capability_granted","explicit_archive_request","app_context"],"title":"ProductRolloutObservability","description":"Per-route default-read rollout observability for product memory routes.\n\nExtends the base per-consumer observability with the product-route context\nfields added by the shared authorization seam."},"ProfileResponse":{"properties":{"profile":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Profile"},"profile_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile Text"},"generated_at":{"anyOf":[{},{"type":"null"}],"title":"Generated At"},"data_sources_used":{"anyOf":[{},{"type":"null"}],"title":"Data Sources Used"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"ProfileResponse"},"ProgressExtractRequest":{"properties":{"text":{"type":"string","title":"Text"}},"type":"object","required":["text"],"title":"ProgressExtractRequest","description":"Request to extract progress from text."},"ProgressExtractResponse":{"properties":{"updated":{"type":"boolean","title":"Updated"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"updates":{"items":{"$ref":"#\/components\/schemas\/ProgressExtractUpdateResponse"},"type":"array","title":"Updates"}},"type":"object","required":["updated"],"title":"ProgressExtractResponse"},"ProgressExtractUpdateResponse":{"properties":{"goal_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Goal Id"},"goal_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Goal Title"},"previous_value":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Previous Value"},"new_value":{"anyOf":[{"type":"number"},{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"New Value"},"reasoning":{"type":"string","title":"Reasoning","default":""}},"type":"object","title":"ProgressExtractUpdateResponse"},"ProjectedActionItem":{"properties":{"description":{"type":"string","title":"Description"},"completed":{"type":"boolean","title":"Completed","default":false}},"additionalProperties":false,"type":"object","required":["description"],"title":"ProjectedActionItem","description":"Display-only action item. No ids, owners, due dates, or capture fields."},"ProjectedEvent":{"properties":{"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description","default":""},"start":{"type":"string","format":"date-time","title":"Start"},"duration":{"type":"integer","maximum":1440,"minimum":1,"title":"Duration"}},"additionalProperties":false,"type":"object","required":["title","start","duration"],"title":"ProjectedEvent"},"ProjectedSection":{"properties":{"heading":{"type":"string","title":"Heading"},"body_markdown":{"type":"string","title":"Body Markdown"}},"additionalProperties":false,"type":"object","required":["heading","body_markdown"],"title":"ProjectedSection"},"ProjectedStructure":{"properties":{"title":{"type":"string","title":"Title"},"overview":{"type":"string","title":"Overview","default":""},"emoji":{"type":"string","title":"Emoji","default":""},"category":{"$ref":"#\/components\/schemas\/CategoryEnum","default":"other"},"sections":{"items":{"$ref":"#\/components\/schemas\/ProjectedSection"},"type":"array","maxItems":12,"title":"Sections"},"events":{"items":{"$ref":"#\/components\/schemas\/ProjectedEvent"},"type":"array","maxItems":12,"title":"Events"}},"additionalProperties":false,"type":"object","required":["title"],"title":"ProjectedStructure"},"ProjectionProvenance":{"properties":{"model_id":{"type":"string","title":"Model Id"},"runtime":{"type":"string","title":"Runtime"},"device_class":{"type":"string","title":"Device Class"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"}},"additionalProperties":false,"type":"object","required":["model_id","runtime","device_class","generated_at"],"title":"ProjectionProvenance"},"PromoteReleaseRequest":{"properties":{"doc_id":{"type":"string","minLength":1,"title":"Doc Id"}},"type":"object","required":["doc_id"],"title":"PromoteReleaseRequest"},"PromoteStagedTaskResponse":{"properties":{"promoted":{"type":"boolean","title":"Promoted","description":"Whether a staged task was promoted to an action item."},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason","description":"Why promotion was skipped, e.g. \"No staged tasks available\"."},"promoted_task":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Promoted Task","description":"The promoted action_item document, if any."}},"type":"object","required":["promoted"],"title":"PromoteStagedTaskResponse","description":"Outcome of promoting the top-relevance staged task to an action item."},"ProvenanceVisibility":{"type":"string","enum":["visible","redacted","hidden"],"title":"ProvenanceVisibility"},"PublicFairUseCaseStatusResponse":{"properties":{"case_ref":{"type":"string","title":"Case Ref"},"stage":{"type":"string","title":"Stage"},"message":{"type":"string","title":"Message"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"support_email":{"type":"string","title":"Support Email"}},"type":"object","required":["case_ref","stage","message","support_email"],"title":"PublicFairUseCaseStatusResponse"},"QuestionCardSpec":{"properties":{"type":{"type":"string","const":"questionCard","title":"Type"},"question_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Question Id"},"text":{"type":"string","maxLength":300,"minLength":1,"title":"Text"},"subject":{"$ref":"#\/components\/schemas\/ChatFirstSubject"},"options":{"items":{"$ref":"#\/components\/schemas\/QuestionOption"},"type":"array","maxItems":4,"minItems":1,"title":"Options"},"cold_start_sequence":{"anyOf":[{"$ref":"#\/components\/schemas\/ColdStartSequence"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["type","question_id","text","subject","options"],"title":"QuestionCardSpec"},"QuestionOption":{"properties":{"option_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Option Id"},"label":{"type":"string","maxLength":80,"minLength":1,"title":"Label"},"prepared_answer":{"type":"string","maxLength":500,"minLength":1,"title":"Prepared Answer"},"defer":{"type":"boolean","title":"Defer","default":false}},"additionalProperties":false,"type":"object","required":["option_id","label","prepared_answer"],"title":"QuestionOption"},"ReadRolloutCapabilities":{"properties":{"legacy_only":{"type":"boolean","title":"Legacy Only","description":"Whether the consumer is legacy-only (no default memory)."},"shadow_artifacts_enabled":{"type":"boolean","title":"Shadow Artifacts Enabled","description":"Whether shadow artifacts are enabled."},"memory_writes_enabled":{"type":"boolean","title":"Memory Writes Enabled","description":"Whether memory writes are enabled."},"memory_reads_enabled":{"type":"boolean","title":"Memory Reads Enabled","description":"Whether memory reads are enabled."},"legacy_reads_authoritative":{"type":"boolean","title":"Legacy Reads Authoritative","description":"Whether legacy reads remain authoritative."}},"type":"object","required":["legacy_only","shadow_artifacts_enabled","memory_writes_enabled","memory_reads_enabled","legacy_reads_authoritative"],"title":"ReadRolloutCapabilities","description":"Raw memory default-read rollout capability flags for one consumer."},"ReadableCalendar":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"primary":{"type":"boolean","title":"Primary"},"available":{"type":"boolean","title":"Available"}},"type":"object","required":["id","name","primary","available"],"title":"ReadableCalendar"},"RebuildResponse":{"properties":{"status":{"type":"string","title":"Status"},"nodes_count":{"type":"integer","title":"Nodes Count"},"edges_count":{"type":"integer","title":"Edges Count"}},"type":"object","required":["status","nodes_count","edges_count"],"title":"RebuildResponse"},"Recommendation":{"properties":{"intervention_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Intervention Id"},"output_version":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Output Version"},"subject_kind":{"$ref":"#\/components\/schemas\/RecommendationSubjectKind"},"subject_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Subject Id"},"feedback_subject_kind":{"$ref":"#\/components\/schemas\/FeedbackSubjectKind"},"feedback_subject_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Feedback Subject Id"},"destination_task_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Destination Task Id"},"destination_workstream_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Destination Workstream Id"},"headline":{"type":"string","maxLength":256,"minLength":1,"title":"Headline"},"why_now":{"type":"string","maxLength":1024,"minLength":1,"title":"Why Now"},"goal_or_workstream_label":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Goal Or Workstream Label"},"recommended_action":{"type":"string","maxLength":128,"minLength":1,"title":"Recommended Action"},"alternative_action":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Alternative Action"},"evidence_preview":{"type":"string","maxLength":512,"title":"Evidence Preview"},"evidence_refs":{"items":{"$ref":"#\/components\/schemas\/EvidenceRef"},"type":"array","maxItems":50,"minItems":1,"title":"Evidence Refs"},"dedupe_key":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Dedupe Key"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"additionalProperties":false,"type":"object","required":["intervention_id","output_version","subject_kind","subject_id","feedback_subject_kind","feedback_subject_id","headline","why_now","recommended_action","evidence_preview","evidence_refs","dedupe_key","expires_at"],"title":"Recommendation"},"RecommendationSubjectKind":{"type":"string","enum":["candidate","task","workstream","artifact","decision","agent_open_loop"],"title":"RecommendationSubjectKind"},"RecordAudioPartial":{"properties":{"version":{"type":"integer","const":1,"title":"Version","default":1},"reason":{"type":"string","enum":["tail_lagging","budget_limit","tail_lost_or_unproven"],"title":"Reason"},"generation":{"type":"integer","title":"Generation","default":0},"applied_generation":{"type":"integer","title":"Applied Generation","default":0}},"type":"object","required":["reason"],"title":"RecordAudioPartial","description":"Available transcript is incomplete; this never certifies a complete seal."},"RecordLlmUsageBucketRequest":{"properties":{"input_tokens":{"type":"integer","minimum":0,"title":"Input Tokens","default":0},"output_tokens":{"type":"integer","minimum":0,"title":"Output Tokens","default":0},"cache_read_tokens":{"type":"integer","minimum":0,"title":"Cache Read Tokens","default":0},"cache_write_tokens":{"type":"integer","minimum":0,"title":"Cache Write Tokens","default":0},"total_tokens":{"type":"integer","minimum":0,"title":"Total Tokens","default":0},"cost_usd":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"title":"Cost Usd"},"account":{"type":"string","maxLength":100,"title":"Account","default":"omi"}},"type":"object","title":"RecordLlmUsageBucketRequest"},"RecordedClock":{"type":"string","enum":["device","estimated_device","frame","live_capture","imported","legacy"],"title":"RecordedClock"},"RecordingMemberCount":{"properties":{"conversation_id":{"type":"string","title":"Conversation Id"},"applied_count":{"type":"integer","title":"Applied Count"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["conversation_id","applied_count"],"title":"RecordingMemberCount"},"RecordingPiece":{"properties":{"recording_id":{"type":"string","title":"Recording Id"},"audio_file_id":{"type":"string","title":"Audio File Id"},"start":{"type":"number","minimum":0,"title":"Start"},"end":{"type":"number","minimum":0,"title":"End"}},"type":"object","required":["recording_id","audio_file_id","start","end"],"title":"RecordingPiece"},"RecordingSelection":{"properties":{"conversation_id":{"type":"string","maxLength":200,"minLength":1,"title":"Conversation Id"},"segment_ids":{"items":{"type":"string"},"type":"array","maxItems":10000,"minItems":1,"title":"Segment Ids"},"speaker_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Speaker Id"},"voice":{"anyOf":[{"$ref":"#\/components\/schemas\/RecordingVoice"},{"type":"null"}]}},"type":"object","required":["conversation_id","segment_ids"],"title":"RecordingSelection"},"RecordingSpeakerConflict":{"properties":{"detail":{"anyOf":[{"type":"string","const":"recording_speaker_rename_disabled"},{"$ref":"#\/components\/schemas\/RecordingStaleDetail"}],"title":"Detail"}},"type":"object","required":["detail"],"title":"RecordingSpeakerConflict"},"RecordingSpeakerLimit":{"properties":{"detail":{"type":"string","const":"recording_speaker_limit_exceeded","title":"Detail"}},"type":"object","required":["detail"],"title":"RecordingSpeakerLimit"},"RecordingSpeakerRequest":{"properties":{"person_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Person Id"},"is_user":{"type":"boolean","title":"Is User","default":false},"selections":{"items":{"$ref":"#\/components\/schemas\/RecordingSelection"},"type":"array","maxItems":100,"title":"Selections"},"voice":{"anyOf":[{"$ref":"#\/components\/schemas\/RecordingVoice"},{"type":"null"}]},"whole_recording":{"type":"boolean","title":"Whole Recording","default":true},"use_for_speech_training":{"type":"boolean","title":"Use For Speech Training","default":true}},"type":"object","title":"RecordingSpeakerRequest"},"RecordingSpeakerResponse":{"properties":{"coverage":{"type":"string","enum":["complete","partial"],"title":"Coverage","default":"partial"},"episode_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Episode Id"},"conversations":{"items":{"$ref":"#\/components\/schemas\/RecordingMemberCount"},"type":"array","title":"Conversations"},"applied_count":{"type":"integer","title":"Applied Count"}},"type":"object","required":["conversations","applied_count"],"title":"RecordingSpeakerResponse"},"RecordingStaleDetail":{"properties":{"code":{"type":"string","const":"stale_speaker","title":"Code"},"message":{"type":"string","title":"Message"}},"type":"object","required":["code","message"],"title":"RecordingStaleDetail"},"RecordingTranscriptMember":{"properties":{"id":{"type":"string","title":"Id"},"recording_offset_seconds":{"type":"number","title":"Recording Offset Seconds"},"transcript_segments":{"items":{"$ref":"#\/components\/schemas\/RecordingTranscriptSegment"},"type":"array","title":"Transcript Segments"}},"type":"object","required":["id","recording_offset_seconds","transcript_segments"],"title":"RecordingTranscriptMember"},"RecordingTranscriptResponse":{"properties":{"coverage":{"type":"string","enum":["complete","partial"],"title":"Coverage","default":"partial"},"enabled":{"type":"boolean","title":"Enabled"},"episode_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Episode Id"},"conversations":{"items":{"$ref":"#\/components\/schemas\/RecordingTranscriptMember"},"type":"array","title":"Conversations"}},"type":"object","required":["enabled","conversations"],"title":"RecordingTranscriptResponse"},"RecordingTranscriptSegment":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"text":{"type":"string","title":"Text"},"original_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Original Text","description":"Immutable captured text when text includes active corrections."},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker","default":"SPEAKER_00"},"speaker_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Speaker Id"},"is_user":{"type":"boolean","title":"Is User"},"person_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Person Id"},"speaker_label_source":{"anyOf":[{"type":"string","enum":["manual","auto","carried"]},{"type":"null"}],"title":"Speaker Label Source"},"start":{"type":"number","title":"Start"},"end":{"type":"number","title":"End"},"translations":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/Translation"},"type":"array"},{"type":"null"}],"title":"Translations"},"speech_profile_processed":{"type":"boolean","title":"Speech Profile Processed","default":true},"stt_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stt Provider"},"speaker_id_scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker Id Scope"},"stream_speaker":{"type":"string","title":"Stream Speaker"}},"type":"object","required":["text","is_user","start","end","stream_speaker"],"title":"RecordingTranscriptSegment"},"RecordingVoice":{"properties":{"speaker_id_scope":{"type":"string","maxLength":256,"minLength":1,"title":"Speaker Id Scope"},"stream_speaker":{"type":"string","maxLength":100,"minLength":1,"title":"Stream Speaker"}},"type":"object","required":["speaker_id_scope","stream_speaker"],"title":"RecordingVoice"},"RedactionStatus":{"type":"string","enum":["active","redacted","tombstoned","purged"],"title":"RedactionStatus"},"RedeemCodeRequest":{"properties":{"code":{"type":"string","maxLength":64,"minLength":1,"title":"Code"}},"type":"object","required":["code"],"title":"RedeemCodeRequest"},"RedeemCodeResponse":{"properties":{"status":{"type":"string","title":"Status"},"percent_off":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Percent Off"},"amount_off":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Amount Off"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"applies_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Applies At"}},"type":"object","required":["status"],"title":"RedeemCodeResponse"},"RedeemPrepaidCodeResponse":{"properties":{"status":{"type":"string","title":"Status"},"plan":{"type":"string","title":"Plan"},"ends_at":{"type":"integer","title":"Ends At"},"months":{"type":"integer","title":"Months"}},"type":"object","required":["status","plan","ends_at","months"],"title":"RedeemPrepaidCodeResponse"},"ReferralClaimRequest":{"properties":{"code":{"type":"string","title":"Code"}},"type":"object","required":["code"],"title":"ReferralClaimRequest"},"ReferralClaimResponse":{"properties":{"claimed":{"type":"boolean","title":"Claimed"},"trial_days":{"type":"integer","title":"Trial Days"}},"type":"object","required":["claimed","trial_days"],"title":"ReferralClaimResponse"},"ReferralLinkResponse":{"properties":{"referral_url":{"type":"string","title":"Referral Url"}},"type":"object","required":["referral_url"],"title":"ReferralLinkResponse"},"RejectSpeakerRequest":{"properties":{"kind":{"type":"string","enum":["not_me","not_person","not_a_person"],"title":"Kind"},"person_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Person Id"},"segment_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Segment Ids"}},"type":"object","required":["kind"],"title":"RejectSpeakerRequest"},"ReleaseChannel":{"properties":{"release_channel":{"type":"string","enum":["testflight","app_store","dev"],"title":"Release Channel"},"app_build":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"title":"App Build"}},"additionalProperties":false,"type":"object","required":["release_channel"],"title":"ReleaseChannel"},"ReminderIntent":{"properties":{"kind":{"type":"string","enum":["explicit_reminder","quoted","hypothetical","current_session","status","waiting_on"],"title":"Kind"},"due_expression":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Due Expression"}},"additionalProperties":false,"type":"object","required":["kind"],"title":"ReminderIntent","description":"Model annotation, validated against exact source turns before admission."},"ReminderOrigin":{"properties":{"policy_revision":{"type":"string","const":"explicit-reminders-v1","title":"Policy Revision","default":"explicit-reminders-v1"},"input_revision":{"type":"string","maxLength":128,"minLength":1,"title":"Input Revision"},"speaker_evidence_revision":{"type":"string","maxLength":128,"minLength":1,"title":"Speaker Evidence Revision"},"source_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Source At"},"extracted_at":{"type":"string","format":"date-time","title":"Extracted At"},"review_reason":{"anyOf":[{"type":"string","const":"owner_unresolved"},{"type":"null"}],"title":"Review Reason"}},"additionalProperties":false,"type":"object","required":["input_revision","speaker_evidence_revision","extracted_at"],"title":"ReminderOrigin"},"ReorderFoldersRequest":{"properties":{"folder_ids":{"items":{"type":"string"},"type":"array","maxItems":100,"minItems":1,"title":"Folder Ids"}},"type":"object","required":["folder_ids"],"title":"ReorderFoldersRequest","description":"Request model for reordering folders."},"ReplyToReviewRequest":{"properties":{"reviewer_uid":{"type":"string","title":"Reviewer Uid"},"response":{"type":"string","title":"Response"}},"type":"object","required":["reviewer_uid","response"],"title":"ReplyToReviewRequest"},"ResponseMessage":{"properties":{"id":{"type":"string","title":"Id"},"text":{"type":"string","title":"Text"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"sender":{"$ref":"#\/components\/schemas\/MessageSender"},"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"},"plugin_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plugin Id"},"from_external_integration":{"type":"boolean","title":"From External Integration","default":false},"type":{"$ref":"#\/components\/schemas\/MessageType"},"memories_id":{"items":{"type":"string"},"type":"array","title":"Memories Id","default":[]},"memories":{"items":{"$ref":"#\/components\/schemas\/MessageConversation"},"type":"array","title":"Memories","default":[]},"reported":{"type":"boolean","title":"Reported","default":false},"report_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Report Reason"},"files_id":{"items":{"type":"string"},"type":"array","title":"Files Id","default":[]},"files":{"items":{"$ref":"#\/components\/schemas\/FileChat"},"type":"array","title":"Files","default":[]},"chat_session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Session Id"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"data_protection_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Protection Level"},"langsmith_run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Langsmith Run Id"},"prompt_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt Name"},"prompt_commit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt Commit"},"rating":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rating"},"metadata":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Metadata"},"content_blocks":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Content Blocks","description":"Structured chat content blocks. New rows store these directly; legacy rows are projected from metadata.content_blocks."},"evidence":{"anyOf":[{"$ref":"#\/components\/schemas\/ChatEvidenceEnvelope"},{"type":"null"}]},"client_message_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Message Id"},"message_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message Source"},"journal_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Journal Revision"},"chart_data":{"anyOf":[{"$ref":"#\/components\/schemas\/ChartData"},{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Chart Data"},"ask_for_nps":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ask For Nps","default":false}},"type":"object","required":["id","text","created_at","sender","type"],"title":"ResponseMessage"},"RestoreLegacyConversationItemsResponse":{"properties":{"status":{"type":"string","title":"Status","description":"Ack status, e.g. \"ok\".","default":"ok"},"restored":{"type":"integer","title":"Restored","description":"Number of action items safely restored.","default":0},"skipped_existing":{"type":"integer","title":"Skipped Existing","description":"Rows left staged because an action item with that identity already exists.","default":0},"has_more":{"type":"boolean","title":"Has More","description":"Whether more marked legacy rows remain after this recovery page.","default":false},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Exclusive recovery cursor for the next page, present only when has_more is true."}},"type":"object","title":"RestoreLegacyConversationItemsResponse","description":"Outcome of the safe action-items recovery endpoint."},"RetentionOfferResponse":{"properties":{"eligible":{"type":"boolean","title":"Eligible"},"percent_off":{"type":"integer","title":"Percent Off"},"duration_months":{"type":"integer","title":"Duration Months"},"regular_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Regular Amount"},"discounted_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Discounted Amount"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"}},"type":"object","required":["eligible","percent_off","duration_months"],"title":"RetentionOfferResponse"},"RetryAllRequest":{"properties":{"idempotency_key":{"type":"string","maxLength":200,"minLength":1,"title":"Idempotency Key"}},"type":"object","required":["idempotency_key"],"title":"RetryAllRequest"},"ReviewAnswer":{"properties":{"speaker":{"anyOf":[{"$ref":"#\/components\/schemas\/SpeakerAnswer"},{"type":"null"}]},"task":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskAnswer"},{"type":"null"}]},"same_person":{"anyOf":[{"$ref":"#\/components\/schemas\/SamePersonAnswer"},{"type":"null"}]},"spelling":{"anyOf":[{"$ref":"#\/components\/schemas\/SpellingAnswer"},{"type":"null"}]},"not_sure":{"type":"boolean","title":"Not Sure","default":false}},"additionalProperties":false,"type":"object","title":"ReviewAnswer"},"ReviewAnswerReceipt":{"properties":{"item_id":{"type":"string","title":"Item Id"},"applied":{"type":"boolean","title":"Applied"},"remaining_today":{"type":"integer","title":"Remaining Today"}},"type":"object","required":["item_id","applied","remaining_today"],"title":"ReviewAnswerReceipt"},"ReviewAnswerV2":{"properties":{"speaker":{"anyOf":[{"$ref":"#\/components\/schemas\/SpeakerAnswer"},{"type":"null"}]},"task":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskAnswer"},{"type":"null"}]},"same_person":{"anyOf":[{"$ref":"#\/components\/schemas\/SamePersonAnswer"},{"type":"null"}]},"spelling":{"anyOf":[{"$ref":"#\/components\/schemas\/SpellingAnswer"},{"type":"null"}]},"agent_proposal":{"anyOf":[{"$ref":"#\/components\/schemas\/AgentProposalAnswer"},{"type":"null"}]},"not_sure":{"type":"boolean","title":"Not Sure","default":false}},"additionalProperties":false,"type":"object","title":"ReviewAnswerV2"},"ReviewAppRequest":{"properties":{"score":{"type":"number","title":"Score"},"review":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Review"},"username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Username"},"response":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Response"}},"type":"object","required":["score"],"title":"ReviewAppRequest"},"ReviewChange":{"properties":{"change_id":{"type":"string","title":"Change Id"},"kind":{"type":"string","enum":["rename","merge_memories","update_person","label_speaker","title_conversation","close_task","other"],"title":"Kind"},"title":{"type":"string","title":"Title"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"snippet":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snippet"},"edit_kind":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Edit Kind"},"before":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Before"},"after":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"After"},"context":{"anyOf":[{"$ref":"#\/components\/schemas\/SpellingContext"},{"type":"null"}]},"refs":{"items":{"$ref":"#\/components\/schemas\/ChangeRef"},"type":"array","title":"Refs"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"undone":{"type":"boolean","title":"Undone","default":false},"diff":{"anyOf":[{"$ref":"#\/components\/schemas\/ReviewChangeDiff"},{"type":"null"}],"description":"Optional before\/after excerpt with surrounding context. Released clients ignore it. Never a whole transcript."}},"type":"object","required":["change_id","kind","title","created_at"],"title":"ReviewChange"},"ReviewChangeDiff":{"properties":{"target_label":{"anyOf":[{"type":"string","maxLength":180},{"type":"null"}],"title":"Target Label"},"field":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Field"},"before":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Before"},"after":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"After"},"context_before":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Context Before"},"context_after":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"title":"Context After"},"occurrences":{"anyOf":[{"type":"integer","maximum":10000,"minimum":0},{"type":"null"}],"title":"Occurrences"},"source_title":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Source Title"},"source_started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Source Started At"},"group_key":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Group Key"}},"type":"object","title":"ReviewChangeDiff","description":"Bounded before\/after excerpt. Released clients ignore this object.\n\n``group_key`` is stable for the same term change across conversations so a\nclient can group by change, by conversation, or by term."},"ReviewChangesResponse":{"properties":{"changes":{"items":{"$ref":"#\/components\/schemas\/ReviewChange"},"type":"array","title":"Changes"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["changes"],"title":"ReviewChangesResponse"},"ReviewEvidence":{"properties":{"quote":{"type":"string","title":"Quote"},"speaker_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker Label"},"at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"At"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"conversation_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Title"}},"type":"object","required":["quote"],"title":"ReviewEvidence"},"ReviewItem":{"properties":{"item_id":{"type":"string","title":"Item Id"},"kind":{"type":"string","enum":["speaker","task","same_person","spelling"],"title":"Kind"},"title":{"type":"string","title":"Title"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"speaker":{"anyOf":[{"$ref":"#\/components\/schemas\/SpeakerItem"},{"type":"null"}]},"task":{"anyOf":[{"$ref":"#\/components\/schemas\/models__review__TaskItem"},{"type":"null"}]},"same_person":{"anyOf":[{"$ref":"#\/components\/schemas\/SamePersonItem"},{"type":"null"}]},"spelling":{"anyOf":[{"$ref":"#\/components\/schemas\/SpellingItem"},{"type":"null"}]},"quote":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quote"},"source_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Ref"}},"type":"object","required":["item_id","kind","title","created_at"],"title":"ReviewItem"},"ReviewItemV2":{"properties":{"item_id":{"type":"string","title":"Item Id"},"kind":{"type":"string","enum":["speaker","task","same_person","spelling","agent_proposal"],"title":"Kind"},"title":{"type":"string","title":"Title"},"quote":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quote"},"source_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Ref"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"speaker":{"anyOf":[{"$ref":"#\/components\/schemas\/SpeakerItem"},{"type":"null"}]},"task":{"anyOf":[{"$ref":"#\/components\/schemas\/models__review__TaskItem"},{"type":"null"}]},"same_person":{"anyOf":[{"$ref":"#\/components\/schemas\/SamePersonItem"},{"type":"null"}]},"spelling":{"anyOf":[{"$ref":"#\/components\/schemas\/SpellingItem"},{"type":"null"}]},"agent_proposal":{"anyOf":[{"$ref":"#\/components\/schemas\/AgentProposalItem"},{"type":"null"}]}},"type":"object","required":["item_id","kind","title","created_at"],"title":"ReviewItemV2"},"ReviewItemsResponse":{"properties":{"items":{"items":{"$ref":"#\/components\/schemas\/ReviewItem"},"type":"array","maxItems":3,"title":"Items"},"remaining_today":{"type":"integer","maximum":3,"minimum":0,"title":"Remaining Today"}},"type":"object","required":["items","remaining_today"],"title":"ReviewItemsResponse"},"ReviewItemsResponseV2":{"properties":{"items":{"items":{"$ref":"#\/components\/schemas\/ReviewItemV2"},"type":"array","maxItems":3,"title":"Items"},"remaining_today":{"type":"integer","maximum":3,"minimum":0,"title":"Remaining Today"}},"type":"object","required":["items","remaining_today"],"title":"ReviewItemsResponseV2"},"ReviewResolutionRequest":{"properties":{"decision":{"type":"string","title":"Decision","description":"accept, reject, correct, or timeout"},"correction":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Correction"},"reason":{"type":"string","title":"Reason","default":""},"current_veracity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Current Veracity"}},"type":"object","required":["decision"],"title":"ReviewResolutionRequest"},"ReviewResolutionResponse":{"properties":{"status":{"type":"string","title":"Status"}},"additionalProperties":true,"type":"object","required":["status"],"title":"ReviewResolutionResponse"},"SamePersonAnswer":{"properties":{"decision":{"type":"string","enum":["yes","no","not_sure"],"title":"Decision"}},"additionalProperties":false,"type":"object","required":["decision"],"title":"SamePersonAnswer"},"SamePersonItem":{"properties":{"left":{"$ref":"#\/components\/schemas\/EntitySummary"},"right":{"$ref":"#\/components\/schemas\/EntitySummary"},"reason":{"type":"string","title":"Reason"}},"type":"object","required":["left","right","reason"],"title":"SamePersonItem"},"SaveFcmTokenRequest":{"properties":{"fcm_token":{"type":"string","title":"Fcm Token"},"time_zone":{"type":"string","title":"Time Zone"},"registration_order":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":1},{"type":"null"}],"title":"Registration Order"}},"type":"object","required":["fcm_token","time_zone"],"title":"SaveFcmTokenRequest"},"SaveMessageRequest":{"properties":{"text":{"type":"string","maxLength":100000,"minLength":1,"title":"Text"},"sender":{"type":"string","pattern":"^(human|ai)$","title":"Sender"},"app_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"App Id"},"session_id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Session Id"},"metadata":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Metadata"},"content_blocks":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Content Blocks","description":"First-class structured chat content; message text remains the required fallback."},"client_message_id":{"anyOf":[{"type":"string","pattern":"^[A-Za-z0-9_-]{1,128}$"},{"type":"null"}],"title":"Client Message Id"},"message_source":{"type":"string","pattern":"^(desktop_chat|realtime_voice)$","title":"Message Source","default":"desktop_chat"},"journal_revision":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":1},{"type":"null"}],"title":"Journal Revision"}},"type":"object","required":["text","sender"],"title":"SaveMessageRequest"},"SaveMessageResponse":{"properties":{"id":{"type":"string","title":"Id","description":"Message identifier (client_message_id or generated UUID)."},"created_at":{"type":"string","title":"Created At","description":"ISO-8601 creation timestamp of the message."},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id","description":"Chat session the message belongs to."},"created":{"type":"boolean","title":"Created","description":"True if a new message was created; False for an idempotent retry."},"updated":{"type":"boolean","title":"Updated","description":"True when a newer canonical journal revision replaced payload.","default":false},"journal_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Journal Revision","description":"Highest canonical journal revision stored."}},"type":"object","required":["id","created_at","created"],"title":"SaveMessageResponse","description":"Ack for ``POST \/v2\/desktop\/messages``.\n\n``created_at`` is an ISO-8601 string (the persistence layer calls\n``datetime.isoformat()``), not a ``datetime``. ``created`` is False for\nidempotent retries of an existing ``client_message_id``."},"SavePayPalPaymentDetailsRequest":{"properties":{"email":{"type":"string","title":"Email"},"paypalme_url":{"type":"string","title":"Paypalme Url"}},"type":"object","required":["email","paypalme_url"],"title":"SavePayPalPaymentDetailsRequest"},"ScorePeriod":{"properties":{"score":{"type":"number","maximum":100,"minimum":0,"title":"Score","description":"Completion percentage for the window, 0..100 (1 decimal)."},"completed_tasks":{"type":"integer","minimum":0,"title":"Completed Tasks","description":"Completed, non-deleted tasks in the window."},"total_tasks":{"type":"integer","minimum":0,"title":"Total Tasks","description":"Total non-deleted tasks in the window."}},"type":"object","required":["score","completed_tasks","total_tasks"],"title":"ScorePeriod","description":"One scoring window (daily \/ weekly \/ overall) inside `get_scores`."},"Scores":{"properties":{"daily":{"$ref":"#\/components\/schemas\/ScorePeriod","description":"Score for tasks due on the given date."},"weekly":{"$ref":"#\/components\/schemas\/ScorePeriod","description":"Score for tasks created in the 7 days ending on the given date."},"overall":{"$ref":"#\/components\/schemas\/ScorePeriod","description":"Score across all non-deleted tasks."},"default_tab":{"type":"string","title":"Default Tab","description":"Recommended default UI tab: \"daily\", \"weekly\", or \"overall\"."},"date":{"type":"string","title":"Date","description":"Calendar date the scores are anchored on, `YYYY-MM-DD` (UTC)."}},"type":"object","required":["daily","weekly","overall","default_tab","date"],"title":"Scores","description":"Daily, weekly, and overall scores plus the recommended default tab (`get_scores`)."},"ScreenActivityAppSummary":{"properties":{"count":{"type":"integer","title":"Count"},"first_seen":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Seen"},"last_seen":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Seen"},"window_titles":{"items":{"type":"string"},"type":"array","title":"Window Titles"}},"type":"object","required":["count"],"title":"ScreenActivityAppSummary"},"ScreenActivityCoverage":{"properties":{"source":{"type":"string","const":"synced_screen_activity","title":"Source","default":"synced_screen_activity"},"row_limit":{"type":"integer","minimum":1,"title":"Row Limit"},"truncated":{"type":"boolean","title":"Truncated"},"first_observed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Observed At"},"last_observed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Observed At"},"capture_completeness":{"type":"string","const":"unknown","title":"Capture Completeness","default":"unknown"},"devices":{"items":{"$ref":"#\/components\/schemas\/ScreenDeviceCoverage"},"type":"array","title":"Devices"}},"type":"object","required":["row_limit","truncated"],"title":"ScreenActivityCoverage"},"ScreenActivityResponse":{"properties":{"screen_activity":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Screen Activity"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"has_more":{"type":"boolean","title":"Has More"}},"type":"object","required":["has_more"],"title":"ScreenActivityResponse"},"ScreenActivitySummaryResponse":{"properties":{"apps":{"additionalProperties":{"$ref":"#\/components\/schemas\/ScreenActivityAppSummary"},"type":"object","title":"Apps"},"total_screenshots":{"type":"integer","title":"Total Screenshots"},"coverage":{"anyOf":[{"$ref":"#\/components\/schemas\/ScreenActivityCoverage"},{"type":"null"}]}},"type":"object","required":["apps","total_screenshots"],"title":"ScreenActivitySummaryResponse"},"ScreenActivitySyncRequest":{"properties":{"account_generation":{"type":"integer","minimum":0,"title":"Account Generation","default":0},"deviceRetentionSeconds":{"anyOf":[{"type":"integer","maximum":518400,"minimum":1},{"type":"null"}],"title":"Deviceretentionseconds"},"rows":{"items":{"$ref":"#\/components\/schemas\/routers__desktop_screen_crisp__ScreenActivityRow"},"type":"array","title":"Rows"}},"type":"object","required":["rows"],"title":"ScreenActivitySyncRequest"},"ScreenActivitySyncResponse":{"properties":{"synced":{"type":"integer","title":"Synced"},"last_id":{"type":"integer","title":"Last Id"},"frame_requests":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/FrameRequestDelivery"},"type":"array"},{"type":"null"}],"title":"Frame Requests"}},"additionalProperties":false,"type":"object","required":["synced","last_id"],"title":"ScreenActivitySyncResponse","description":"Additive sync response; old clients decode the two required fields."},"ScreenDeviceCoverage":{"properties":{"device_id":{"type":"string","title":"Device Id"},"first_observed_at":{"type":"string","title":"First Observed At"},"last_observed_at":{"type":"string","title":"Last Observed At"},"synced_through":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Synced Through"}},"type":"object","required":["device_id","first_observed_at","last_observed_at"],"title":"ScreenDeviceCoverage"},"ScreenFrameAdjudicationRequest":{"properties":{"schema_version":{"type":"integer","const":1,"title":"Schema Version"},"attempt_id":{"type":"string","format":"uuid","title":"Attempt Id"},"purpose":{"type":"string","const":"meeting_note_v1","title":"Purpose"},"subject":{"$ref":"#\/components\/schemas\/ScreenFrameSubjectIn"},"candidates":{"items":{"$ref":"#\/components\/schemas\/ScreenFrameCandidateIn"},"type":"array","maxItems":8,"title":"Candidates"}},"additionalProperties":false,"type":"object","required":["schema_version","attempt_id","purpose","subject","candidates"],"title":"ScreenFrameAdjudicationRequest"},"ScreenFrameAdjudicationResponse":{"properties":{"attempt_id":{"type":"string","format":"uuid","title":"Attempt Id"},"outcome":{"type":"string","enum":["committed","no_approved_frames"],"title":"Outcome"},"frame_set":{"$ref":"#\/components\/schemas\/ConversationScreenFrameSet"}},"type":"object","required":["attempt_id","outcome","frame_set"],"title":"ScreenFrameAdjudicationResponse"},"ScreenFrameCandidateIn":{"properties":{"client_frame_id":{"type":"string","maxLength":128,"minLength":1,"title":"Client Frame Id"},"captured_at":{"type":"string","format":"date-time","title":"Captured At"},"mime_type":{"type":"string","enum":["image\/jpeg","image\/png"],"title":"Mime Type"},"declared_width":{"type":"integer","maximum":10000,"minimum":1,"title":"Declared Width"},"declared_height":{"type":"integer","maximum":10000,"minimum":1,"title":"Declared Height"},"sha256_base64":{"type":"string","maxLength":44,"minLength":44,"title":"Sha256 Base64"},"bytes_base64":{"type":"string","title":"Bytes Base64"}},"additionalProperties":false,"type":"object","required":["client_frame_id","captured_at","mime_type","declared_width","declared_height","sha256_base64","bytes_base64"],"title":"ScreenFrameCandidateIn"},"ScreenFrameGround":{"properties":{"stops":{"items":{"type":"string"},"type":"array","maxItems":2,"minItems":2,"title":"Stops"},"is_neutral":{"type":"boolean","title":"Is Neutral"}},"additionalProperties":false,"type":"object","required":["stops","is_neutral"],"title":"ScreenFrameGround","description":"Gradient stops derived from the canonical bytes at approval time.\n\nBoth clients render the banner from these; neither samples pixels. A\nsigned cross-origin URL cannot be read back from a canvas (no guaranteed\nCORS headers), and two independent extractions (Swift on macOS, JS on\nweb) would drift from each other anyway. Extracted once, server-side,\nfrom the canonical JPEG \u2014 see utils\/screen_frames\/palette.py, a port of\ndesktop\/macos\/Desktop\/Sources\/MeetingScreenshots\/MeetingBannerPalette.swift."},"ScreenFrameSettings":{"properties":{"meeting_note_screenshots_enabled":{"type":"boolean","title":"Meeting Note Screenshots Enabled"}},"additionalProperties":false,"type":"object","required":["meeting_note_screenshots_enabled"],"title":"ScreenFrameSettings","description":"The account-level setting gating screen-frame egress admission\n(contract \u00a76, setting_key=\"meeting_note_screenshots_enabled\"). Shared and\nauthoritative across every device \u2014 desktop, web, a reinstall \u2014 because\nit protects the user from themselves (accidentally leaving the feature\non), not third parties from the user; the privacy judge is what protects\npeople appearing in frames. It does not need to be tamper-proof, only\nconsistent, so it is a plain user-profile field, not a signed claim."},"ScreenFrameSettingsUpdateRequest":{"properties":{"meeting_note_screenshots_enabled":{"type":"boolean","title":"Meeting Note Screenshots Enabled"}},"additionalProperties":false,"type":"object","required":["meeting_note_screenshots_enabled"],"title":"ScreenFrameSettingsUpdateRequest"},"ScreenFrameSharingUpdateRequest":{"properties":{"enabled":{"type":"boolean","title":"Enabled"}},"additionalProperties":false,"type":"object","required":["enabled"],"title":"ScreenFrameSharingUpdateRequest"},"ScreenFrameSubjectIn":{"properties":{"kind":{"type":"string","const":"conversation","title":"Kind"},"id":{"type":"string","maxLength":256,"minLength":1,"title":"Id"}},"additionalProperties":false,"type":"object","required":["kind","id"],"title":"ScreenFrameSubjectIn"},"ScreenTaskAdmissionResponse":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"lease_seconds":{"type":"integer","title":"Lease Seconds","default":55}},"type":"object","required":["enabled"],"title":"ScreenTaskAdmissionResponse"},"ScreenTaskGateRequest":{"properties":{"ocr_text":{"type":"string","maxLength":12000,"title":"Ocr Text"},"user_context":{"type":"string","maxLength":1024,"title":"User Context","default":""},"app_name":{"type":"string","maxLength":128,"title":"App Name","default":""},"related_tasks":{"items":{"type":"string","maxLength":576},"type":"array","maxItems":4,"title":"Related Tasks"}},"additionalProperties":false,"type":"object","required":["ocr_text"],"title":"ScreenTaskGateRequest"},"ScreenTaskGateResponse":{"properties":{"should_extract":{"type":"boolean","title":"Should Extract"},"gate_outcome":{"type":"string","enum":["passed","rejected","fail_open"],"title":"Gate Outcome"},"audit_sample":{"type":"boolean","title":"Audit Sample"}},"type":"object","required":["should_extract","gate_outcome","audit_sample"],"title":"ScreenTaskGateResponse"},"SearchChunksRequest":{"properties":{"query":{"type":"string","title":"Query","description":"Semantic search query"},"limit":{"type":"integer","maximum":30,"minimum":1,"title":"Limit","default":20}},"type":"object","required":["query"],"title":"SearchChunksRequest"},"SearchConversationsRequest":{"properties":{"query":{"type":"string","title":"Query","description":"Natural-language topic, canonical conversation UUID, or h.omi.me share URL"},"start_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date","description":"ISO date with timezone"},"end_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date","description":"ISO date with timezone"},"limit":{"type":"integer","maximum":20,"minimum":1,"title":"Limit","default":5},"include_transcript":{"type":"boolean","title":"Include Transcript","default":true},"transcript_query":{"anyOf":[{"type":"string","maxLength":200,"minLength":1},{"type":"null"}],"title":"Transcript Query","description":"Literal words\/phrase to search directly in saved transcripts, including unindexed history"},"transcript_cursor":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Transcript Cursor","description":"Continuation returned by direct transcript search"}},"type":"object","required":["query"],"title":"SearchConversationsRequest"},"SearchMemoriesRequest":{"properties":{"query":{"type":"string","title":"Query","description":"Semantic search query"},"limit":{"type":"integer","maximum":20,"minimum":1,"title":"Limit","default":5},"view":{"type":"string","enum":["useful_now","history","all"],"title":"View","description":"Temporal memory view; history is an explicit dated recall request","default":"useful_now"},"as_of":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"As Of","description":"Optional timezone-aware traversal anchor"}},"type":"object","required":["query"],"title":"SearchMemoriesRequest"},"SearchOverviewFolder":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"icon":{"type":"string","title":"Icon","default":"folder"},"color":{"type":"string","title":"Color","default":"#6B7280"},"count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Count"}},"type":"object","required":["id","name"],"title":"SearchOverviewFolder","description":"One conversation folder with its non-discarded conversation count (null when it could not be counted)."},"SearchOverviewResponse":{"properties":{"starred":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Starred"},"folders":{"items":{"$ref":"#\/components\/schemas\/SearchOverviewFolder"},"type":"array","title":"Folders"},"recaps":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Recaps"},"memories":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Memories"},"people":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"People"},"places":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Places"}},"type":"object","title":"SearchOverviewResponse","description":"Counts behind the global-search tiles shown before the user types.\n\nEvery count is decoration: a failed aggregation reports null (never a\nfalse 0) instead of failing the response."},"SearchRequest":{"properties":{"query":{"type":"string","title":"Query","default":""},"page":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page","default":1},"per_page":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Per Page","default":10},"include_discarded":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Include Discarded","default":true},"start_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date"},"speaker_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker Id"}},"type":"object","title":"SearchRequest"},"SearchedMemory":{"properties":{"source_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Source At"},"extracted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Extracted At"},"id":{"type":"string","title":"Id"},"content":{"type":"string","title":"Content"},"category":{"$ref":"#\/components\/schemas\/MemoryCategory"},"category_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category Source"},"reviewed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Reviewed"},"reviewed_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reviewed Source"},"manually_added":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Manually Added"},"manually_added_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manually Added Source"},"memory_default_memory":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Memory Default Memory"},"archive_default_visible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Archive Default Visible"},"policy":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Policy"},"relevance_score":{"type":"number","title":"Relevance Score"}},"type":"object","required":["id","content","category","relevance_score"],"title":"SearchedMemory"},"Section":{"properties":{"heading":{"type":"string","title":"Heading","description":"A descriptive heading chosen for this conversation"},"body_markdown":{"type":"string","title":"Body Markdown","description":"Free-form markdown containing the section details"},"source_segment_ids":{"items":{"type":"string"},"type":"array","title":"Source Segment Ids","description":"Transcript segment IDs that directly support this section"},"kind":{"type":"string","enum":["main","side_notes"],"title":"Kind","description":"Whether the section is primary recap or the closing side-notes section","default":"main"}},"type":"object","required":["heading","body_markdown"],"title":"Section"},"SeenRequest":{"properties":{"ids":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Ids","default":[]},"all":{"type":"boolean","title":"All","default":false}},"type":"object","title":"SeenRequest"},"SendMessageRequest":{"properties":{"text":{"type":"string","title":"Text"},"file_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"File Ids","default":[]},"context":{"anyOf":[{"$ref":"#\/components\/schemas\/PageContext"},{"type":"null"}]},"time_zone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Time Zone"},"device_tools":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Device Tools"}},"type":"object","required":["text"],"title":"SendMessageRequest"},"SendShareEmailRequest":{"properties":{"recipient_emails":{"items":{"type":"string"},"type":"array","maxItems":5,"minItems":1,"title":"Recipient Emails"}},"type":"object","required":["recipient_emails"],"title":"SendShareEmailRequest"},"SendShareEmailResponse":{"properties":{"sent_to":{"items":{"type":"string"},"type":"array","title":"Sent To"}},"type":"object","required":["sent_to"],"title":"SendShareEmailResponse"},"ServingBackendsObservation":{"properties":{"desktop_backend":{"$ref":"#\/components\/schemas\/DesktopBackendServingObservation"},"api_backend":{"$ref":"#\/components\/schemas\/ApiBackendServingObservation"},"captured_at":{"type":"string","minLength":1,"title":"Captured At"}},"additionalProperties":false,"type":"object","required":["desktop_backend","api_backend","captured_at"],"title":"ServingBackendsObservation","description":"Provenance for the backends that were serving when a pointer moved."},"SetConversationActionItemsStateRequest":{"properties":{"items_idx":{"items":{"type":"integer"},"type":"array","title":"Items Idx"},"values":{"items":{"type":"boolean"},"type":"array","title":"Values"}},"type":"object","required":["items_idx","values"],"title":"SetConversationActionItemsStateRequest"},"SetConversationEventsStateRequest":{"properties":{"events_idx":{"items":{"type":"integer"},"type":"array","title":"Events Idx"},"values":{"items":{"type":"boolean"},"type":"array","title":"Values"}},"type":"object","required":["events_idx","values"],"title":"SetConversationEventsStateRequest"},"SetConversationStarredOperation":{"properties":{"type":{"type":"string","const":"set_starred","title":"Type","default":"set_starred"},"starred":{"type":"boolean","title":"Starred"}},"additionalProperties":false,"type":"object","required":["starred"],"title":"SetConversationStarredOperation","description":"User-owned starred mutation carried by the durable sync endpoint."},"SetConversationTitleOperation":{"properties":{"type":{"type":"string","const":"set_title","title":"Type","default":"set_title"},"title":{"type":"string","maxLength":256,"minLength":1,"title":"Title"}},"additionalProperties":false,"type":"object","required":["title"],"title":"SetConversationTitleOperation","description":"User-owned title mutation carried by the durable sync endpoint."},"SetDefaultPaymentMethodRequest":{"properties":{"method":{"type":"string","title":"Method"}},"type":"object","required":["method"],"title":"SetDefaultPaymentMethodRequest"},"SetUserLanguageRequest":{"properties":{"language":{"type":"string","title":"Language"}},"type":"object","required":["language"],"title":"SetUserLanguageRequest"},"SetUserWebhookUrlRequest":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"SetUserWebhookUrlRequest"},"ShareActionItemsResponse":{"properties":{"url":{"type":"string","title":"Url"},"token":{"type":"string","title":"Token"}},"type":"object","required":["url","token"],"title":"ShareActionItemsResponse"},"ShareChatMessagesRequest":{"properties":{"message_ids":{"items":{"type":"string"},"type":"array","title":"Message Ids","default":[]}},"type":"object","title":"ShareChatMessagesRequest"},"ShareChatMessagesResponse":{"properties":{"url":{"type":"string","title":"Url"},"token":{"type":"string","title":"Token"}},"type":"object","required":["url","token"],"title":"ShareChatMessagesResponse"},"ShareRecipient":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"ShareRecipient"},"ShareRecipientsResponse":{"properties":{"recipients":{"items":{"$ref":"#\/components\/schemas\/ShareRecipient"},"type":"array","title":"Recipients"}},"type":"object","required":["recipients"],"title":"ShareRecipientsResponse"},"ShareTasksRequest":{"properties":{"task_ids":{"items":{"type":"string"},"type":"array","maxItems":20,"minItems":1,"title":"Task Ids","description":"IDs of action items to share"}},"type":"object","required":["task_ids"],"title":"ShareTasksRequest"},"SharedActionItem":{"properties":{"description":{"type":"string","title":"Description"},"completed":{"type":"boolean","title":"Completed","default":false},"owner_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Name"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"due_certainty":{"anyOf":[{"type":"string","enum":["confirmed","tentative"]},{"type":"null"}],"title":"Due Certainty"},"context":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context"}},"type":"object","required":["description"],"title":"SharedActionItem","description":"Public share projection of an action item."},"SharedActionItemPreview":{"properties":{"description":{"type":"string","title":"Description"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"}},"type":"object","required":["description"],"title":"SharedActionItemPreview"},"SharedActionItemsResponse":{"properties":{"sender_name":{"type":"string","title":"Sender Name"},"tasks":{"items":{"$ref":"#\/components\/schemas\/SharedActionItemPreview"},"type":"array","title":"Tasks"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["sender_name","tasks","count"],"title":"SharedActionItemsResponse"},"SharedAppResult":{"properties":{"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"},"content":{"type":"string","title":"Content"}},"type":"object","required":["app_id","content"],"title":"SharedAppResult"},"SharedAssistantSettings":{"properties":{"cooldown_interval":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cooldown Interval"},"glow_overlay_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Glow Overlay Enabled"},"analysis_delay":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Analysis Delay"},"screen_analysis_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Screen Analysis Enabled"}},"type":"object","title":"SharedAssistantSettings"},"SharedChatMessage":{"properties":{"id":{"type":"string","title":"Id"},"text":{"type":"string","title":"Text"},"sender":{"type":"string","title":"Sender"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","text","sender"],"title":"SharedChatMessage"},"SharedChatMessagesResponse":{"properties":{"sender_name":{"type":"string","title":"Sender Name"},"messages":{"items":{"$ref":"#\/components\/schemas\/SharedChatMessage"},"type":"array","title":"Messages","default":[]},"count":{"type":"integer","title":"Count"}},"type":"object","required":["sender_name","count"],"title":"SharedChatMessagesResponse"},"SharedConversationResponse":{"properties":{"id":{"type":"string","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"source":{"anyOf":[{"$ref":"#\/components\/schemas\/ConversationSource"},{"type":"null"}],"default":"omi"},"status":{"anyOf":[{"$ref":"#\/components\/schemas\/ConversationStatus"},{"type":"null"}],"default":"completed"},"visibility":{"$ref":"#\/components\/schemas\/ConversationVisibility","default":"private"},"structured":{"$ref":"#\/components\/schemas\/SharedStructured"},"transcript_segments":{"items":{"$ref":"#\/components\/schemas\/SharedTranscriptSegment"},"type":"array","title":"Transcript Segments"},"apps_results":{"items":{"$ref":"#\/components\/schemas\/SharedAppResult"},"type":"array","title":"Apps Results"},"plugins_results":{"items":{"$ref":"#\/components\/schemas\/SharedPluginResult"},"type":"array","title":"Plugins Results"},"people":{"items":{"$ref":"#\/components\/schemas\/SharedPerson"},"type":"array","title":"People"}},"type":"object","required":["id","created_at","started_at","finished_at","structured"],"title":"SharedConversationResponse","description":"Public unauthenticated shared-conversation payload. Only declared fields are returned."},"SharedEvent":{"properties":{"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description","default":""},"start":{"type":"string","format":"date-time","title":"Start"},"duration":{"type":"integer","title":"Duration","default":30},"created":{"type":"boolean","title":"Created","default":false}},"type":"object","required":["title","start"],"title":"SharedEvent","description":"Public share projection of a structured event."},"SharedParticipant":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"organization":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Organization"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"},"is_ai_agent":{"type":"boolean","title":"Is Ai Agent","default":false},"source":{"anyOf":[{"type":"string","enum":["roster","transcript"]},{"type":"null"}],"title":"Source"}},"type":"object","title":"SharedParticipant","description":"Public share projection of a meeting participant \u2014 never an email."},"SharedPerson":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"SharedPerson","description":"Speaker-label projection for a shared conversation."},"SharedPluginResult":{"properties":{"plugin_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plugin Id"},"content":{"type":"string","title":"Content"}},"type":"object","required":["plugin_id","content"],"title":"SharedPluginResult"},"SharedSection":{"properties":{"heading":{"type":"string","title":"Heading"},"body_markdown":{"type":"string","title":"Body Markdown"},"kind":{"type":"string","enum":["main","side_notes"],"title":"Kind","default":"main"},"source_segment_ids":{"items":{"type":"string"},"type":"array","title":"Source Segment Ids"}},"type":"object","required":["heading","body_markdown"],"title":"SharedSection","description":"Public note content linked to the transcript segments on the same share payload."},"SharedStructured":{"properties":{"title":{"type":"string","title":"Title","default":""},"overview":{"type":"string","title":"Overview","default":""},"emoji":{"type":"string","title":"Emoji","default":"\ud83d\udcac"},"category":{"$ref":"#\/components\/schemas\/CategoryEnum","default":"other"},"sections":{"items":{"$ref":"#\/components\/schemas\/SharedSection"},"type":"array","title":"Sections"},"action_items":{"items":{"$ref":"#\/components\/schemas\/SharedActionItem"},"type":"array","title":"Action Items"},"events":{"items":{"$ref":"#\/components\/schemas\/SharedEvent"},"type":"array","title":"Events"},"meeting_type":{"anyOf":[{"type":"string","enum":["interview","intro","sales","customer","one_on_one","team_sync","planning","demo","social","other"]},{"type":"null"}],"title":"Meeting Type"},"participants":{"items":{"$ref":"#\/components\/schemas\/SharedParticipant"},"type":"array","title":"Participants"}},"type":"object","title":"SharedStructured","description":"Public share projection of conversation structure."},"SharedTranscriptSegment":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"text":{"type":"string","title":"Text"},"original_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Original Text"},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker","default":"SPEAKER_00"},"speaker_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Speaker Id"},"is_user":{"type":"boolean","title":"Is User"},"person_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Person Id"},"start":{"type":"number","title":"Start"},"end":{"type":"number","title":"End"}},"type":"object","required":["text","is_user","start","end"],"title":"SharedTranscriptSegment","description":"Public share projection of a transcript turn."},"ShortTermLifecycleRunResponse":{"properties":{"uid":{"type":"string","title":"Uid","description":"User id the lifecycle worker ran for."},"run_id":{"type":"string","title":"Run Id","description":"Idempotency\/run id supplied by the caller."},"evaluated_at":{"type":"string","title":"Evaluated At","description":"ISO-8601 timestamp the run was evaluated at (UTC)."},"evaluated_count":{"type":"integer","title":"Evaluated Count","description":"Total items evaluated (created + existing + skipped)."},"created_count":{"type":"integer","title":"Created Count","description":"Newly persisted lifecycle transition records."},"existing_count":{"type":"integer","title":"Existing Count","description":"Already-persisted transition records observed."},"skipped_count":{"type":"integer","title":"Skipped Count","description":"Items skipped (no transition required)."},"transition_count":{"type":"integer","title":"Transition Count","description":"Items that produced a transition (created + existing)."},"skipped_memory_ids":{"items":{"type":"string"},"type":"array","title":"Skipped Memory Ids","description":"Memory ids that were skipped."},"default_access_allowed":{"type":"boolean","title":"Default Access Allowed","description":"Whether default access was allowed (always false for this admin report)."},"archive_default_visible":{"type":"boolean","title":"Archive Default Visible","description":"Always false; Archive is never default-visible."}},"type":"object","required":["uid","run_id","evaluated_at","evaluated_count","created_count","existing_count","skipped_count","transition_count","skipped_memory_ids","default_access_allowed","archive_default_visible"],"title":"ShortTermLifecycleRunResponse","description":"Counts and outcome of a Short-term lifecycle worker run for one user.\n\nReturned by ``POST \/memory\/admin\/users\/{uid}\/short-term-lifecycle\/run``."},"ShortlistEligibility":{"properties":{"open":{"type":"boolean","title":"Open"},"unexpired":{"type":"boolean","title":"Unexpired"},"passes_recommendation_gates":{"type":"boolean","title":"Passes Recommendation Gates"},"recent_material_activity":{"type":"boolean","title":"Recent Material Activity"},"inside_due_window":{"type":"boolean","title":"Inside Due Window"}},"additionalProperties":false,"type":"object","required":["open","unexpired","passes_recommendation_gates","recent_material_activity","inside_due_window"],"title":"ShortlistEligibility"},"SimpleActionItem":{"properties":{"id":{"type":"string","title":"Id"},"description":{"type":"string","title":"Description"},"completed":{"type":"boolean","title":"Completed","default":false},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"deleted":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Deleted"}},"type":"object","required":["id","description"],"title":"SimpleActionItem"},"SimpleChatMessage":{"properties":{"id":{"type":"string","title":"Id"},"text":{"type":"string","title":"Text"},"sender":{"type":"string","title":"Sender"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","text","sender"],"title":"SimpleChatMessage"},"SimpleConversation":{"properties":{"id":{"type":"string","title":"Id"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"structured":{"$ref":"#\/components\/schemas\/routers__mcp__SimpleStructured"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"apps_results":{"items":{"$ref":"#\/components\/schemas\/AppResult"},"type":"array","title":"Apps Results","default":[]},"match_snippets":{"items":{"$ref":"#\/components\/schemas\/routers__mcp__TranscriptMatchSnippet"},"type":"array","title":"Match Snippets","default":[]},"participants_included":{"type":"boolean","title":"Participants Included","default":false},"participants":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Participants"},"person_ids":{"items":{"type":"string"},"type":"array","title":"Person Ids"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"is_call":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Call"},"call_platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Platform"},"calendar_event_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Calendar Event Id"}},"type":"object","required":["id","started_at","finished_at","structured"],"title":"SimpleConversation"},"SimplePerson":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"speech_sample_transcripts":{"items":{"type":"string"},"type":"array","title":"Speech Sample Transcripts","default":[]}},"type":"object","required":["id","name"],"title":"SimplePerson"},"SnapshotReceipt":{"properties":{"snapshot_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Snapshot Id"},"replaced":{"type":"boolean","title":"Replaced"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"}},"additionalProperties":false,"type":"object","required":["snapshot_id","replaced","expires_at"],"title":"SnapshotReceipt"},"SourceState":{"type":"string","enum":["active","missing","tombstoned","purged"],"title":"SourceState"},"SourceStateReason":{"type":"string","enum":["ephemeral_already_missing","dropped_before_copy","deleted_by_user","account_purged","copy_failed","explicit_loss","not_applicable"],"title":"SourceStateReason"},"SpaceChangeEntry":{"properties":{"seq":{"type":"integer","title":"Seq"},"entity":{"type":"string","title":"Entity"},"entity_id":{"type":"string","title":"Entity Id"},"op":{"type":"string","enum":["upsert","delete"],"title":"Op"},"rev":{"type":"integer","title":"Rev"},"actor_uid":{"type":"string","title":"Actor Uid"},"client_mutation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Mutation Id"},"ts":{"type":"number","title":"Ts"}},"type":"object","required":["seq","entity","entity_id","op","rev","actor_uid","client_mutation_id","ts"],"title":"SpaceChangeEntry"},"SpaceChangesResponse":{"properties":{"entries":{"items":{"$ref":"#\/components\/schemas\/SpaceChangeEntry"},"type":"array","title":"Entries"},"rows":{"items":{"$ref":"#\/components\/schemas\/SpaceRow"},"type":"array","title":"Rows"},"next_cursor":{"type":"integer","title":"Next Cursor"},"head":{"type":"integer","title":"Head"},"epoch":{"type":"integer","title":"Epoch"}},"type":"object","required":["entries","rows","next_cursor","head","epoch"],"title":"SpaceChangesResponse"},"SpaceCursorRequest":{"properties":{"device_id":{"type":"string","pattern":"^[A-Za-z0-9_.:@-]{1,128}$","title":"Device Id"},"last_seq":{"type":"integer","minimum":0,"title":"Last Seq"}},"additionalProperties":false,"type":"object","required":["device_id","last_seq"],"title":"SpaceCursorRequest"},"SpaceCursorResponse":{"properties":{"status":{"type":"string","const":"ok","title":"Status"},"last_seq":{"type":"integer","title":"Last Seq"},"head":{"type":"integer","title":"Head"},"epoch":{"type":"integer","title":"Epoch"}},"type":"object","required":["status","last_seq","head","epoch"],"title":"SpaceCursorResponse"},"SpaceMutationConflictResponse":{"properties":{"status":{"type":"string","const":"conflict","title":"Status"},"code":{"type":"string","enum":["base_revision_mismatch","mutation_id_reused","revision_unavailable"],"title":"Code"},"client_mutation_id":{"type":"string","title":"Client Mutation Id"},"entity":{"type":"string","title":"Entity"},"entity_id":{"type":"string","title":"Entity Id"},"row":{"anyOf":[{"$ref":"#\/components\/schemas\/SpaceRow"},{"type":"null"}]}},"type":"object","required":["status","code","client_mutation_id","entity","entity_id","row"],"title":"SpaceMutationConflictResponse"},"SpaceMutationRequest":{"properties":{"entity":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$","title":"Entity"},"entity_id":{"type":"string","maxLength":256,"minLength":1,"pattern":"^[^\\x00]{1,256}$","title":"Entity Id"},"client_mutation_id":{"type":"string","maxLength":128,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Client Mutation Id"},"base_revision":{"anyOf":[{"type":"integer"},{"type":"string","format":"date-time"}],"title":"Base Revision"},"operation":{"oneOf":[{"$ref":"#\/components\/schemas\/PatchSpaceEntityOperation"},{"$ref":"#\/components\/schemas\/DeleteSpaceEntityOperation"}],"title":"Operation","discriminator":{"propertyName":"type","mapping":{"delete":"#\/components\/schemas\/DeleteSpaceEntityOperation","patch":"#\/components\/schemas\/PatchSpaceEntityOperation"}}}},"additionalProperties":false,"type":"object","required":["entity","entity_id","client_mutation_id","base_revision","operation"],"title":"SpaceMutationRequest"},"SpaceMutationResponse":{"properties":{"status":{"type":"string","const":"ok","title":"Status"},"client_mutation_id":{"type":"string","title":"Client Mutation Id"},"entity":{"type":"string","title":"Entity"},"entity_id":{"type":"string","title":"Entity Id"},"rev":{"type":"integer","title":"Rev"},"seq":{"type":"integer","title":"Seq"},"replayed":{"type":"boolean","title":"Replayed"}},"type":"object","required":["status","client_mutation_id","entity","entity_id","rev","seq","replayed"],"title":"SpaceMutationResponse"},"SpaceRow":{"properties":{"entity":{"type":"string","title":"Entity"},"entity_id":{"type":"string","title":"Entity Id"},"author_id":{"type":"string","title":"Author Id"},"rev":{"type":"integer","title":"Rev"},"doc":{"additionalProperties":true,"type":"object","title":"Doc","description":"Cell document. Binary values at any depth use the reserved singleton {\"$bytes\": \"<base64>\"}."},"updated_at":{"type":"number","title":"Updated At"}},"type":"object","required":["entity","entity_id","author_id","rev","doc","updated_at"],"title":"SpaceRow"},"SpaceSnapshotResponse":{"properties":{"rows":{"items":{"$ref":"#\/components\/schemas\/SpaceRow"},"type":"array","title":"Rows"},"entries":{"items":{"$ref":"#\/components\/schemas\/SpaceChangeEntry"},"type":"array","title":"Entries"},"next_page_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Page Token"},"head":{"type":"integer","title":"Head"},"epoch":{"type":"integer","title":"Epoch"}},"type":"object","required":["rows","entries","next_page_token","head","epoch"],"title":"SpaceSnapshotResponse"},"SpeakerAnalytics":{"properties":{"speaker":{"type":"string","title":"Speaker"},"person_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Person Id"},"is_user":{"type":"boolean","title":"Is User","default":false},"talk_seconds":{"type":"number","title":"Talk Seconds"},"word_count":{"type":"integer","title":"Word Count"},"words_per_minute":{"type":"number","title":"Words Per Minute"},"talk_share":{"type":"number","title":"Talk Share"}},"type":"object","required":["speaker","talk_seconds","word_count","words_per_minute","talk_share"],"title":"SpeakerAnalytics"},"SpeakerAnswer":{"properties":{"person_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1},{"type":"null"}],"title":"Person Id"},"new_person_name":{"anyOf":[{"type":"string","maxLength":40,"minLength":2},{"type":"null"}],"title":"New Person Name"},"is_me":{"type":"boolean","title":"Is Me","default":false}},"additionalProperties":false,"type":"object","title":"SpeakerAnswer"},"SpeakerItem":{"properties":{"prompt_id":{"type":"string","title":"Prompt Id"},"conversation_id":{"type":"string","title":"Conversation Id"},"conversation_title":{"type":"string","title":"Conversation Title"},"start":{"type":"number","title":"Start"},"end":{"type":"number","title":"End"},"candidates":{"items":{"$ref":"#\/components\/schemas\/PersonRef"},"type":"array","maxItems":3,"title":"Candidates"},"affected_conversation_count":{"type":"integer","minimum":1,"title":"Affected Conversation Count"},"context":{"items":{"$ref":"#\/components\/schemas\/TranscriptLine"},"type":"array","maxItems":3,"title":"Context"}},"type":"object","required":["prompt_id","conversation_id","conversation_title","start","end","affected_conversation_count"],"title":"SpeakerItem"},"SpeakerTagCandidate":{"properties":{"person_id":{"type":"string","title":"Person Id"},"name":{"type":"string","title":"Name"},"match_level":{"anyOf":[{"type":"integer","maximum":3,"minimum":1},{"type":"null"}],"title":"Match Level"},"pinned":{"type":"boolean","title":"Pinned","default":false}},"type":"object","required":["person_id","name"],"title":"SpeakerTagCandidate","description":"A person the card offers for this voice, best first."},"SpeakerTagPrompt":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"$ref":"#\/components\/schemas\/SpeakerTagPromptKind"},"origin":{"$ref":"#\/components\/schemas\/SpeakerTagPromptOrigin"},"conversation_id":{"type":"string","title":"Conversation Id"},"conversation_title":{"type":"string","title":"Conversation Title","default":""},"conversation_started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Conversation Started At"},"speaker_id":{"type":"integer","title":"Speaker Id"},"segment_ids":{"items":{"type":"string"},"type":"array","title":"Segment Ids"},"clip_start":{"type":"number","title":"Clip Start","description":"Clip start, seconds from conversation start"},"clip_end":{"type":"number","title":"Clip End","description":"Clip end, seconds from conversation start"},"evidence_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Evidence Id"},"receipt_generation":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Receipt Generation"},"speaker_id_scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker Id Scope"},"audio_capture_run":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Audio Capture Run"},"excerpt":{"type":"string","title":"Excerpt","default":""},"suggested_person_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Suggested Person Id"},"suggested_person_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Suggested Person Name"},"suggested_person_ids":{"items":{"type":"string"},"type":"array","title":"Suggested Person Ids"},"candidates":{"items":{"$ref":"#\/components\/schemas\/SpeakerTagCandidate"},"type":"array","title":"Candidates"}},"type":"object","required":["id","kind","origin","conversation_id","speaker_id","segment_ids","clip_start","clip_end"],"title":"SpeakerTagPrompt"},"SpeakerTagPromptAnswer":{"type":"string","enum":["me","not_me","person","new_person","someone_else","skip","not_a_person"],"title":"SpeakerTagPromptAnswer"},"SpeakerTagPromptAnswerRequest":{"properties":{"prompt_id":{"type":"string","maxLength":64,"minLength":1,"title":"Prompt Id"},"kind":{"$ref":"#\/components\/schemas\/SpeakerTagPromptKind"},"origin":{"$ref":"#\/components\/schemas\/SpeakerTagPromptOrigin"},"conversation_id":{"type":"string","maxLength":128,"minLength":1,"title":"Conversation Id"},"speaker_id":{"type":"integer","minimum":0,"title":"Speaker Id"},"segment_ids":{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1,"title":"Segment Ids"},"answer":{"$ref":"#\/components\/schemas\/SpeakerTagPromptAnswer"},"person_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Person Id"},"name":{"anyOf":[{"type":"string","maxLength":40,"minLength":2},{"type":"null"}],"title":"Name"},"suggested_person_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Suggested Person Id"},"first_time":{"type":"boolean","title":"First Time","default":false},"evidence_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Evidence Id"}},"additionalProperties":false,"type":"object","required":["prompt_id","kind","origin","conversation_id","speaker_id","segment_ids","answer"],"title":"SpeakerTagPromptAnswerRequest"},"SpeakerTagPromptAnswerResponse":{"properties":{"status":{"type":"string","title":"Status","default":"ok"},"person_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Person Id"},"quality_outcome":{"$ref":"#\/components\/schemas\/SpeakerTagPromptQualityOutcome"},"voice_sample_queued":{"type":"boolean","title":"Voice Sample Queued","default":false},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"segment_identities":{"items":{"$ref":"#\/components\/schemas\/SpeakerTagPromptSegmentIdentity"},"type":"array","title":"Segment Identities"}},"type":"object","required":["quality_outcome"],"title":"SpeakerTagPromptAnswerResponse"},"SpeakerTagPromptClip":{"properties":{"audio_base64":{"type":"string","title":"Audio Base64"},"content_type":{"type":"string","title":"Content Type","default":"audio\/wav"},"duration_seconds":{"type":"number","title":"Duration Seconds"}},"type":"object","required":["audio_base64","duration_seconds"],"title":"SpeakerTagPromptClip","description":"A short clip of the user's own stored audio, as base64 WAV (16 kHz mono PCM16)."},"SpeakerTagPromptKind":{"type":"string","enum":["owner_check","confirm_person","identify"],"title":"SpeakerTagPromptKind"},"SpeakerTagPromptOrigin":{"type":"string","enum":["auto_user","auto_person","unnamed"],"title":"SpeakerTagPromptOrigin","description":"What the system believed about the voice before asking."},"SpeakerTagPromptQualityOutcome":{"type":"string","enum":["owner_auto_confirmed","owner_auto_rejected","owner_missed","owner_unmatched_not_owner","person_auto_confirmed","person_auto_corrected","person_missed_known","person_not_enrolled","unknown_voice","skipped"],"title":"SpeakerTagPromptQualityOutcome","description":"Bounded, privacy-safe quality label derived from one answer.\n\nAuto-labels the user reviewed yield precision (confirmed vs rejected);\nunnamed voices the user names yield misses (recall gaps)."},"SpeakerTagPromptSegmentIdentity":{"properties":{"id":{"type":"string","title":"Id"},"is_user":{"type":"boolean","title":"Is User"},"person_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Person Id"}},"type":"object","required":["id","is_user"],"title":"SpeakerTagPromptSegmentIdentity"},"SpeakerTagPromptsResponse":{"properties":{"prompts":{"items":{"$ref":"#\/components\/schemas\/SpeakerTagPrompt"},"type":"array","title":"Prompts"},"first_time":{"type":"boolean","title":"First Time","default":false},"save_other_voice_profiles":{"type":"boolean","title":"Save Other Voice Profiles","default":true},"status":{"type":"string","title":"Status","default":"ok"},"next_eligible_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Eligible At"}},"type":"object","title":"SpeakerTagPromptsResponse"},"SpeakerTagPromptsShownRequest":{"properties":{"prompt_ids":{"items":{"type":"string"},"type":"array","maxItems":10,"title":"Prompt Ids"},"set_shown":{"type":"boolean","title":"Set Shown","default":true}},"additionalProperties":false,"type":"object","title":"SpeakerTagPromptsShownRequest"},"SpeakerTagPromptsShownResponse":{"properties":{"first_time":{"type":"boolean","title":"First Time"}},"type":"object","required":["first_time"],"title":"SpeakerTagPromptsShownResponse"},"SpeechProfileMutationResponse":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"SpeechProfileMutationResponse"},"SpeechProfileResponse":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"type":"object","title":"SpeechProfileResponse"},"SpeechProfileStatusResponse":{"properties":{"has_profile":{"type":"boolean","title":"Has Profile"},"duration_seconds":{"type":"number","title":"Duration Seconds"},"sample_count":{"type":"integer","title":"Sample Count"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"type":"object","required":["has_profile","duration_seconds","sample_count"],"title":"SpeechProfileStatusResponse"},"SpeechProfileUploadResponse":{"properties":{"url":{"type":"string","title":"Url"}},"type":"object","required":["url"],"title":"SpeechProfileUploadResponse"},"SpellingAnswer":{"properties":{"value":{"type":"string","maxLength":200,"minLength":1,"title":"Value"}},"additionalProperties":false,"type":"object","required":["value"],"title":"SpellingAnswer"},"SpellingContext":{"properties":{"conversation_title":{"type":"string","title":"Conversation Title"},"conversation_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Conversation Date"},"segments":{"items":{"$ref":"#\/components\/schemas\/SpellingContextSegment"},"type":"array","maxItems":3,"minItems":1,"title":"Segments"},"main_index":{"type":"integer","maximum":2,"minimum":0,"title":"Main Index"},"quote_start":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Quote Start","description":"Inclusive UTF-16 offset in the main segment."},"quote_end":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Quote End","description":"Exclusive UTF-16 offset in the main segment."}},"type":"object","required":["conversation_title","segments","main_index"],"title":"SpellingContext"},"SpellingContextSegment":{"properties":{"text":{"type":"string","title":"Text"},"speaker_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker Label"},"is_user":{"type":"boolean","title":"Is User","default":false}},"type":"object","required":["text"],"title":"SpellingContextSegment"},"SpellingItem":{"properties":{"term_id":{"type":"string","title":"Term Id"},"options":{"items":{"type":"string"},"type":"array","maxItems":3,"minItems":2,"title":"Options"},"allow_custom":{"type":"boolean","title":"Allow Custom"},"context":{"anyOf":[{"$ref":"#\/components\/schemas\/SpellingContext"},{"type":"null"}],"description":"Server-computed surrounding speech for this question."}},"type":"object","required":["term_id","options","allow_custom"],"title":"SpellingItem"},"StagedTask":{"properties":{"id":{"type":"string","title":"Id","description":"Unique staged-task identifier."},"description":{"type":"string","title":"Description","description":"Task description text."},"completed":{"type":"boolean","title":"Completed","description":"Whether the staged task has been closed or promoted."},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Creation timestamp (UTC)."},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Last update timestamp (UTC)."},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At","description":"Optional due date for the task."},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","description":"Origin of the task, e.g. a screenshot extraction."},"priority":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Priority","description":"Task priority, e.g. \"high\", \"medium\", \"low\"."},"metadata":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Metadata","description":"Opaque metadata associated with the task."},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category","description":"Task category."},"relevance_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Relevance Score","description":"Relevance score (0-1000) used for promotion ordering."}},"type":"object","required":["id","description","completed","created_at","updated_at"],"title":"StagedTask","description":"A single staged task awaiting promotion to an action item."},"StagedTaskListResponse":{"properties":{"items":{"items":{"$ref":"#\/components\/schemas\/StagedTask"},"type":"array","title":"Items","description":"Staged tasks for the current page."},"has_more":{"type":"boolean","title":"Has More","description":"Whether additional pages of staged tasks exist beyond this result."}},"type":"object","required":["items","has_more"],"title":"StagedTaskListResponse","description":"Paginated list of staged tasks."},"StatusResponse":{"properties":{"status":{"type":"string","title":"Status","description":"Human-readable status message, e.g. \"ok\"."}},"type":"object","required":["status"],"title":"StatusResponse","description":"Canonical ack response for `{'status': str}` endpoints (deletes, mutations, bulk ops).\n\nPrefer this over hand-built `{'status': 'ok'}` dicts. Domain-specific status\nresponses (e.g. `IntegrationNotificationResponse`) may stay in their domain\nmodule, but generic acks should use this."},"StoreMeetingRequest":{"properties":{"calendar_event_id":{"type":"string","title":"Calendar Event Id","description":"External calendar system ID (macOS\/Google\/Outlook event ID)"},"calendar_source":{"type":"string","title":"Calendar Source","description":"Source: 'macos_calendar', 'google_calendar', 'outlook_calendar'"},"title":{"type":"string","title":"Title","description":"Meeting title"},"start_time":{"type":"string","format":"date-time","title":"Start Time","description":"Meeting start time"},"end_time":{"type":"string","format":"date-time","title":"End Time","description":"Meeting end time"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform","description":"Platform: 'Zoom', 'Teams', 'Google Meet', etc."},"meeting_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meeting Link","description":"URL to join the meeting"},"participants":{"items":{"$ref":"#\/components\/schemas\/MeetingParticipant"},"type":"array","title":"Participants","description":"Meeting participants"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes","description":"Meeting notes\/description"},"participant_sources":{"anyOf":[{"$ref":"#\/components\/schemas\/MeetingParticipantSources"},{"type":"null"}]}},"type":"object","required":["calendar_event_id","calendar_source","title","start_time","end_time"],"title":"StoreMeetingRequest","description":"Request to store\/update a calendar meeting"},"StoreMeetingResponse":{"properties":{"meeting_id":{"type":"string","title":"Meeting Id","description":"Firestore document ID for this meeting"},"calendar_event_id":{"type":"string","title":"Calendar Event Id"},"message":{"type":"string","title":"Message","default":"Meeting stored successfully"}},"type":"object","required":["meeting_id","calendar_event_id"],"title":"StoreMeetingResponse","description":"Response after storing a meeting"},"StoreRecordingPermissionResponse":{"properties":{"store_recording_permission":{"type":"boolean","title":"Store Recording Permission"}},"type":"object","required":["store_recording_permission"],"title":"StoreRecordingPermissionResponse"},"StorefrontCapChoice":{"properties":{"title":{"type":"string","title":"Title"},"body":{"type":"string","title":"Body"},"upgrade_label":{"type":"string","title":"Upgrade Label"},"on_device_label":{"type":"string","title":"On Device Label"},"dont_ask_again_label":{"type":"string","title":"Dont Ask Again Label"},"on_device_upgrade_line":{"type":"string","title":"On Device Upgrade Line"}},"type":"object","required":["title","body","upgrade_label","on_device_label","dont_ask_again_label","on_device_upgrade_line"],"title":"StorefrontCapChoice"},"StorefrontCurrent":{"properties":{"plan_id":{"type":"string","title":"Plan Id"},"name":{"type":"string","title":"Name"},"price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price Id"},"interval":{"anyOf":[{"type":"string","enum":["month","year"]},{"type":"null"}],"title":"Interval"},"legacy":{"type":"boolean","title":"Legacy"},"cancel_at_period_end":{"type":"boolean","title":"Cancel At Period End","default":false},"line":{"type":"string","title":"Line"},"legacy_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legacy Note"},"amount_minor":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Amount Minor"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"line_template":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Line Template"}},"type":"object","required":["plan_id","name","legacy","line"],"title":"StorefrontCurrent"},"StorefrontPrice":{"properties":{"price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price Id"},"interval":{"type":"string","enum":["month","year"],"title":"Interval"},"amount_minor":{"type":"integer","title":"Amount Minor"},"currency":{"type":"string","title":"Currency"},"headline":{"type":"string","title":"Headline"},"subline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subline"},"renewal_line":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Renewal Line"},"months_free":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Months Free"},"confirm_lines":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Confirm Lines"},"cta_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cta Label"},"cta_label_template":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cta Label Template"},"saving_minor":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Saving Minor"},"confirm_line_templates":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Confirm Line Templates"}},"type":"object","required":["interval","amount_minor","currency","headline"],"title":"StorefrontPrice"},"StorefrontResponse":{"properties":{"schema_version":{"type":"integer","const":2,"title":"Schema Version","default":2},"catalog_revision":{"type":"integer","title":"Catalog Revision"},"show_subscription_ui":{"type":"boolean","title":"Show Subscription Ui","default":true},"header":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Header"},"current":{"anyOf":[{"$ref":"#\/components\/schemas\/StorefrontCurrent"},{"type":"null"}]},"usage":{"$ref":"#\/components\/schemas\/StorefrontUsage"},"tiers":{"items":{"$ref":"#\/components\/schemas\/StorefrontTier"},"type":"array","title":"Tiers"},"yearly_toggle_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Yearly Toggle Label"},"at_cap":{"anyOf":[{"$ref":"#\/components\/schemas\/StorefrontCapChoice"},{"type":"null"}]},"chat_at_cap":{"anyOf":[{"$ref":"#\/components\/schemas\/ChatAtCap"},{"type":"null"}]}},"type":"object","required":["catalog_revision"],"title":"StorefrontResponse"},"StorefrontTier":{"properties":{"tier_id":{"type":"string","title":"Tier Id"},"plan_id":{"type":"string","title":"Plan Id"},"name":{"type":"string","title":"Name"},"recommended":{"type":"boolean","title":"Recommended","default":false},"is_current":{"type":"boolean","title":"Is Current","default":false},"hours_line":{"type":"string","title":"Hours Line"},"bullets":{"items":{"type":"string"},"type":"array","title":"Bullets"},"action":{"type":"string","enum":["checkout","current","none"],"title":"Action"},"cta_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cta Label"},"blocked_line":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Blocked Line"},"compact":{"type":"boolean","title":"Compact","default":false},"prices":{"items":{"$ref":"#\/components\/schemas\/StorefrontPrice"},"type":"array","title":"Prices"}},"type":"object","required":["tier_id","plan_id","name","hours_line","bullets","action","prices"],"title":"StorefrontTier"},"StorefrontUsage":{"properties":{"kind":{"type":"string","enum":["usage_budget","transcription","unavailable"],"title":"Kind","default":"unavailable"},"percent":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Percent"},"period_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period Id"},"reset_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reset Label"},"meter_line":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meter Line"},"hours_left":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Hours Left"},"nudge_line":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nudge Line"},"more_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"More Label"},"pro_gates":{"items":{"type":"string"},"type":"array","title":"Pro Gates"},"mcp_cap_reached":{"type":"boolean","title":"Mcp Cap Reached","default":false}},"type":"object","title":"StorefrontUsage"},"StripeConnectAccountResponse":{"properties":{"account_id":{"type":"string","title":"Account Id"},"url":{"type":"string","title":"Url"}},"type":"object","required":["account_id","url"],"title":"StripeConnectAccountResponse"},"StripeOnboardingStatusResponse":{"properties":{"onboarding_complete":{"type":"boolean","title":"Onboarding Complete"}},"type":"object","required":["onboarding_complete"],"title":"StripeOnboardingStatusResponse"},"StripeSupportedCountryResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"StripeSupportedCountryResponse"},"Structured":{"properties":{"note_claims":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/NoteClaim"},"type":"array"},{"type":"null"}],"title":"Note Claims","description":"Episode claim provenance; absent on legacy notes"},"title":{"type":"string","title":"Title","description":"A title\/name for this conversation","default":""},"overview":{"type":"string","title":"Overview","description":"A brief overview of the conversation, highlighting the key details from it","default":""},"gist":{"type":"string","title":"Gist","description":"One line of at most 12 words saying what this conversation was about","default":""},"emoji":{"type":"string","title":"Emoji","description":"An emoji to represent the conversation","default":"\ud83d\udcac"},"category":{"$ref":"#\/components\/schemas\/CategoryEnum","description":"A category for this conversation","default":"other"},"sections":{"items":{"$ref":"#\/components\/schemas\/Section"},"type":"array","title":"Sections","description":"Detailed, free-form note sections in the model-chosen structure"},"action_items":{"items":{"$ref":"#\/components\/schemas\/models__structured__ActionItem"},"type":"array","title":"Action Items","description":"A list of action items from the conversation"},"events":{"items":{"$ref":"#\/components\/schemas\/models__structured__Event"},"type":"array","title":"Events","description":"A list of events extracted from the conversation, that the user must have on his calendar."},"meeting_type":{"anyOf":[{"type":"string","enum":["interview","intro","sales","customer","one_on_one","team_sync","planning","demo","social","other"]},{"type":"null"}],"title":"Meeting Type","description":"The kind of meeting, when the capture is a meeting"},"participants":{"items":{"$ref":"#\/components\/schemas\/Participant"},"type":"array","title":"Participants","description":"People and AI agents evidenced by the supplied notes context, including screen evidence; never the account owner"},"insights":{"items":{"$ref":"#\/components\/schemas\/Insight"},"type":"array","title":"Insights","description":"Insights connecting supplied background context to this conversation; empty without background"},"salience":{"anyOf":[{"type":"string","enum":["highlight","background"]},{"type":"null"}],"title":"Salience","description":"'highlight' when the person would want this as its own entry (time with people, a meeting or call, plans, decisions, ideas, tasks); 'background' when it is worth keeping but not a highlight (media or TV playing, ambient chatter, a passing remark, a trivial errand). Absent on legacy notes"}},"type":"object","title":"Structured"},"SttAvailabilityResponse":{"properties":{"available":{"type":"boolean","title":"Available"}},"type":"object","required":["available"],"title":"SttAvailabilityResponse"},"SubjectAttribution":{"type":"string","enum":["user","third_party","unknown","legacy_assumed"],"title":"SubjectAttribution"},"Subscription":{"properties":{"plan":{"$ref":"#\/components\/schemas\/PlanType","default":"basic"},"status":{"$ref":"#\/components\/schemas\/SubscriptionStatus","default":"active"},"current_period_end":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Period End"},"current_period_start":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Period Start"},"stripe_subscription_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Subscription Id"},"current_price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Current Price Id"},"features":{"items":{"type":"string"},"type":"array","title":"Features","default":[]},"cancel_at_period_end":{"type":"boolean","title":"Cancel At Period End","default":false},"limits":{"$ref":"#\/components\/schemas\/PlanLimits","default":{}},"deprecated":{"type":"boolean","title":"Deprecated","default":false},"deprecation_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deprecation Message"},"provider":{"anyOf":[{"type":"string","const":"play"},{"type":"null"}],"title":"Provider"},"prepaid":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Prepaid"}},"type":"object","title":"Subscription"},"SubscriptionPlan":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"subtitle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subtitle"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"eyebrow":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Eyebrow"},"features":{"items":{"type":"string"},"type":"array","title":"Features","default":[]},"prices":{"items":{"$ref":"#\/components\/schemas\/models__users__PricingOption"},"type":"array","title":"Prices","default":[]},"legacy":{"type":"boolean","title":"Legacy","default":false}},"type":"object","required":["id","title"],"title":"SubscriptionPlan"},"SubscriptionStatus":{"type":"string","enum":["active","inactive"],"title":"SubscriptionStatus"},"SummaryTaskReference":{"properties":{"conversation_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Conversation Id"},"action_item_index":{"type":"integer","minimum":0,"title":"Action Item Index"},"expected_description":{"type":"string","maxLength":4096,"minLength":1,"title":"Expected Description"}},"additionalProperties":false,"type":"object","required":["conversation_id","action_item_index","expected_description"],"title":"SummaryTaskReference","description":"The summary row the reader explicitly chose, not a client-authored task."},"SurfaceStateRequest":{"properties":{"session_id":{"type":"string","maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9-]+$","title":"Session Id"},"surface_open":{"type":"boolean","title":"Surface Open"},"foreground":{"type":"boolean","title":"Foreground"},"transcript_visible":{"type":"boolean","title":"Transcript Visible"}},"additionalProperties":false,"type":"object","required":["session_id","surface_open","foreground","transcript_visible"],"title":"SurfaceStateRequest"},"SyncBatchItem":{"properties":{"id":{"type":"string","title":"Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"completed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Completed"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"exported":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Exported"},"export_platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Export Platform"},"apple_reminder_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apple Reminder Id"}},"type":"object","required":["id"],"title":"SyncBatchItem"},"SyncBatchRequest":{"properties":{"items":{"items":{"$ref":"#\/components\/schemas\/SyncBatchItem"},"type":"array","maxItems":100,"title":"Items"}},"type":"object","required":["items"],"title":"SyncBatchRequest"},"SyncCaptureEndRequest":{"properties":{"recording_session_id":{"type":"string","maxLength":128,"minLength":1,"title":"Recording Session Id"},"end_type":{"type":"string","enum":["user_initiated","silence_backstop","disconnect"],"title":"End Type"},"last_speech_at":{"anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"null"}],"title":"Last Speech At"},"end_decided_at":{"type":"number","exclusiveMinimum":0,"title":"End Decided At"},"sent_at":{"type":"number","exclusiveMinimum":0,"title":"Sent At"},"pending_wals":{"type":"integer","maximum":100000,"minimum":0,"title":"Pending Wals"}},"type":"object","required":["recording_session_id","end_type","end_decided_at","sent_at","pending_wals"],"title":"SyncCaptureEndRequest","description":"The phone's statement that a recording ended. Times are device-clock epoch seconds."},"SyncCaptureEndResponse":{"properties":{"accepted":{"type":"boolean","title":"Accepted"},"retry":{"type":"boolean","title":"Retry","default":false}},"type":"object","required":["accepted"],"title":"SyncCaptureEndResponse"},"SyncCaptureManifestFile":{"properties":{"name":{"type":"string","maxLength":255,"minLength":1,"title":"Name"},"sha256":{"type":"string","pattern":"^[0-9a-fA-F]{64}$","title":"Sha256"}},"type":"object","required":["name","sha256"],"title":"SyncCaptureManifestFile"},"SyncCaptureManifestRequest":{"properties":{"conversation_id":{"type":"string","maxLength":128,"minLength":1,"title":"Conversation Id"},"files":{"items":{"$ref":"#\/components\/schemas\/SyncCaptureManifestFile"},"type":"array","maxItems":20,"minItems":1,"title":"Files"}},"type":"object","required":["conversation_id","files"],"title":"SyncCaptureManifestRequest"},"SyncCaptureManifestResponse":{"properties":{"manifest":{"type":"string","title":"Manifest"}},"type":"object","required":["manifest"],"title":"SyncCaptureManifestResponse"},"SyncContentInProgressResponse":{"properties":{"code":{"type":"string","title":"Code"},"detail":{"type":"string","title":"Detail","default":"The same audio is already processing"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"},"poll_after_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Poll After Ms"}},"type":"object","required":["code"],"title":"SyncContentInProgressResponse","description":"A duplicate upload follows its live owner; older servers omit hints."},"SyncJobStartResponse":{"properties":{"job_id":{"type":"string","title":"Job Id"},"status":{"type":"string","title":"Status"},"total_files":{"type":"integer","title":"Total Files"},"total_segments":{"type":"integer","title":"Total Segments"},"poll_after_ms":{"type":"integer","title":"Poll After Ms"},"lane":{"type":"string","title":"Lane","default":"fresh"}},"type":"object","required":["job_id","status","total_files","total_segments","poll_after_ms"],"title":"SyncJobStartResponse"},"SyncJobStatusResponse":{"properties":{"job_id":{"type":"string","title":"Job Id"},"status":{"type":"string","title":"Status"},"total_files":{"type":"integer","title":"Total Files","default":0},"total_segments":{"type":"integer","title":"Total Segments","default":0},"processed_segments":{"type":"integer","title":"Processed Segments","default":0},"successful_segments":{"type":"integer","title":"Successful Segments","default":0},"failed_segments":{"type":"integer","title":"Failed Segments","default":0},"result":{"anyOf":[{"$ref":"#\/components\/schemas\/SyncLocalFilesResultResponse"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"lane":{"type":"string","title":"Lane","default":"fresh"},"reason_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason Code"},"retry_after":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Retry After"},"recording_age_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Recording Age Seconds"},"poll_after_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Poll After Ms"}},"type":"object","required":["job_id","status"],"title":"SyncJobStatusResponse"},"SyncLocalFilesResultResponse":{"properties":{"new_memories":{"items":{"type":"string"},"type":"array","title":"New Memories"},"updated_memories":{"items":{"type":"string"},"type":"array","title":"Updated Memories"},"failed_segments":{"type":"integer","title":"Failed Segments","default":0},"total_segments":{"type":"integer","title":"Total Segments","default":0},"errors":{"items":{"type":"string"},"type":"array","title":"Errors"},"held_audio":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Held Audio"},"frame_outcomes_v1":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/FrameProcessingRange"},"type":"array"},{"type":"null"}],"title":"Frame Outcomes V1"}},"type":"object","title":"SyncLocalFilesResultResponse"},"SyncRecoveryWindowExceededResponse":{"properties":{"code":{"type":"string","title":"Code"},"detail":{"type":"string","title":"Detail"},"lane":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lane"}},"type":"object","required":["code","detail"],"title":"SyncRecoveryWindowExceededResponse"},"SyncRequestValidationErrorResponse":{"properties":{"detail":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Detail"}},"type":"object","required":["detail"],"title":"SyncRequestValidationErrorResponse","description":"FastAPI's multipart\/request validation shape for sync input failures."},"SyncUploadHoldReleaseResponse":{"properties":{"accepted":{"type":"boolean","title":"Accepted"}},"type":"object","required":["accepted"],"title":"SyncUploadHoldReleaseResponse"},"SyncUserTimeZoneRequest":{"properties":{"time_zone":{"type":"string","title":"Time Zone"}},"type":"object","required":["time_zone"],"title":"SyncUserTimeZoneRequest"},"SynthesizeAIUserProfileRequest":{"properties":{"memories":{"items":{"type":"string"},"type":"array","maxItems":500,"title":"Memories"},"tasks":{"items":{"type":"string"},"type":"array","maxItems":500,"title":"Tasks"},"goals":{"items":{"type":"string"},"type":"array","maxItems":500,"title":"Goals"},"conversations":{"items":{"type":"string"},"type":"array","maxItems":500,"title":"Conversations"},"messages":{"items":{"type":"string"},"type":"array","maxItems":500,"title":"Messages"},"past_profiles":{"items":{"type":"string"},"type":"array","maxItems":5,"title":"Past Profiles"}},"additionalProperties":false,"type":"object","title":"SynthesizeAIUserProfileRequest"},"SynthesizeAIUserProfileResponse":{"properties":{"profile_text":{"type":"string","title":"Profile Text"},"data_sources_used":{"items":{"type":"string"},"type":"array","title":"Data Sources Used"},"item_count":{"type":"integer","title":"Item Count"}},"additionalProperties":false,"type":"object","required":["profile_text","data_sources_used","item_count"],"title":"SynthesizeAIUserProfileResponse"},"Targeting":{"properties":{"app_version_min":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Version Min"},"app_version_max":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Version Max"},"firmware_version_min":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Firmware Version Min"},"firmware_version_max":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Firmware Version Max"},"device_models":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Device Models"},"platforms":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Platforms"},"trigger":{"$ref":"#\/components\/schemas\/TriggerType","default":"version_upgrade"},"test_uids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Test Uids"}},"type":"object","title":"Targeting","description":"Controls who sees the announcement"},"TaskAnswer":{"properties":{"decision":{"type":"string","enum":["accept","dismiss"],"title":"Decision"},"dismiss_reason":{"anyOf":[{"type":"string","enum":["already_done","not_mine","not_useful"]},{"type":"null"}],"title":"Dismiss Reason"},"edited_description":{"anyOf":[{"type":"string","maxLength":4096,"minLength":1},{"type":"null"}],"title":"Edited Description"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"workstream_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1},{"type":"null"}],"title":"Workstream Id"}},"additionalProperties":false,"type":"object","required":["decision"],"title":"TaskAnswer"},"TaskAssistantSettings":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"analysis_prompt":{"anyOf":[{"type":"string","maxLength":10000},{"type":"null"}],"title":"Analysis Prompt"},"extraction_interval":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Extraction Interval"},"min_confidence":{"anyOf":[{"type":"number","maximum":1,"minimum":0},{"type":"null"}],"title":"Min Confidence"},"notifications_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notifications Enabled"},"allowed_apps":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Allowed Apps"},"browser_keywords":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Browser Keywords"}},"type":"object","title":"TaskAssistantSettings"},"TaskCancelCandidate":{"properties":{"capture_confidence":{"type":"number","maximum":1,"minimum":0,"title":"Capture Confidence"},"ownership_confidence":{"type":"number","maximum":1,"minimum":0,"title":"Ownership Confidence"},"goal_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Goal Id"},"workstream_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Workstream Id"},"evidence_refs":{"items":{"$ref":"#\/components\/schemas\/EvidenceRef"},"type":"array","minItems":1,"title":"Evidence Refs"},"source_surface":{"type":"string","maxLength":64,"minLength":1,"title":"Source Surface"},"compatibility":{"anyOf":[{"$ref":"#\/components\/schemas\/CandidateCompatibilityMetadata"},{"type":"null"}]},"reminder_origin":{"anyOf":[{"$ref":"#\/components\/schemas\/ReminderOrigin"},{"type":"null"}]},"subject_kind":{"type":"string","const":"task","title":"Subject Kind","default":"task"},"task_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Task Id"},"task_change":{"$ref":"#\/components\/schemas\/TaskChangePayload"},"proposed_action":{"type":"string","const":"cancel","title":"Proposed Action","default":"cancel"}},"additionalProperties":false,"type":"object","required":["capture_confidence","ownership_confidence","evidence_refs","source_surface","task_id","task_change"],"title":"TaskCancelCandidate"},"TaskCandidate":{"oneOf":[{"$ref":"#\/components\/schemas\/TaskCreateCandidate"},{"$ref":"#\/components\/schemas\/TaskUpdateCandidate"},{"$ref":"#\/components\/schemas\/TaskCompleteCandidate"},{"$ref":"#\/components\/schemas\/TaskCancelCandidate"},{"$ref":"#\/components\/schemas\/TaskSupersedeCandidate"}],"discriminator":{"propertyName":"proposed_action","mapping":{"cancel":"#\/components\/schemas\/TaskCancelCandidate","complete":"#\/components\/schemas\/TaskCompleteCandidate","create":"#\/components\/schemas\/TaskCreateCandidate","supersede":"#\/components\/schemas\/TaskSupersedeCandidate","update":"#\/components\/schemas\/TaskUpdateCandidate"}}},"TaskCardSpec":{"properties":{"type":{"type":"string","const":"taskCard","title":"Type"},"task_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Task Id"}},"additionalProperties":false,"type":"object","required":["type","task_id"],"title":"TaskCardSpec"},"TaskChangePayload":{"properties":{"description":{"anyOf":[{"type":"string","maxLength":4096,"minLength":1},{"type":"null"}],"title":"Description"},"status":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskStatus"},{"type":"null"}]},"owner":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskOwner"},{"type":"null"}]},"due":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskDue"},{"type":"null"}]},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"due_confidence":{"anyOf":[{"type":"number","maximum":1,"minimum":0},{"type":"null"}],"title":"Due Confidence"},"priority":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskPriority"},{"type":"null"}]},"recurrence_rule":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Recurrence Rule"},"recurrence_parent_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Recurrence Parent Id"},"superseded_by":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Superseded By"}},"additionalProperties":false,"type":"object","title":"TaskChangePayload"},"TaskCompleteCandidate":{"properties":{"capture_confidence":{"type":"number","maximum":1,"minimum":0,"title":"Capture Confidence"},"ownership_confidence":{"type":"number","maximum":1,"minimum":0,"title":"Ownership Confidence"},"goal_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Goal Id"},"workstream_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Workstream Id"},"evidence_refs":{"items":{"$ref":"#\/components\/schemas\/EvidenceRef"},"type":"array","minItems":1,"title":"Evidence Refs"},"source_surface":{"type":"string","maxLength":64,"minLength":1,"title":"Source Surface"},"compatibility":{"anyOf":[{"$ref":"#\/components\/schemas\/CandidateCompatibilityMetadata"},{"type":"null"}]},"reminder_origin":{"anyOf":[{"$ref":"#\/components\/schemas\/ReminderOrigin"},{"type":"null"}]},"subject_kind":{"type":"string","const":"task","title":"Subject Kind","default":"task"},"task_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Task Id"},"task_change":{"$ref":"#\/components\/schemas\/TaskChangePayload"},"proposed_action":{"type":"string","const":"complete","title":"Proposed Action","default":"complete"}},"additionalProperties":false,"type":"object","required":["capture_confidence","ownership_confidence","evidence_refs","source_surface","task_id","task_change"],"title":"TaskCompleteCandidate"},"TaskConversationPageRequest":{"properties":{"query":{"type":"string","maxLength":2000,"title":"Query","default":""},"folder_id":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Folder Id"},"starred":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Starred"},"start_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start Date"},"end_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End Date"},"include_discarded":{"type":"boolean","title":"Include Discarded","default":false},"limit":{"type":"integer","maximum":100,"minimum":1,"title":"Limit","default":25},"cursor":{"anyOf":[{"type":"string","maxLength":4096},{"type":"null"}],"title":"Cursor"}},"type":"object","title":"TaskConversationPageRequest"},"TaskConversationPageResponse":{"properties":{"items":{"items":{"$ref":"#\/components\/schemas\/models__conversation__Conversation"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"partial":{"type":"boolean","title":"Partial","default":false}},"type":"object","required":["items"],"title":"TaskConversationPageResponse"},"TaskCreateCandidate":{"properties":{"capture_confidence":{"type":"number","maximum":1,"minimum":0,"title":"Capture Confidence"},"ownership_confidence":{"type":"number","maximum":1,"minimum":0,"title":"Ownership Confidence"},"goal_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Goal Id"},"workstream_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Workstream Id"},"evidence_refs":{"items":{"$ref":"#\/components\/schemas\/EvidenceRef"},"type":"array","minItems":1,"title":"Evidence Refs"},"source_surface":{"type":"string","maxLength":64,"minLength":1,"title":"Source Surface"},"compatibility":{"anyOf":[{"$ref":"#\/components\/schemas\/CandidateCompatibilityMetadata"},{"type":"null"}]},"reminder_origin":{"anyOf":[{"$ref":"#\/components\/schemas\/ReminderOrigin"},{"type":"null"}]},"subject_kind":{"type":"string","const":"task","title":"Subject Kind","default":"task"},"proposed_action":{"type":"string","const":"create","title":"Proposed Action","default":"create"},"task_change":{"$ref":"#\/components\/schemas\/TaskCreatePayload"}},"additionalProperties":false,"type":"object","required":["capture_confidence","ownership_confidence","evidence_refs","source_surface","task_change"],"title":"TaskCreateCandidate"},"TaskCreatePayload":{"properties":{"description":{"type":"string","maxLength":4096,"minLength":1,"title":"Description"},"owner":{"$ref":"#\/components\/schemas\/TaskOwner","default":"unknown"},"due":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskDue"},{"type":"null"}]},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"due_confidence":{"anyOf":[{"type":"number","maximum":1,"minimum":0},{"type":"null"}],"title":"Due Confidence"},"priority":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskPriority"},{"type":"null"}]},"recurrence_rule":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Recurrence Rule"},"recurrence_parent_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Recurrence Parent Id"}},"additionalProperties":false,"type":"object","required":["description"],"title":"TaskCreatePayload","description":"Candidate task-create payload; envelope metadata is intentionally absent."},"TaskDue":{"properties":{"kind":{"type":"string","enum":["none","date","instant","unresolved"],"title":"Kind"},"date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}],"title":"Date"},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone"},"instant":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Instant"},"expression":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Expression"},"year_basis":{"anyOf":[{"type":"string","enum":["spoken","source_relative","next_future_occurrence"]},{"type":"null"}],"title":"Year Basis"},"reason":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Reason"}},"additionalProperties":false,"type":"object","required":["kind"],"title":"TaskDue"},"TaskGoalLinkImport":{"properties":{"task_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Task Id"},"goal_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Goal Id"}},"additionalProperties":false,"type":"object","required":["task_id","goal_id"],"title":"TaskGoalLinkImport"},"TaskGoalLinkImportReport":{"properties":{"imported":{"type":"integer","title":"Imported"},"unchanged":{"type":"integer","title":"Unchanged"},"failed":{"type":"integer","title":"Failed"},"failure_task_ids":{"items":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},"type":"array","title":"Failure Task Ids"}},"type":"object","required":["imported","unchanged","failed","failure_task_ids"],"title":"TaskGoalLinkImportReport"},"TaskGoalLinkImportRequest":{"properties":{"links":{"items":{"$ref":"#\/components\/schemas\/TaskGoalLinkImport"},"type":"array","maxItems":500,"title":"Links"}},"additionalProperties":false,"type":"object","required":["links"],"title":"TaskGoalLinkImportRequest"},"TaskIntegrationData":{"properties":{"connected":{"type":"boolean","title":"Connected","default":true},"access_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Token"},"refresh_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Refresh Token"},"user_gid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Gid"},"workspace_gid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Gid"},"workspace_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workspace Name"},"project_gid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Gid"},"project_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Name"},"default_list_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default List Id"},"default_list_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default List Title"},"user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Id"},"team_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Id"},"team_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Team Name"},"space_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Space Id"},"space_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Space Name"},"list_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"List Id"},"list_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"List Name"}},"type":"object","title":"TaskIntegrationData","description":"Data for a task integration connection"},"TaskIntegrationMutationResponse":{"properties":{"status":{"type":"string","title":"Status"},"app_key":{"type":"string","title":"App Key"}},"type":"object","required":["status","app_key"],"title":"TaskIntegrationMutationResponse"},"TaskIntegrationStatus":{"properties":{"app_key":{"type":"string","title":"App Key"},"connected":{"type":"boolean","title":"Connected"}},"additionalProperties":false,"type":"object","required":["app_key","connected"],"title":"TaskIntegrationStatus","description":"Non-secret projection safe for clients, support tooling, and OpenAPI."},"TaskIntegrationsResponse":{"properties":{"integrations":{"additionalProperties":{"$ref":"#\/components\/schemas\/TaskIntegrationStatus"},"type":"object","title":"Integrations","description":"Map of app_key to non-secret status"},"default_app":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default App","description":"Default task integration app key"}},"type":"object","required":["integrations","default_app"],"title":"TaskIntegrationsResponse","description":"Response containing all task integrations"},"TaskIntelligenceFeedbackAction":{"type":"string","enum":["do_now","later","dismiss","accept_candidate","edit","complete"],"title":"TaskIntelligenceFeedbackAction"},"TaskIntelligenceFeedbackReason":{"type":"string","enum":["already_handled","not_mine","not_useful"],"title":"TaskIntelligenceFeedbackReason"},"TaskIntelligenceOutcomeCode":{"type":"string","enum":["task_completed","artifact_approved","artifact_delivered","decision_resolved","agent_output_applied","workstream_advanced"],"title":"TaskIntelligenceOutcomeCode"},"TaskOriginWorkIntent":{"properties":{"origin":{"type":"string","const":"task","title":"Origin","default":"task"},"task_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Task Id"},"title":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Title"},"objective":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Objective"}},"additionalProperties":false,"type":"object","required":["task_id"],"title":"TaskOriginWorkIntent"},"TaskOwner":{"type":"string","enum":["user","other","unknown"],"title":"TaskOwner"},"TaskPriority":{"type":"string","enum":["high","medium","low"],"title":"TaskPriority"},"TaskRef":{"properties":{"task_id":{"type":"string","title":"Task Id"},"description":{"type":"string","title":"Description"},"owner_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Label"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"waiting_on":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Waiting On"}},"type":"object","required":["task_id","description"],"title":"TaskRef"},"TaskStatus":{"type":"string","enum":["active","completed","cancelled","superseded"],"title":"TaskStatus"},"TaskSupersedeCandidate":{"properties":{"capture_confidence":{"type":"number","maximum":1,"minimum":0,"title":"Capture Confidence"},"ownership_confidence":{"type":"number","maximum":1,"minimum":0,"title":"Ownership Confidence"},"goal_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Goal Id"},"workstream_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Workstream Id"},"evidence_refs":{"items":{"$ref":"#\/components\/schemas\/EvidenceRef"},"type":"array","minItems":1,"title":"Evidence Refs"},"source_surface":{"type":"string","maxLength":64,"minLength":1,"title":"Source Surface"},"compatibility":{"anyOf":[{"$ref":"#\/components\/schemas\/CandidateCompatibilityMetadata"},{"type":"null"}]},"reminder_origin":{"anyOf":[{"$ref":"#\/components\/schemas\/ReminderOrigin"},{"type":"null"}]},"subject_kind":{"type":"string","const":"task","title":"Subject Kind","default":"task"},"task_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Task Id"},"task_change":{"$ref":"#\/components\/schemas\/TaskChangePayload"},"proposed_action":{"type":"string","const":"supersede","title":"Proposed Action","default":"supersede"}},"additionalProperties":false,"type":"object","required":["capture_confidence","ownership_confidence","evidence_refs","source_surface","task_id","task_change"],"title":"TaskSupersedeCandidate"},"TaskUpdateCandidate":{"properties":{"capture_confidence":{"type":"number","maximum":1,"minimum":0,"title":"Capture Confidence"},"ownership_confidence":{"type":"number","maximum":1,"minimum":0,"title":"Ownership Confidence"},"goal_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Goal Id"},"workstream_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Workstream Id"},"evidence_refs":{"items":{"$ref":"#\/components\/schemas\/EvidenceRef"},"type":"array","minItems":1,"title":"Evidence Refs"},"source_surface":{"type":"string","maxLength":64,"minLength":1,"title":"Source Surface"},"compatibility":{"anyOf":[{"$ref":"#\/components\/schemas\/CandidateCompatibilityMetadata"},{"type":"null"}]},"reminder_origin":{"anyOf":[{"$ref":"#\/components\/schemas\/ReminderOrigin"},{"type":"null"}]},"subject_kind":{"type":"string","const":"task","title":"Subject Kind","default":"task"},"task_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Task Id"},"task_change":{"$ref":"#\/components\/schemas\/TaskChangePayload"},"proposed_action":{"type":"string","const":"update","title":"Proposed Action","default":"update"}},"additionalProperties":false,"type":"object","required":["capture_confidence","ownership_confidence","evidence_refs","source_surface","task_id","task_change"],"title":"TaskUpdateCandidate"},"TaskWorkflowControl":{"properties":{"workflow_mode":{"$ref":"#\/components\/schemas\/TaskWorkflowMode","default":"off"},"account_generation":{"type":"integer","minimum":0,"title":"Account Generation","default":0}},"additionalProperties":false,"type":"object","title":"TaskWorkflowControl","description":"Persisted workflow metadata for legacy records and operational history."},"TaskWorkflowMode":{"type":"string","enum":["off","shadow","write","read"],"title":"TaskWorkflowMode"},"TasksResponse":{"properties":{"tasks":{"items":{"$ref":"#\/components\/schemas\/models__integrations__TaskItem"},"type":"array","title":"Tasks","description":"List of user tasks (action items)"}},"type":"object","required":["tasks"],"title":"TasksResponse"},"Term":{"properties":{"kind":{"type":"string","enum":["person","organization","project","jargon"],"title":"Kind"},"spelling":{"type":"string","maxLength":50,"minLength":1,"title":"Spelling"},"aliases":{"items":{"type":"string"},"type":"array","maxItems":5,"title":"Aliases"},"evidence":{"items":{"type":"string"},"type":"array","maxItems":10,"minItems":1,"title":"Evidence"}},"additionalProperties":false,"type":"object","required":["kind","spelling","evidence"],"title":"Term"},"TestDailySummaryRequest":{"properties":{"date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date"}},"type":"object","title":"TestDailySummaryRequest"},"TestPromptRequest":{"properties":{"prompt":{"type":"string","title":"Prompt"}},"type":"object","required":["prompt"],"title":"TestPromptRequest"},"TesterAccessRequest":{"properties":{"uid":{"type":"string","title":"Uid"},"app_id":{"type":"string","title":"App Id"}},"type":"object","required":["uid","app_id"],"title":"TesterAccessRequest"},"TitleMessageInput":{"properties":{"text":{"type":"string","title":"Text"},"sender":{"type":"string","title":"Sender"}},"type":"object","required":["text","sender"],"title":"TitleMessageInput"},"TokenResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"ttl":{"type":"integer","title":"Ttl"},"identity":{"type":"string","title":"Identity"}},"type":"object","required":["access_token","ttl","identity"],"title":"TokenResponse"},"ToolResponse":{"properties":{"tool_name":{"type":"string","title":"Tool Name"},"result_text":{"type":"string","title":"Result Text"},"is_error":{"type":"boolean","title":"Is Error","default":false},"sources":{"items":{"$ref":"#\/components\/schemas\/ToolSource"},"type":"array","title":"Sources"}},"type":"object","required":["tool_name","result_text"],"title":"ToolResponse"},"ToolSource":{"properties":{"kind":{"type":"string","maxLength":32,"title":"Kind"},"source_id":{"type":"string","maxLength":512,"title":"Source Id"},"title":{"type":"string","maxLength":160,"title":"Title","default":""},"preview":{"type":"string","maxLength":600,"title":"Preview","default":""},"created_at":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Created At"},"moment_timestamp_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Moment Timestamp Ms"},"app_name":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"App Name"},"url":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Url"}},"type":"object","required":["kind","source_id"],"title":"ToolSource"},"TrainingDataOptInResponse":{"properties":{"opted_in":{"type":"boolean","title":"Opted In"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},"type":"object","required":["opted_in"],"title":"TrainingDataOptInResponse"},"TranscriptLine":{"properties":{"speaker_label":{"type":"string","title":"Speaker Label"},"text":{"type":"string","title":"Text"},"at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"At"},"is_target":{"type":"boolean","title":"Is Target"}},"type":"object","required":["speaker_label","text","is_target"],"title":"TranscriptLine"},"TranscriptSegment":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"text":{"type":"string","title":"Text"},"original_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Original Text","description":"Immutable captured text when text includes active corrections."},"speaker":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker","default":"SPEAKER_00"},"speaker_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Speaker Id"},"is_user":{"type":"boolean","title":"Is User"},"person_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Person Id"},"speaker_label_source":{"anyOf":[{"type":"string","enum":["manual","auto","carried"]},{"type":"null"}],"title":"Speaker Label Source"},"start":{"type":"number","title":"Start"},"end":{"type":"number","title":"End"},"translations":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/Translation"},"type":"array"},{"type":"null"}],"title":"Translations"},"speech_profile_processed":{"type":"boolean","title":"Speech Profile Processed","default":true},"stt_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stt Provider"},"speaker_id_scope":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker Id Scope"}},"type":"object","required":["text","is_user","start","end"],"title":"TranscriptSegment"},"TranscriptionAllowanceSnapshot":{"properties":{"mode":{"type":"string","title":"Mode"},"remaining_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining Seconds"},"reason":{"type":"string","title":"Reason","default":""}},"type":"object","required":["mode"],"title":"TranscriptionAllowanceSnapshot","description":"The one server answer to which STT mode the client should open (local-models free tier, S16).\n\n``mode``: ``managed`` (Omi-billed socket), ``on_device`` (the plan's managed\nminutes are spent; the local engine is free on every plan), ``blocked``\n(no transcription access). ``remaining_seconds`` is null when unlimited."},"TranscriptionErrorDetail":{"properties":{"error":{"type":"string","title":"Error"},"outcome":{"$ref":"#\/components\/schemas\/TranscriptionOutcome"},"provider":{"type":"string","title":"Provider"},"retryable":{"type":"boolean","title":"Retryable"},"message":{"type":"string","title":"Message"}},"type":"object","required":["error","outcome","provider","retryable","message"],"title":"TranscriptionErrorDetail"},"TranscriptionErrorResponse":{"properties":{"detail":{"$ref":"#\/components\/schemas\/TranscriptionErrorDetail"}},"type":"object","required":["detail"],"title":"TranscriptionErrorResponse"},"TranscriptionOutcome":{"type":"string","enum":["success","expected_silence","empty_unexpected","timeout","upstream_error","config_error","invalid_input"],"title":"TranscriptionOutcome","description":"Closed, low-cardinality vocabulary for every accepted transcription."},"TranscriptionPreferencesResponse":{"properties":{"single_language_mode":{"type":"boolean","title":"Single Language Mode","default":false},"vocabulary":{"items":{"type":"string"},"type":"array","title":"Vocabulary"},"language":{"type":"string","title":"Language","default":""},"uses_custom_stt":{"type":"boolean","title":"Uses Custom Stt","default":false},"custom_stt_since":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Custom Stt Since"}},"type":"object","title":"TranscriptionPreferencesResponse"},"TranscriptionPreferencesUpdate":{"properties":{"single_language_mode":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Single Language Mode"},"vocabulary":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Vocabulary"}},"type":"object","title":"TranscriptionPreferencesUpdate"},"Translation":{"properties":{"lang":{"type":"string","title":"Lang"},"text":{"type":"string","title":"Text"}},"type":"object","required":["lang","text"],"title":"Translation"},"TrialMetadata":{"properties":{"trial_started_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Trial Started At"},"trial_ends_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Trial Ends At"},"trial_remaining_seconds":{"type":"integer","title":"Trial Remaining Seconds","default":0},"trial_expired":{"type":"boolean","title":"Trial Expired","default":false},"trial_duration_seconds":{"type":"integer","title":"Trial Duration Seconds","default":0},"trial_features":{"items":{"type":"string"},"type":"array","title":"Trial Features","default":[]},"plan_after_trial":{"type":"string","title":"Plan After Trial","default":"Free"}},"type":"object","title":"TrialMetadata","description":"Structured trial state for desktop clients to render countdown UI."},"TriggerType":{"type":"string","enum":["immediate","version_upgrade","firmware_upgrade"],"title":"TriggerType"},"TtsVoice":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"TtsVoice"},"TtsVoiceCatalog":{"properties":{"voices":{"items":{"$ref":"#\/components\/schemas\/TtsVoice"},"type":"array","title":"Voices"},"default_voice_id":{"type":"string","title":"Default Voice Id"}},"type":"object","required":["voices","default_voice_id"],"title":"TtsVoiceCatalog"},"TtsVoiceSettings":{"properties":{"stability":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Stability"},"similarity_boost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Similarity Boost"},"style":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Style"},"use_speaker_boost":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Use Speaker Boost"}},"type":"object","title":"TtsVoiceSettings"},"TwitterInitialMessageResponse":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"TwitterInitialMessageResponse"},"TwitterOwnershipVerificationResponse":{"properties":{"tweet":{"type":"string","title":"Tweet"},"verified":{"type":"boolean","title":"Verified"},"persona_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Persona Id"}},"type":"object","required":["tweet","verified"],"title":"TwitterOwnershipVerificationResponse"},"TwitterProfileResponse":{"properties":{"name":{"type":"string","title":"Name"},"profile":{"type":"string","title":"Profile"},"rest_id":{"type":"string","title":"Rest Id"},"avatar":{"type":"string","title":"Avatar"},"desc":{"type":"string","title":"Desc"},"friends":{"type":"integer","title":"Friends"},"sub_count":{"type":"integer","title":"Sub Count"},"id":{"type":"string","title":"Id"},"status":{"type":"string","title":"Status"},"persona_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Persona Id"},"persona_username":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Persona Username"}},"type":"object","required":["name","profile","rest_id","avatar","desc","friends","sub_count","id","status"],"title":"TwitterProfileResponse"},"UnapprovedPublicAppResponse":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"uid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uid"},"private":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Private"},"approved":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Approved"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"author":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Author"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image"},"capabilities":{"items":{"type":"string"},"type":"array","title":"Capabilities"}},"additionalProperties":true,"type":"object","title":"UnapprovedPublicAppResponse"},"UndoChatReceiptResponse":{"properties":{"status":{"type":"string","enum":["undone","already_undone","unavailable"],"title":"Status"},"block":{"$ref":"#\/components\/schemas\/EditReceiptBlock"}},"type":"object","required":["status","block"],"title":"UndoChatReceiptResponse"},"UpdateAIUserProfileRequest":{"properties":{"profile_text":{"anyOf":[{"type":"string","maxLength":50000},{"type":"null"}],"title":"Profile Text"},"generated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Generated At"},"data_sources_used":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Data Sources Used"},"source":{"anyOf":[{"type":"string","enum":["user_edit","exploration"]},{"type":"null"}],"title":"Source"}},"type":"object","title":"UpdateAIUserProfileRequest"},"UpdateActionItemDescriptionRequest":{"properties":{"old_description":{"type":"string","title":"Old Description"},"description":{"type":"string","title":"Description"}},"type":"object","required":["old_description","description"],"title":"UpdateActionItemDescriptionRequest"},"UpdateAdviceRequest":{"properties":{"is_read":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Read"},"is_dismissed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Dismissed"}},"type":"object","title":"UpdateAdviceRequest"},"UpdateAnnouncementRequest":{"properties":{"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active"},"app_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Version"},"firmware_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Firmware Version"},"device_models":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Device Models"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"targeting":{"anyOf":[{"$ref":"#\/components\/schemas\/Targeting"},{"type":"null"}]},"display":{"anyOf":[{"$ref":"#\/components\/schemas\/Display"},{"type":"null"}]},"content":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Content"}},"type":"object","title":"UpdateAnnouncementRequest","description":"Request body for updating an announcement."},"UpdateAssistantSettingsRequest":{"properties":{"shared":{"anyOf":[{"$ref":"#\/components\/schemas\/SharedAssistantSettings"},{"type":"null"}]},"focus":{"anyOf":[{"$ref":"#\/components\/schemas\/FocusAssistantSettings"},{"type":"null"}]},"task":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskAssistantSettings"},{"type":"null"}]},"advice":{"anyOf":[{"$ref":"#\/components\/schemas\/AdviceAssistantSettings"},{"type":"null"}]},"memory":{"anyOf":[{"$ref":"#\/components\/schemas\/MemoryAssistantSettings"},{"type":"null"}]},"floating_bar":{"anyOf":[{"$ref":"#\/components\/schemas\/FloatingBarSettings"},{"type":"null"}]},"web_search":{"anyOf":[{"$ref":"#\/components\/schemas\/WebSearchAssistantSettings"},{"type":"null"}]},"update_channel":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Update Channel"}},"type":"object","title":"UpdateAssistantSettingsRequest"},"UpdateChatSessionRequest":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Title"},"starred":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Starred"}},"type":"object","title":"UpdateChatSessionRequest"},"UpdateConversationRequest":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"Title","description":"New title for the conversation"},"discarded":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Discarded","description":"Whether the conversation is discarded"}},"type":"object","title":"UpdateConversationRequest"},"UpdateFolderRequest":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":100,"minLength":1},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Description","description":"Natural language instruction for AI"},"color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon"},"order":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Order"}},"type":"object","title":"UpdateFolderRequest","description":"Request model for updating folder metadata."},"UpdateGoalRequest":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"Title","description":"New title"},"desired_outcome":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Desired Outcome"},"why_it_matters":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Why It Matters"},"success_criteria":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":20},{"type":"null"}],"title":"Success Criteria"},"horizon_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Horizon At"},"target_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Target Value","description":"New target value"},"current_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Current Value","description":"New progress value"},"min_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Value","description":"New minimum value"},"max_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Value","description":"New maximum value"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit","description":"New unit label"}},"type":"object","title":"UpdateGoalRequest"},"UpdateMemoryRequest":{"properties":{"content":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"Content","description":"New content for the memory"},"visibility":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Visibility","description":"New visibility: public or private"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags","description":"New tags for the memory"},"category":{"anyOf":[{"$ref":"#\/components\/schemas\/MemoryCategory"},{"type":"null"}],"description":"New category for the memory"}},"type":"object","title":"UpdateMemoryRequest"},"UpdateNotificationSettingsRequest":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"},"frequency":{"anyOf":[{"type":"integer","maximum":5,"minimum":0},{"type":"null"}],"title":"Frequency"}},"type":"object","title":"UpdateNotificationSettingsRequest"},"UpdateSegmentTextRequest":{"properties":{"segment_id":{"type":"string","minLength":1,"title":"Segment Id"},"text":{"type":"string","maxLength":10000,"minLength":1,"title":"Text"}},"type":"object","required":["segment_id","text"],"title":"UpdateSegmentTextRequest"},"UpdateSummaryRequest":{"properties":{"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"},"content":{"type":"string","maxLength":10000,"minLength":1,"title":"Content"}},"type":"object","required":["content"],"title":"UpdateSummaryRequest"},"UpgradeSubscriptionRequest":{"properties":{"price_id":{"type":"string","maxLength":255,"minLength":1,"title":"Price Id"},"promotion_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Promotion Code"},"switch_now":{"type":"boolean","title":"Switch Now","default":false},"proration_date":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Proration Date"},"expected_amount_due":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Expected Amount Due"}},"type":"object","required":["price_id"],"title":"UpgradeSubscriptionRequest"},"UsageHistoryPoint":{"properties":{"transcription_seconds":{"type":"integer","title":"Transcription Seconds","default":0},"words_transcribed":{"type":"integer","title":"Words Transcribed","default":0},"insights_gained":{"type":"integer","title":"Insights Gained","default":0},"memories_created":{"type":"integer","title":"Memories Created","default":0},"speech_seconds":{"type":"integer","title":"Speech Seconds","default":0},"date":{"type":"string","title":"Date"}},"type":"object","required":["date"],"title":"UsageHistoryPoint"},"UsagePeriod":{"type":"string","enum":["today","monthly","yearly","all_time"],"title":"UsagePeriod"},"UsageReport":{"properties":{"provider":{"type":"string","title":"Provider"},"model":{"type":"string","title":"Model","default":""},"turn_id":{"type":"string","title":"Turn Id","default":""},"input_text_tokens":{"type":"integer","title":"Input Text Tokens","default":0},"input_audio_tokens":{"type":"integer","title":"Input Audio Tokens","default":0},"input_cached_tokens":{"type":"integer","title":"Input Cached Tokens","default":0},"output_text_tokens":{"type":"integer","title":"Output Text Tokens","default":0},"output_audio_tokens":{"type":"integer","title":"Output Audio Tokens","default":0},"context_plan_id":{"type":"string","title":"Context Plan Id","default":""},"stable_cache_identity":{"type":"string","title":"Stable Cache Identity","default":""},"dynamic_context_identity":{"type":"string","title":"Dynamic Context Identity","default":""},"context_cache_replaced":{"type":"boolean","title":"Context Cache Replaced","default":false}},"type":"object","required":["provider"],"title":"UsageReport"},"UsageStats":{"properties":{"transcription_seconds":{"type":"integer","title":"Transcription Seconds","default":0},"words_transcribed":{"type":"integer","title":"Words Transcribed","default":0},"insights_gained":{"type":"integer","title":"Insights Gained","default":0},"memories_created":{"type":"integer","title":"Memories Created","default":0},"speech_seconds":{"type":"integer","title":"Speech Seconds","default":0}},"type":"object","title":"UsageStats","description":"Represents a set of usage metrics for a period."},"UserDataExportResponse":{"properties":{"profile":{"additionalProperties":true,"type":"object","title":"Profile"},"conversations":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Conversations"},"conversation_photo_manifest":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Conversation Photo Manifest"},"frame_requests":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Frame Requests"},"frame_vision_receipts":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Frame Vision Receipts"},"conversation_keyframe_jobs":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Conversation Keyframe Jobs"},"memories":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Memories"},"memory_review_data":{"additionalProperties":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"type":"object","title":"Memory Review Data"},"memory_ledger_data":{"additionalProperties":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"type":"object","title":"Memory Ledger Data"},"jit_data":{"additionalProperties":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"type":"object","title":"Jit Data"},"people":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"People"},"action_items":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Action Items"},"task_data":{"additionalProperties":{"items":{"additionalProperties":true,"type":"object"},"type":"array"},"type":"object","title":"Task Data"},"chat_messages":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Chat Messages"},"export_complete":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Export Complete"}},"type":"object","title":"UserDataExportResponse"},"UserLanguageResponse":{"properties":{"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"}},"type":"object","title":"UserLanguageResponse"},"UserLanguageUpdateResponse":{"properties":{"status":{"type":"string","title":"Status"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"single_language_mode":{"type":"boolean","title":"Single Language Mode"}},"type":"object","required":["status","single_language_mode"],"title":"UserLanguageUpdateResponse"},"UserProfile":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone Number"},"profile_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile Text"},"generated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Generated At"},"data_sources_used":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Data Sources Used"}},"type":"object","title":"UserProfile"},"UserProfileResponse":{"properties":{"uid":{"type":"string","title":"Uid"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"time_zone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Time Zone"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"motivation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Motivation"},"use_case":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Use Case"},"job":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"data_protection_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Protection Level"},"migration_status":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Migration Status"}},"additionalProperties":true,"type":"object","required":["uid"],"title":"UserProfileResponse"},"UserStatusResponse":{"properties":{"status":{"type":"string","title":"Status"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["status"],"title":"UserStatusResponse"},"UserSubscriptionResponse":{"properties":{"subscription":{"$ref":"#\/components\/schemas\/Subscription"},"transcription_seconds_used":{"type":"integer","title":"Transcription Seconds Used"},"transcription_seconds_limit":{"type":"integer","title":"Transcription Seconds Limit"},"words_transcribed_used":{"type":"integer","title":"Words Transcribed Used"},"words_transcribed_limit":{"type":"integer","title":"Words Transcribed Limit"},"insights_gained_used":{"type":"integer","title":"Insights Gained Used"},"insights_gained_limit":{"type":"integer","title":"Insights Gained Limit"},"available_plans":{"items":{"$ref":"#\/components\/schemas\/SubscriptionPlan"},"type":"array","title":"Available Plans","default":[]},"show_subscription_ui":{"type":"boolean","title":"Show Subscription Ui","default":true},"trial_eligible":{"type":"boolean","title":"Trial Eligible","default":false},"chat_quota_used":{"type":"number","title":"Chat Quota Used","default":0},"chat_quota_unit":{"anyOf":[{"$ref":"#\/components\/schemas\/ChatQuotaUnit"},{"type":"null"}]},"chat_quota_percent":{"type":"number","title":"Chat Quota Percent","default":0},"chat_quota_allowed":{"type":"boolean","title":"Chat Quota Allowed","default":true},"chat_quota_reset_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Chat Quota Reset At"},"phone_call_quota":{"anyOf":[{"$ref":"#\/components\/schemas\/PhoneCallQuota"},{"type":"null"}]},"desktop_grandfather_until":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Desktop Grandfather Until"},"transcription_allowance":{"anyOf":[{"$ref":"#\/components\/schemas\/TranscriptionAllowanceSnapshot"},{"type":"null"}]},"held_audio":{"anyOf":[{"$ref":"#\/components\/schemas\/HeldAudioSummary"},{"type":"null"}]},"processing_backlog":{"anyOf":[{"$ref":"#\/components\/schemas\/ProcessingBacklog"},{"type":"null"}]},"cloud_screen_vectors":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cloud Screen Vectors"},"payment_issue":{"anyOf":[{"$ref":"#\/components\/schemas\/PaymentIssue"},{"type":"null"}]},"play_billing":{"anyOf":[{"$ref":"#\/components\/schemas\/PlayBillingConfig"},{"type":"null"}]},"prepaid_code_redeem":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Prepaid Code Redeem"}},"type":"object","required":["subscription","transcription_seconds_used","transcription_seconds_limit","words_transcribed_used","words_transcribed_limit","insights_gained_used","insights_gained_limit"],"title":"UserSubscriptionResponse"},"UserUsageResponse":{"properties":{"today":{"anyOf":[{"$ref":"#\/components\/schemas\/UsageStats"},{"type":"null"}]},"monthly":{"anyOf":[{"$ref":"#\/components\/schemas\/UsageStats"},{"type":"null"}]},"yearly":{"anyOf":[{"$ref":"#\/components\/schemas\/UsageStats"},{"type":"null"}]},"all_time":{"anyOf":[{"$ref":"#\/components\/schemas\/UsageStats"},{"type":"null"}]},"history":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/UsageHistoryPoint"},"type":"array"},{"type":"null"}],"title":"History"}},"type":"object","title":"UserUsageResponse","description":"The response model for the user usage API endpoint."},"UserWebhookUrlResponse":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"type":"object","title":"UserWebhookUrlResponse"},"UserWebhooksStatusResponse":{"properties":{"audio_bytes":{"type":"boolean","title":"Audio Bytes"},"memory_created":{"type":"boolean","title":"Memory Created"},"realtime_transcript":{"type":"boolean","title":"Realtime Transcript"},"day_summary":{"type":"boolean","title":"Day Summary"},"button_event":{"type":"boolean","title":"Button Event","default":false}},"type":"object","required":["audio_bytes","memory_created","realtime_transcript","day_summary"],"title":"UserWebhooksStatusResponse"},"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"},"VectorMemorySearchResponse":{"properties":{"uid":{"type":"string","title":"Uid","description":"Authenticated user id."},"query":{"type":"string","title":"Query","description":"Search query string."},"items":{"items":{"$ref":"#\/components\/schemas\/models__product_memory__MemoryItem"},"type":"array","title":"Items","description":"Hydrated, default-visible memory items for the current page."},"scores_by_memory_id":{"additionalProperties":{"type":"number"},"type":"object","title":"Scores By Memory Id","description":"Vector similarity score keyed by memory id."},"projection_commit_ids_by_memory_id":{"additionalProperties":{"type":"string"},"type":"object","title":"Projection Commit Ids By Memory Id","description":"Projection commit id keyed by memory id."},"decisions":{"additionalProperties":{"type":"string"},"type":"object","title":"Decisions","description":"Per-candidate gateway decision value keyed by memory id."},"total_count":{"type":"integer","title":"Total Count","description":"Total hydrated results before pagination."},"returned_count":{"type":"integer","title":"Returned Count","description":"Number of items returned in this page."},"limit":{"type":"integer","title":"Limit","description":"Bounded page size used for this response."},"overfetch_factor":{"type":"integer","title":"Overfetch Factor","description":"Overfetch multiplier applied to the limit."},"candidate_budget":{"type":"integer","title":"Candidate Budget","description":"Hard cap on vector candidates considered."},"max_vector_queries":{"type":"integer","title":"Max Vector Queries","description":"Maximum number of vector queries allowed."},"max_candidate_hydration_reads":{"type":"integer","title":"Max Candidate Hydration Reads","description":"Maximum authoritative hydration reads allowed."},"timeout_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Timeout Seconds","description":"Optional deadline in seconds, if set."},"candidate_request_limit":{"type":"integer","title":"Candidate Request Limit","description":"Effective per-query candidate request limit."},"candidate_budget_exhausted":{"type":"boolean","title":"Candidate Budget Exhausted","description":"Whether the candidate budget was exhausted."},"vector_query_budget_exhausted":{"type":"boolean","title":"Vector Query Budget Exhausted","description":"Whether the vector query budget was exhausted."},"hydration_read_budget_exhausted":{"type":"boolean","title":"Hydration Read Budget Exhausted","description":"Whether the hydration read budget was exhausted."},"timeout_exhausted":{"type":"boolean","title":"Timeout Exhausted","description":"Whether the deadline was reached."},"search_status":{"type":"string","title":"Search Status","description":"Coarse search status label (e.g. ok, partial)."},"legacy_fallback_used":{"type":"boolean","title":"Legacy Fallback Used","description":"Always false; legacy fallback is never used by this route."},"vector_query_count":{"type":"integer","title":"Vector Query Count","description":"Number of vector queries actually issued."},"queried_candidate_count":{"type":"integer","title":"Queried Candidate Count","description":"Number of vector candidates queried."},"hydrated_candidate_count":{"type":"integer","title":"Hydrated Candidate Count","description":"Number of candidates hydrated from authoritative items."},"candidate_hydration_read_count":{"type":"integer","title":"Candidate Hydration Read Count","description":"Number of authoritative hydration reads performed."},"hydration_rejected_missing_count":{"type":"integer","title":"Hydration Rejected Missing Count","description":"Candidates rejected as missing authoritative items."},"hydration_rejected_stale_projection_count":{"type":"integer","title":"Hydration Rejected Stale Projection Count","description":"Candidates rejected for stale projection."},"hydration_rejected_stale_vector_count":{"type":"integer","title":"Hydration Rejected Stale Vector Count","description":"Candidates rejected for stale vector data."},"hydration_rejected_access_denied_count":{"type":"integer","title":"Hydration Rejected Access Denied Count","description":"Candidates rejected by access policy."},"vector_rejected_count":{"type":"integer","title":"Vector Rejected Count","description":"Candidates rejected before hydration by the vector layer."},"repair_purge_candidate_count":{"type":"integer","title":"Repair Purge Candidate Count","description":"Number of repair-purge candidates identified."},"repair_purge_candidates":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Repair Purge Candidates","description":"Repair-purge candidate payloads."},"repair_purge_outbox_record_count":{"type":"integer","title":"Repair Purge Outbox Record Count","description":"Number of repair-purge outbox records written."},"repair_purge_outbox_records":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Repair Purge Outbox Records","description":"Repair-purge outbox record payloads."},"archive_default_visible":{"type":"boolean","title":"Archive Default Visible","description":"Always false; Archive is never default-visible."},"telemetry":{"additionalProperties":true,"type":"object","title":"Telemetry","description":"Vector search telemetry emission summary."},"policy":{"$ref":"#\/components\/schemas\/MemorySearchPolicyPayload","description":"Access-policy snapshot used for this read."},"global_read_gate":{"$ref":"#\/components\/schemas\/MemoryGlobalReadGateObservability","description":"Global read kill-switch observability."},"rollout":{"$ref":"#\/components\/schemas\/ProductRolloutObservability","description":"Per-route default-read rollout observability."}},"type":"object","required":["uid","query","items","scores_by_memory_id","projection_commit_ids_by_memory_id","decisions","total_count","returned_count","limit","overfetch_factor","candidate_budget","max_vector_queries","max_candidate_hydration_reads","candidate_request_limit","candidate_budget_exhausted","vector_query_budget_exhausted","hydration_read_budget_exhausted","timeout_exhausted","search_status","legacy_fallback_used","vector_query_count","queried_candidate_count","hydrated_candidate_count","candidate_hydration_read_count","hydration_rejected_missing_count","hydration_rejected_stale_projection_count","hydration_rejected_stale_vector_count","hydration_rejected_access_denied_count","vector_rejected_count","repair_purge_candidate_count","repair_purge_candidates","repair_purge_outbox_record_count","repair_purge_outbox_records","archive_default_visible","telemetry","policy","global_read_gate","rollout"],"title":"VectorMemorySearchResponse","description":"Default-visible vector memory search response.\n\nReturned by ``GET \/memory\/vector\/search``. Vector hits are hydrated through\nauthoritative ``memory_items`` before returning; the budget\/exhaustion and\nrepair-purge fields describe that hydration process."},"VerifyPhoneNumberRequest":{"properties":{"phone_number":{"type":"string","title":"Phone Number","description":"Phone number in E.164 format (e.g., +15551234567)"}},"type":"object","required":["phone_number"],"title":"VerifyPhoneNumberRequest"},"VerifyPhoneNumberResponse":{"properties":{"verification_sid":{"type":"string","title":"Verification Sid"},"phone_number":{"type":"string","title":"Phone Number"},"validation_code":{"type":"string","title":"Validation Code"},"status":{"type":"string","title":"Status"}},"type":"object","required":["verification_sid","phone_number","validation_code","status"],"title":"VerifyPhoneNumberResponse"},"VoiceMatch":{"properties":{"conversation_id":{"type":"string","title":"Conversation Id"},"title":{"type":"string","title":"Title"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"speaker_id":{"type":"integer","title":"Speaker Id"},"talk_seconds":{"type":"number","title":"Talk Seconds"},"segment_ids":{"items":{"type":"string"},"type":"array","title":"Segment Ids"},"clip_start":{"type":"number","title":"Clip Start"},"clip_end":{"type":"number","title":"Clip End"},"match_level":{"type":"string","enum":["strong","likely"],"title":"Match Level"}},"type":"object","required":["conversation_id","title","started_at","speaker_id","talk_seconds","segment_ids","clip_start","clip_end","match_level"],"title":"VoiceMatch"},"VoiceMatchesResponse":{"properties":{"matches":{"items":{"$ref":"#\/components\/schemas\/VoiceMatch"},"type":"array","title":"Matches"}},"type":"object","title":"VoiceMatchesResponse"},"VoiceMessageTranscriptionResponse":{"properties":{"transcript":{"type":"string","title":"Transcript"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"stt_provider":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stt Provider"},"stt_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stt Model"},"outcome":{"anyOf":[{"$ref":"#\/components\/schemas\/TranscriptionOutcome"},{"type":"null"}]}},"type":"object","required":["transcript"],"title":"VoiceMessageTranscriptionResponse"},"VoiceProfileSettings":{"properties":{"speaker_tag_prompts_enabled":{"type":"boolean","title":"Speaker Tag Prompts Enabled","default":true},"save_other_voice_profiles":{"type":"boolean","title":"Save Other Voice Profiles","default":true}},"type":"object","title":"VoiceProfileSettings"},"VoiceProfileSettingsUpdate":{"properties":{"speaker_tag_prompts_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Speaker Tag Prompts Enabled"},"save_other_voice_profiles":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Save Other Voice Profiles"},"source":{"anyOf":[{"type":"string","pattern":"^(settings|first_prompt)$"},{"type":"null"}],"title":"Source"}},"additionalProperties":false,"type":"object","title":"VoiceProfileSettingsUpdate"},"VoiceReadiness":{"type":"string","enum":["ready","saved_sample_awaiting_embedding","not_learned","unknown"],"title":"VoiceReadiness"},"WebSearchAssistantSettings":{"properties":{"enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enabled"}},"type":"object","title":"WebSearchAssistantSettings"},"WebhookType":{"type":"string","enum":["audio_bytes","audio_bytes_websocket","realtime_transcript","memory_created","day_summary","button_event"],"title":"WebhookType"},"WhatMattersNowProjection":{"properties":{"schema_version":{"type":"integer","const":1,"title":"Schema Version","default":1},"evaluation_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Evaluation Id"},"output_version":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Output Version"},"material_version":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Material Version"},"generated_at":{"type":"string","format":"date-time","title":"Generated At"},"expires_at":{"type":"string","format":"date-time","title":"Expires At"},"recommendations":{"items":{"$ref":"#\/components\/schemas\/Recommendation"},"type":"array","maxItems":3,"title":"Recommendations"}},"additionalProperties":false,"type":"object","required":["evaluation_id","output_version","material_version","generated_at","expires_at","recommendations"],"title":"WhatMattersNowProjection"},"WorkIntentReceipt":{"properties":{"receipt_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Receipt Id"},"workstream_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Workstream Id"},"task_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Task Id"},"goal_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Goal Id"},"newly_created":{"type":"boolean","title":"Newly Created"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["receipt_id","workstream_id","task_id","newly_created","created_at"],"title":"WorkIntentReceipt"},"Workstream":{"properties":{"workstream_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Workstream Id"},"goal_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Goal Id"},"title":{"type":"string","maxLength":256,"minLength":1,"title":"Title"},"objective":{"type":"string","maxLength":2048,"minLength":1,"title":"Objective"},"status":{"$ref":"#\/components\/schemas\/WorkstreamStatus"},"current_state_summary":{"type":"string","maxLength":4000,"title":"Current State Summary","default":""},"next_review_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Review At"},"last_meaningful_progress_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Meaningful Progress At"},"latest_event_sequence":{"type":"integer","minimum":0,"title":"Latest Event Sequence","default":0},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"additionalProperties":false,"type":"object","required":["workstream_id","title","objective","status","created_at","updated_at"],"title":"Workstream"},"WorkstreamCreateCandidate":{"properties":{"capture_confidence":{"type":"number","maximum":1,"minimum":0,"title":"Capture Confidence"},"ownership_confidence":{"type":"number","maximum":1,"minimum":0,"title":"Ownership Confidence"},"goal_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Goal Id"},"workstream_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Workstream Id"},"evidence_refs":{"items":{"$ref":"#\/components\/schemas\/EvidenceRef"},"type":"array","minItems":1,"title":"Evidence Refs"},"source_surface":{"type":"string","maxLength":64,"minLength":1,"title":"Source Surface"},"compatibility":{"anyOf":[{"$ref":"#\/components\/schemas\/CandidateCompatibilityMetadata"},{"type":"null"}]},"reminder_origin":{"anyOf":[{"$ref":"#\/components\/schemas\/ReminderOrigin"},{"type":"null"}]},"subject_kind":{"type":"string","const":"workstream","title":"Subject Kind","default":"workstream"},"proposed_action":{"type":"string","const":"create","title":"Proposed Action","default":"create"},"workstream_proposal":{"$ref":"#\/components\/schemas\/WorkstreamProposal-Input"}},"additionalProperties":false,"type":"object","required":["capture_confidence","ownership_confidence","evidence_refs","source_surface","workstream_proposal"],"title":"WorkstreamCreateCandidate"},"WorkstreamDetailProjection":{"properties":{"workstream":{"$ref":"#\/components\/schemas\/Workstream"},"recent_events":{"items":{"$ref":"#\/components\/schemas\/WorkstreamEvent"},"type":"array","title":"Recent Events"},"tasks":{"items":{"$ref":"#\/components\/schemas\/models__action_item__ActionItemResponse"},"type":"array","title":"Tasks"},"artifacts":{"items":{"$ref":"#\/components\/schemas\/ArtifactDescriptor"},"type":"array","title":"Artifacts"},"checkpoints":{"items":{"$ref":"#\/components\/schemas\/ContinuationCheckpoint"},"type":"array","title":"Checkpoints"}},"additionalProperties":false,"type":"object","required":["workstream","recent_events","tasks","artifacts","checkpoints"],"title":"WorkstreamDetailProjection"},"WorkstreamEvent":{"properties":{"event_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Event Id"},"workstream_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Workstream Id"},"sequence":{"type":"integer","minimum":1,"title":"Sequence"},"kind":{"$ref":"#\/components\/schemas\/WorkstreamEventKind"},"summary":{"type":"string","maxLength":2000,"minLength":1,"title":"Summary"},"evidence_refs":{"items":{"$ref":"#\/components\/schemas\/EvidenceRef"},"type":"array","maxItems":50,"title":"Evidence Refs"},"sensitivity":{"$ref":"#\/components\/schemas\/WorkstreamSensitivity"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"additionalProperties":false,"type":"object","required":["event_id","workstream_id","sequence","kind","summary","sensitivity","created_at"],"title":"WorkstreamEvent"},"WorkstreamEventCreate":{"properties":{"kind":{"$ref":"#\/components\/schemas\/WorkstreamEventKind"},"summary":{"type":"string","maxLength":2000,"minLength":1,"title":"Summary"},"evidence_refs":{"items":{"$ref":"#\/components\/schemas\/EvidenceRef"},"type":"array","maxItems":50,"title":"Evidence Refs"},"sensitivity":{"$ref":"#\/components\/schemas\/WorkstreamSensitivity","default":"normal"}},"additionalProperties":false,"type":"object","required":["kind","summary"],"title":"WorkstreamEventCreate"},"WorkstreamEventKind":{"type":"string","enum":["user_note","conversation","message","screen_observation","task_change","decision","agent_update","artifact_version","external_update","system"],"title":"WorkstreamEventKind"},"WorkstreamProposal-Input":{"properties":{"title":{"type":"string","maxLength":256,"minLength":1,"title":"Title"},"objective":{"type":"string","maxLength":2048,"minLength":1,"title":"Objective"},"anchor_task":{"$ref":"#\/components\/schemas\/TaskCreatePayload"}},"additionalProperties":false,"type":"object","required":["title","objective","anchor_task"],"title":"WorkstreamProposal"},"WorkstreamProposal-Output":{"properties":{"title":{"type":"string","maxLength":256,"minLength":1,"title":"Title"},"objective":{"type":"string","maxLength":2048,"minLength":1,"title":"Objective"},"anchor_task":{"$ref":"#\/components\/schemas\/TaskCreatePayload"}},"additionalProperties":false,"type":"object","required":["title","objective","anchor_task"],"title":"WorkstreamProposal"},"WorkstreamSensitivity":{"type":"string","enum":["normal","sensitive","restricted"],"title":"WorkstreamSensitivity"},"WorkstreamStatus":{"type":"string","enum":["open","paused","completed","archived"],"title":"WorkstreamStatus"},"WorkstreamUpdate":{"properties":{"title":{"anyOf":[{"type":"string","maxLength":256,"minLength":1},{"type":"null"}],"title":"Title"},"objective":{"anyOf":[{"type":"string","maxLength":2048,"minLength":1},{"type":"null"}],"title":"Objective"},"status":{"anyOf":[{"$ref":"#\/components\/schemas\/WorkstreamStatus"},{"type":"null"}]},"current_state_summary":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Current State Summary"},"next_review_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Review At"}},"additionalProperties":false,"type":"object","title":"WorkstreamUpdate"},"WrappedStatusResponse":{"properties":{"status":{"type":"string","title":"Status"},"year":{"type":"integer","title":"Year","default":2025},"result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Result"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"progress":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Progress"}},"type":"object","required":["status"],"title":"WrappedStatusResponse"},"XConnectionStatusResponse":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether the request succeeded."},"connected":{"type":"boolean","title":"Connected","description":"Whether the user has connected their X account."},"handle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Handle","description":"X handle, when connected."},"post_count":{"type":"integer","title":"Post Count","description":"Number of synced posts.","default":0},"memory_count":{"type":"integer","title":"Memory Count","description":"Number of extracted memories.","default":0},"syncing":{"type":"boolean","title":"Syncing","description":"Whether a sync is currently in progress.","default":false},"last_synced_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Synced At","description":"ISO timestamp of the last successful sync."},"last_sync_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Sync Source","description":"Source of the last sync (oauth|rapidapi)."}},"type":"object","required":["success","connected"],"title":"XConnectionStatusResponse","description":"X integration connection status for the current user."},"XDisconnectResponse":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether the disconnect succeeded."}},"type":"object","required":["success"],"title":"XDisconnectResponse","description":"Ack for disconnecting the X integration."},"XPostsResponse":{"properties":{"posts":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Posts","description":"Synced X posts, newest first."}},"type":"object","required":["posts"],"title":"XPostsResponse","description":"List of the user's synced X posts."},"XSyncResponse":{"properties":{"success":{"type":"boolean","title":"Success","description":"Whether the sync completed without error."},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","description":"Sync source used (oauth|rapidapi)."},"new_posts":{"type":"integer","title":"New Posts","description":"Number of new posts stored.","default":0},"memories_created":{"type":"integer","title":"Memories Created","description":"Number of memories extracted from new posts.","default":0},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"Error code on failure (not_connected|fetch_failed)."}},"type":"object","required":["success"],"title":"XSyncResponse","description":"Outcome of an X posts sync."},"YearlySwitchResponse":{"properties":{"eligible":{"type":"boolean","title":"Eligible"},"reason":{"type":"string","title":"Reason"},"plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Id"},"price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price Id"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"monthly_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Monthly Amount"},"yearly_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Yearly Amount"},"savings_amount":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Savings Amount"},"first_billing_period":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"First Billing Period"},"amount_due_today":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Amount Due Today"},"renews_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Renews At"},"proration_date":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Proration Date"}},"type":"object","required":["eligible","reason"],"title":"YearlySwitchResponse"},"models__action_item__ActionItemResponse":{"properties":{"id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Id"},"task_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Task Id"},"reminder_origin":{"anyOf":[{"$ref":"#\/components\/schemas\/ReminderOrigin"},{"type":"null"}]},"creation_receipt":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Creation Receipt"},"description":{"type":"string","title":"Description"},"status":{"$ref":"#\/components\/schemas\/TaskStatus","default":"active"},"completed":{"type":"boolean","title":"Completed"},"goal_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Goal Id"},"workstream_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Workstream Id"},"owner":{"$ref":"#\/components\/schemas\/TaskOwner","default":"unknown"},"due":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskDue"},{"type":"null"}]},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"due_confidence":{"anyOf":[{"type":"number","maximum":1,"minimum":0},{"type":"null"}],"title":"Due Confidence"},"source":{"type":"string","title":"Source","default":"legacy"},"provenance":{"items":{"$ref":"#\/components\/schemas\/EvidenceRef"},"type":"array","title":"Provenance"},"priority":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskPriority"},{"type":"null"}]},"sort_order":{"type":"integer","title":"Sort Order","default":0},"indent_level":{"type":"integer","title":"Indent Level","default":0},"recurrence_rule":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recurrence Rule"},"recurrence_parent_id":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Recurrence Parent Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"superseded_by":{"anyOf":[{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$"},{"type":"null"}],"title":"Superseded By"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"is_locked":{"type":"boolean","title":"Is Locked","default":false},"exported":{"type":"boolean","title":"Exported","default":false},"export_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Export Date"},"export_platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Export Platform"},"apple_reminder_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Apple Reminder Id"}},"type":"object","required":["id","description","completed"],"title":"ActionItemResponse","description":"Canonical response plus stable fields required by deployed old clients."},"models__chat__RateMessageRequest":{"properties":{"rating":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rating"},"reason":{"anyOf":[{"$ref":"#\/components\/schemas\/FeedbackReason"},{"type":"null"}]},"comment":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Comment"}},"type":"object","title":"RateMessageRequest"},"models__conversation__Conversation":{"properties":{"sync_content_revision":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Sync Content Revision"},"sync_relevance":{"anyOf":[{"type":"string","enum":["keep","review"]},{"type":"null"}],"title":"Sync Relevance"},"id":{"type":"string","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"capture_timezone":{"anyOf":[{"type":"string","maxLength":128},{"type":"null"}],"title":"Capture Timezone"},"capture_time_trust":{"anyOf":[{"type":"string","const":"untrusted"},{"type":"null"}],"title":"Capture Time Trust"},"recorded_start":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Recorded Start"},"recorded_end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Recorded End"},"arrival_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Arrival At"},"clock":{"anyOf":[{"$ref":"#\/components\/schemas\/RecordedClock"},{"type":"null"}]},"episode_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Episode Id"},"recording":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Recording"},"kind":{"anyOf":[{"type":"string","enum":["conversation","voice_work","media","background"]},{"type":"null"}],"title":"Kind"},"home_hidden":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Home Hidden"},"home_hidden_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Home Hidden Reason"},"tile_state":{"anyOf":[{"type":"string","enum":["live","transcribing","writing","done","failed"]},{"type":"null"}],"title":"Tile State"},"title_locked":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Title Locked"},"recording_pieces":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/RecordingPiece"},"type":"array"},{"type":"null"}],"title":"Recording Pieces"},"manual_end":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Manual End"},"summary_covers_through":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Summary Covers Through"},"live_summary":{"anyOf":[{"$ref":"#\/components\/schemas\/LiveSummaryPreview"},{"type":"null"}]},"processing_tier":{"anyOf":[{"type":"string","const":"historical"},{"type":"null"}],"title":"Processing Tier"},"summary_on_open":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Summary On Open"},"source":{"anyOf":[{"$ref":"#\/components\/schemas\/ConversationSource"},{"type":"null"}],"default":"omi"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"uses_custom_stt":{"type":"boolean","title":"Uses Custom Stt","default":false},"record_audio_partial":{"anyOf":[{"$ref":"#\/components\/schemas\/RecordAudioPartial"},{"type":"null"}]},"structured":{"$ref":"#\/components\/schemas\/Structured"},"client_processing":{"anyOf":[{"$ref":"#\/components\/schemas\/ClientProcessing"},{"type":"null"}]},"processing_state":{"anyOf":[{"$ref":"#\/components\/schemas\/ConversationProcessingState"},{"type":"null"}]},"summary_retryable":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Summary Retryable"},"transcript_segments":{"items":{"$ref":"#\/components\/schemas\/TranscriptSegment"},"type":"array","title":"Transcript Segments","default":[]},"transcript_segments_compressed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Transcript Segments Compressed","default":false},"geolocation":{"anyOf":[{"$ref":"#\/components\/schemas\/Geolocation"},{"type":"null"}]},"photos":{"items":{"$ref":"#\/components\/schemas\/ConversationPhoto"},"type":"array","title":"Photos","default":[]},"audio_files":{"items":{"$ref":"#\/components\/schemas\/AudioFile"},"type":"array","title":"Audio Files","default":[]},"conversation_audio":{"anyOf":[{"$ref":"#\/components\/schemas\/ConversationAudio"},{"type":"null"}]},"private_cloud_sync_enabled":{"type":"boolean","title":"Private Cloud Sync Enabled","default":false},"audio_timeline":{"anyOf":[{"$ref":"#\/components\/schemas\/AudioTimelineProvenance"},{"type":"null"}]},"capture_coverage":{"anyOf":[{"type":"string","enum":["unknown","incomplete","mapped"]},{"type":"null"}],"title":"Capture Coverage"},"excluded_speakers":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Excluded Speakers"},"speaker_resolution":{"anyOf":[{"$ref":"#\/components\/schemas\/ConversationSpeakers"},{"type":"null"}]},"screenshot_sharing_enabled":{"type":"boolean","title":"Screenshot Sharing Enabled","default":true},"apps_results":{"items":{"$ref":"#\/components\/schemas\/AppResult"},"type":"array","title":"Apps Results","default":[]},"suggested_summarization_apps":{"items":{"type":"string"},"type":"array","title":"Suggested Summarization Apps","default":[]},"plugins_results":{"items":{"$ref":"#\/components\/schemas\/PluginResult"},"type":"array","title":"Plugins Results","default":[]},"user_corrections":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"User Corrections"},"user_overview":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Overview"},"external_data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"External Data"},"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"},"capture_group":{"anyOf":[{"$ref":"#\/components\/schemas\/CaptureGroup"},{"type":"null"}]},"content_kind":{"anyOf":[{"type":"string","enum":["conversation","media","noise"]},{"type":"null"}],"title":"Content Kind"},"discarded":{"type":"boolean","title":"Discarded","default":false},"imported":{"type":"boolean","title":"Imported","default":false},"visibility":{"$ref":"#\/components\/schemas\/ConversationVisibility","default":"private"},"starred":{"type":"boolean","title":"Starred","default":false},"processing_memory_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Processing Memory Id"},"processing_conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Processing Conversation Id"},"status":{"anyOf":[{"$ref":"#\/components\/schemas\/ConversationStatus"},{"type":"null"}],"default":"completed"},"is_locked":{"type":"boolean","title":"Is Locked","default":false},"deferred":{"type":"boolean","title":"Deferred","default":false},"processing_deferred":{"type":"boolean","title":"Processing Deferred","default":false},"data_protection_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Protection Level"},"folder_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Folder Id","description":"ID of the folder this conversation belongs to"},"is_call":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Call"},"call_platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Platform"},"calendar_event_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Calendar Event Id"},"geolocation_scope":{"anyOf":[{"type":"string","const":"owner"},{"type":"null"}],"title":"Geolocation Scope"},"other_participants_location":{"anyOf":[{"type":"string","const":"remote"},{"type":"null"}],"title":"Other Participants Location"},"call_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Call Id","description":"Twilio call SID for phone call conversations"},"calendar_event":{"anyOf":[{"$ref":"#\/components\/schemas\/CalendarEventLink"},{"type":"null"}]},"client_device_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Device Id"},"client_platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Platform"},"meeting_treatment_eligible":{"type":"boolean","title":"Meeting Treatment Eligible","default":false},"meeting_treatment_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meeting Treatment Reason"},"meeting_duration_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Meeting Duration S"},"meeting_dedup_speech_s":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Meeting Dedup Speech S"}},"type":"object","required":["id","created_at","started_at","finished_at","structured"],"title":"Conversation"},"models__conversation__TranscriptMatchSnippet":{"properties":{"text":{"type":"string","title":"Text"},"segment_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Segment Id"},"start":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Start"},"end":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"End"},"start_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Start Ms"},"end_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"End Ms"},"speaker_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Speaker Id"}},"type":"object","required":["text"],"title":"TranscriptMatchSnippet","description":"Grep-style transcript hit returned on conversation search for seek-to-moment UX."},"models__developer_transcript__SimpleTranscriptSegment":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"text":{"type":"string","title":"Text"},"original_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Original Text"},"speaker_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Speaker Id"},"speaker_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker Name"},"start":{"type":"number","title":"Start"},"end":{"type":"number","title":"End"}},"type":"object","required":["text","start","end"],"title":"DeveloperTranscriptSegment"},"models__goal__GoalResponse":{"properties":{"id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Id"},"goal_id":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","title":"Goal Id"},"title":{"type":"string","title":"Title"},"desired_outcome":{"type":"string","title":"Desired Outcome"},"why_it_matters":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why It Matters"},"success_criteria":{"items":{"type":"string"},"type":"array","title":"Success Criteria"},"horizon_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Horizon At"},"status":{"$ref":"#\/components\/schemas\/GoalStatus"},"focus_rank":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Focus Rank"},"metric":{"anyOf":[{"$ref":"#\/components\/schemas\/GoalMetric"},{"type":"null"}]},"source":{"$ref":"#\/components\/schemas\/GoalSource"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"ended_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ended At"},"latest_progress_sequence":{"type":"integer","title":"Latest Progress Sequence","default":0},"goal_type":{"type":"string","title":"Goal Type"},"target_value":{"type":"number","title":"Target Value"},"current_value":{"type":"number","title":"Current Value"},"min_value":{"type":"number","title":"Min Value"},"max_value":{"type":"number","title":"Max Value"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"is_active":{"type":"boolean","title":"Is Active"},"advice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Advice"}},"type":"object","required":["id","goal_id","title","desired_outcome","status","source","created_at","updated_at","goal_type","target_value","current_value","min_value","max_value","is_active"],"title":"GoalResponse","description":"Canonical response plus non-null aliases required by released clients."},"models__goal__GoalType":{"type":"string","enum":["boolean","scale","numeric"],"title":"GoalType"},"models__integrations__ActionItem":{"properties":{"description":{"type":"string","title":"Description","description":"The action item to be completed"},"completed":{"type":"boolean","title":"Completed","default":false},"exported":{"type":"boolean","title":"Exported","default":false},"export_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Export Date"},"export_platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Export Platform"}},"type":"object","required":["description"],"title":"ActionItem"},"models__integrations__Event":{"properties":{"title":{"type":"string","title":"Title","description":"The title of the event"},"description":{"type":"string","title":"Description","description":"A brief description of the event","default":""},"start":{"type":"string","format":"date-time","title":"Start","description":"The start date and time of the event"},"duration":{"type":"integer","title":"Duration","description":"The duration of the event in minutes","default":30},"created":{"type":"boolean","title":"Created","default":false}},"type":"object","required":["title","start"],"title":"Event"},"models__integrations__MemoryItem":{"properties":{"content":{"type":"string","title":"Content","description":"The content of the memory"},"category":{"$ref":"#\/components\/schemas\/MemoryCategory","description":"The category of the memory","default":"interesting"},"visibility":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Visibility","default":"public"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags","description":"The tags of the memory and learning"},"headline":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Headline","description":"Short headline for notification preview (max 5 words)"},"predicate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Predicate","description":"Canonical relation for the fact, e.g. resides_in, works_at, prefers"},"arguments":{"additionalProperties":true,"type":"object","title":"Arguments","description":"Canonical proposition arguments keyed by semantic slot"},"subject_entity_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject Entity Id","description":"Stable entity id for who\/what the fact is about"},"subject_attribution":{"$ref":"#\/components\/schemas\/SubjectAttribution","description":"How the memory subject was attributed","default":"unknown"},"object_entity_ids":{"items":{"type":"string"},"type":"array","title":"Object Entity Ids","description":"Stable entity ids referenced by the fact arguments"},"qualifiers":{"additionalProperties":true,"type":"object","title":"Qualifiers","description":"Optional proposition qualifiers such as scope, valid_time, or epistemic_status"},"capture_confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Capture Confidence","description":"Fixed confidence that the source was captured correctly"},"veracity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Veracity","description":"Current belief that the fact is true"},"uncertainty_reasons":{"items":{"type":"string"},"type":"array","title":"Uncertainty Reasons","description":"Reasons this fact needs caution or review"},"durability":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Durability","description":"Expected durability horizon for the fact"},"subject_scope":{"anyOf":[{"$ref":"#\/components\/schemas\/MemorySubjectScope"},{"type":"null"}]},"valid_to":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid To"},"capture_context":{"anyOf":[{"$ref":"#\/components\/schemas\/MemoryCaptureContext"},{"type":"null"}]},"id":{"type":"string","title":"Id"},"uid":{"type":"string","title":"Uid"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"memory_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Memory Id"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"},"reviewed":{"type":"boolean","title":"Reviewed","default":false},"user_review":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"User Review"},"manually_added":{"type":"boolean","title":"Manually Added","default":false},"edited":{"type":"boolean","title":"Edited","default":false},"scoring":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scoring"},"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"},"data_protection_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Protection Level"},"is_locked":{"type":"boolean","title":"Is Locked","default":false},"is_read":{"type":"boolean","title":"Is Read","default":false},"is_dismissed":{"type":"boolean","title":"Is Dismissed","default":false},"kg_extracted":{"type":"boolean","title":"Kg Extracted","default":false},"is_baseline":{"type":"boolean","title":"Is Baseline","default":false},"evidence":{"items":{"$ref":"#\/components\/schemas\/Evidence"},"type":"array","title":"Evidence"},"memory_tier":{"anyOf":[{"$ref":"#\/components\/schemas\/MemoryLayer"},{"type":"null"}]},"valid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid At"},"invalid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Invalid At"},"superseded_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Superseded By"},"canonical_memory_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canonical Memory Id"},"ledger_status":{"anyOf":[{"$ref":"#\/components\/schemas\/MemoryItemStatus"},{"type":"null"}]},"primary_capture_device":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Capture Device"},"capture_device_ids":{"items":{"type":"string"},"type":"array","title":"Capture Device Ids"},"ledger_schema_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ledger Schema Version"},"kind":{"anyOf":[{"$ref":"#\/components\/schemas\/MemoryKind"},{"type":"null"}]},"slot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slot"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"curation_weight":{"type":"integer","title":"Curation Weight","default":0},"trigger_condition":{"additionalProperties":true,"type":"object","title":"Trigger Condition"},"intent_backed":{"type":"boolean","title":"Intent Backed","default":false},"write_reason":{"anyOf":[{"$ref":"#\/components\/schemas\/LedgerWriteReason"},{"type":"null"}]},"layer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Layer","description":"Canonical product lifecycle layer (Q6\/WS-K); derived from memory_tier at serialization only.","readOnly":true}},"type":"object","required":["content","id","uid","created_at","updated_at","layer"],"title":"MemoryItem","description":"Memory item model that extends MemoryDB for API responses"},"models__integrations__SearchConversationsResponse":{"properties":{"conversations":{"items":{"$ref":"#\/components\/schemas\/ConversationItem"},"type":"array","title":"Conversations","description":"List of user conversations"},"total_pages":{"type":"integer","title":"Total Pages","description":"Total number of pages"},"current_page":{"type":"integer","title":"Current Page","description":"Current page number"},"per_page":{"type":"integer","title":"Per Page","description":"Number of items per page"}},"type":"object","required":["conversations","total_pages","current_page","per_page"],"title":"SearchConversationsResponse"},"models__integrations__TaskItem":{"properties":{"id":{"type":"string","title":"Id"},"description":{"type":"string","title":"Description"},"completed":{"type":"boolean","title":"Completed"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"}},"type":"object","required":["id","description","completed"],"title":"TaskItem","description":"Task (action item) model for API responses"},"models__product_memory__MemoryItem":{"properties":{"memory_id":{"type":"string","title":"Memory Id"},"uid":{"type":"string","title":"Uid"},"canonical_memory_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Canonical Memory Id"},"version":{"type":"integer","title":"Version"},"tier":{"$ref":"#\/components\/schemas\/MemoryLayer"},"status":{"$ref":"#\/components\/schemas\/MemoryItemStatus"},"processing_state":{"$ref":"#\/components\/schemas\/ProcessingState"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content"},"normalized_content_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Normalized Content Key"},"evidence":{"items":{"$ref":"#\/components\/schemas\/MemoryEvidence"},"type":"array","title":"Evidence"},"source_state":{"$ref":"#\/components\/schemas\/SourceState"},"sensitivity_labels":{"items":{"type":"string"},"type":"array","title":"Sensitivity Labels"},"visibility":{"type":"string","title":"Visibility"},"user_asserted":{"type":"boolean","title":"User Asserted"},"captured_at":{"type":"string","format":"date-time","title":"Captured At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"ledger_commit_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ledger Commit Id"},"ledger_sequence":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ledger Sequence"},"item_revision":{"type":"integer","title":"Item Revision","default":1},"source_commit_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Commit Id"},"source_commit_sequence":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Source Commit Sequence"},"content_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Hash"},"account_generation":{"type":"integer","title":"Account Generation","default":0},"promotion":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Promotion"},"capture_device_ids":{"items":{"type":"string"},"type":"array","title":"Capture Device Ids"},"primary_capture_device":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Primary Capture Device"},"corroboration_count":{"type":"integer","title":"Corroboration Count","default":0},"last_corroborated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Corroborated At"},"confidence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Confidence"},"superseded_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Superseded By"},"subject_entity_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject Entity Id"},"predicate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Predicate"},"arguments":{"additionalProperties":true,"type":"object","title":"Arguments"},"kg_extracted":{"type":"boolean","title":"Kg Extracted","default":false},"graph_ready":{"type":"boolean","title":"Graph Ready","default":false},"graph_assertion_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Graph Assertion Id"},"graph_plan_hash":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Graph Plan Hash"},"ledger_schema_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ledger Schema Version"},"kind":{"$ref":"#\/components\/schemas\/MemoryKind","default":"fact"},"subject_scope":{"$ref":"#\/components\/schemas\/MemorySubjectScope","default":"primary_user"},"slot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slot"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"valid_from":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid From"},"valid_to":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Valid To"},"curation_weight":{"type":"integer","title":"Curation Weight","default":0},"trigger_condition":{"additionalProperties":true,"type":"object","title":"Trigger Condition"},"intent_backed":{"type":"boolean","title":"Intent Backed","default":false},"write_reason":{"anyOf":[{"$ref":"#\/components\/schemas\/LedgerWriteReason"},{"type":"null"}]},"source_ids":{"items":{"type":"string"},"type":"array","title":"Source Ids","description":"Exact query projection of the current embedded evidence identities.","readOnly":true}},"type":"object","required":["memory_id","uid","version","tier","status","processing_state","content","source_state","sensitivity_labels","visibility","user_asserted","captured_at","updated_at","source_ids"],"title":"MemoryItem"},"models__review__TaskItem":{"properties":{"candidate_id":{"type":"string","title":"Candidate Id"},"description":{"type":"string","title":"Description"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"workstream_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workstream Id"},"workstream_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workstream Title"},"evidence":{"anyOf":[{"$ref":"#\/components\/schemas\/ReviewEvidence"},{"type":"null"}]}},"type":"object","required":["candidate_id","description"],"title":"TaskItem"},"models__structured__ActionItem":{"properties":{"description":{"type":"string","title":"Description","description":"The action item to be completed"},"completed":{"type":"boolean","title":"Completed","default":false},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At","description":"When the action item was created"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At","description":"When the action item was last updated"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At","description":"When the action item is due"},"due":{"anyOf":[{"$ref":"#\/components\/schemas\/TaskDue"},{"type":"null"}]},"reminder_intent":{"anyOf":[{"$ref":"#\/components\/schemas\/ReminderIntent"},{"type":"null"}]},"reminder_origin":{"anyOf":[{"$ref":"#\/components\/schemas\/ReminderOrigin"},{"type":"null"}]},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At","description":"When the action item was completed"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id","description":"ID of the conversation this action item came from"},"capture_kind":{"anyOf":[{"type":"string","enum":["explicit_command","clear_commitment","direct_request","inferred_next_step"]},{"type":"null"}],"title":"Capture Kind"},"capture_confidence":{"anyOf":[{"type":"number","maximum":1,"minimum":0},{"type":"null"}],"title":"Capture Confidence"},"ownership_confidence":{"anyOf":[{"type":"number","maximum":1,"minimum":0},{"type":"null"}],"title":"Ownership Confidence"},"capture_owner":{"anyOf":[{"type":"string","enum":["user","other","unknown"]},{"type":"null"}],"title":"Capture Owner"},"owner_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Name","description":"The person's name when the owner is known"},"context":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context","description":"One line explaining why or how the item matters"},"due_certainty":{"anyOf":[{"type":"string","enum":["confirmed","tentative"]},{"type":"null"}],"title":"Due Certainty","description":"Whether the due date was confirmed or only discussed tentatively"},"concrete_deliverable":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Concrete Deliverable","description":"True only when the commitment names a concrete deliverable or outcome"},"candidate_action":{"anyOf":[{"type":"string","enum":["create","update","complete"]},{"type":"null"}],"title":"Candidate Action"},"target_task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Target Task Id"},"source_segment_ids":{"items":{"type":"string"},"type":"array","title":"Source Segment Ids"}},"type":"object","required":["description"],"title":"ActionItem"},"models__structured__Event":{"properties":{"title":{"type":"string","title":"Title","description":"The title of the event"},"description":{"type":"string","title":"Description","description":"A brief description of the event","default":""},"start":{"type":"string","format":"date-time","title":"Start","description":"The start date and time of the event"},"duration":{"type":"integer","title":"Duration","description":"The duration of the event in minutes","default":30},"created":{"type":"boolean","title":"Created","default":false}},"type":"object","required":["title","start"],"title":"Event"},"models__tts__TtsSynthesizeRequest":{"properties":{"text":{"type":"string","maxLength":5000,"minLength":1,"title":"Text"},"voice_id":{"type":"string","title":"Voice Id","default":"BAMYoBHLZM7lJgJAmFz0"},"model_id":{"type":"string","title":"Model Id","default":"eleven_turbo_v2_5"},"output_format":{"type":"string","title":"Output Format","default":"mp3_44100_128"},"voice_settings":{"anyOf":[{"$ref":"#\/components\/schemas\/TtsVoiceSettings"},{"type":"null"}]}},"type":"object","required":["text"],"title":"TtsSynthesizeRequest"},"models__users__PricingOption":{"properties":{"id":{"type":"string","title":"Id"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"price_string":{"type":"string","title":"Price String"}},"type":"object","required":["id","title","price_string"],"title":"PricingOption"},"routers__chat_sessions__RateMessageRequest":{"properties":{"rating":{"anyOf":[{"type":"integer","maximum":1,"minimum":-1},{"type":"null"}],"title":"Rating"},"app_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Version"},"reason":{"anyOf":[{"$ref":"#\/components\/schemas\/FeedbackReason"},{"type":"null"}]},"comment":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Comment"},"surface":{"type":"string","pattern":"^(text|voice|notification)$","title":"Surface","default":"text"}},"type":"object","title":"RateMessageRequest"},"routers__conversations__SearchConversationsResponse":{"properties":{"items":{"items":{"$ref":"#\/components\/schemas\/ConversationSearchItem"},"type":"array","title":"Items"},"total_pages":{"type":"integer","title":"Total Pages"},"current_page":{"type":"integer","title":"Current Page"},"per_page":{"type":"integer","title":"Per Page"}},"type":"object","required":["items","total_pages","current_page","per_page"],"title":"SearchConversationsResponse"},"routers__desktop_screen_crisp__ScreenActivityRow":{"properties":{"id":{"type":"integer","title":"Id"},"timestamp":{"type":"string","title":"Timestamp"},"appName":{"type":"string","title":"Appname","default":""},"windowTitle":{"type":"string","title":"Windowtitle","default":""},"ocrText":{"type":"string","title":"Ocrtext","default":""},"deviceName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Devicename"},"clientDeviceId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clientdeviceid"},"embedding":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Embedding"},"captureEligible":{"type":"boolean","title":"Captureeligible","default":false}},"type":"object","required":["id","timestamp"],"title":"ScreenActivityRow"},"routers__desktop_tts_updates__TtsSynthesizeRequest":{"properties":{"text":{"type":"string","title":"Text"},"voice_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Voice Id"},"instructions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instructions"}},"type":"object","required":["text"],"title":"TtsSynthesizeRequest"},"routers__developer__ActionItem":{"properties":{"description":{"type":"string","title":"Description"},"completed":{"type":"boolean","title":"Completed","default":false},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"}},"type":"object","required":["description"],"title":"DeveloperConversationActionItem"},"routers__developer__ActionItemResponse":{"properties":{"id":{"type":"string","title":"Id"},"description":{"type":"string","title":"Description"},"completed":{"type":"boolean","title":"Completed"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id"}},"type":"object","required":["id","description","completed"],"title":"DeveloperActionItem"},"routers__developer__BatchMemoriesRequest":{"properties":{"memories":{"items":{"$ref":"#\/components\/schemas\/CreateMemoryRequest"},"type":"array","maxItems":25,"title":"Memories","description":"List of memories to create"}},"type":"object","required":["memories"],"title":"BatchMemoriesRequest"},"routers__developer__BatchMemoriesResponse":{"properties":{"memories":{"items":{"$ref":"#\/components\/schemas\/DeveloperMemory"},"type":"array","title":"Memories"},"created_count":{"type":"integer","title":"Created Count"}},"type":"object","required":["memories","created_count"],"title":"BatchMemoriesResponse"},"routers__developer__Conversation":{"properties":{"id":{"type":"string","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"structured":{"$ref":"#\/components\/schemas\/routers__developer__SimpleStructured"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"transcript_segments":{"anyOf":[{"items":{"$ref":"#\/components\/schemas\/models__developer_transcript__SimpleTranscriptSegment"},"type":"array"},{"type":"null"}],"title":"Transcript Segments"},"transcript_included":{"type":"boolean","title":"Transcript Included","default":false},"participants_included":{"type":"boolean","title":"Participants Included","default":false},"participants":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Participants"},"person_ids":{"items":{"type":"string"},"type":"array","title":"Person Ids"},"geolocation":{"anyOf":[{"$ref":"#\/components\/schemas\/Geolocation"},{"type":"null"}]},"folder_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Folder Id"},"folder_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Folder Name"}},"type":"object","required":["id","created_at","started_at","finished_at","structured"],"title":"DeveloperConversation"},"routers__developer__CreateActionItemRequest":{"properties":{"description":{"type":"string","maxLength":500,"minLength":1,"title":"Description","description":"The action item description"},"completed":{"type":"boolean","title":"Completed","description":"Whether the action item is completed","default":false},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At","description":"When the action item is due (ISO format with timezone)"}},"type":"object","required":["description"],"title":"CreateActionItemRequest"},"routers__developer__Event":{"properties":{"title":{"type":"string","title":"Title"},"description":{"type":"string","title":"Description","default":""},"start":{"type":"string","format":"date-time","title":"Start"},"duration":{"type":"integer","title":"Duration","default":30},"created":{"type":"boolean","title":"Created","default":false}},"type":"object","required":["title","start"],"title":"DeveloperConversationEvent"},"routers__developer__GoalResponse":{"properties":{"id":{"type":"string","title":"Id"},"goal_id":{"type":"string","title":"Goal Id"},"title":{"type":"string","title":"Title"},"desired_outcome":{"type":"string","title":"Desired Outcome"},"why_it_matters":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why It Matters"},"success_criteria":{"items":{"type":"string"},"type":"array","title":"Success Criteria"},"horizon_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Horizon At"},"status":{"type":"string","title":"Status"},"focus_rank":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Focus Rank"},"metric":{"anyOf":[{"$ref":"#\/components\/schemas\/GoalMetric"},{"type":"null"}]},"source":{"type":"string","title":"Source"},"goal_type":{"type":"string","title":"Goal Type"},"target_value":{"type":"number","title":"Target Value"},"current_value":{"type":"number","title":"Current Value"},"min_value":{"type":"number","title":"Min Value"},"max_value":{"type":"number","title":"Max Value"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","goal_id","title","desired_outcome","status","source","goal_type","target_value","current_value","min_value","max_value","is_active","created_at","updated_at"],"title":"DeveloperGoal"},"routers__developer__SimpleStructured":{"properties":{"title":{"type":"string","title":"Title"},"overview":{"type":"string","title":"Overview"},"emoji":{"type":"string","title":"Emoji","default":"\ud83e\udde0"},"category":{"$ref":"#\/components\/schemas\/CategoryEnum"},"action_items":{"items":{"$ref":"#\/components\/schemas\/routers__developer__ActionItem"},"type":"array","title":"Action Items","default":[]},"events":{"items":{"$ref":"#\/components\/schemas\/routers__developer__Event"},"type":"array","title":"Events","default":[]}},"type":"object","required":["title","overview","category"],"title":"DeveloperConversationStructured"},"routers__developer__UpdateActionItemRequest":{"properties":{"description":{"anyOf":[{"type":"string","maxLength":500,"minLength":1},{"type":"null"}],"title":"Description","description":"New description"},"completed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Completed","description":"New completion status"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At","description":"New due date (ISO format with timezone)"}},"type":"object","title":"UpdateActionItemRequest"},"routers__focus_sessions__ScreenActivityRow":{"properties":{"id":{"type":"string","title":"Id"},"timestamp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timestamp"},"appName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Appname"},"windowTitle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Windowtitle"}},"additionalProperties":true,"type":"object","required":["id"],"title":"ScreenActivityRow","description":"One captured screen-activity row. The desktop app owns the write shape and\nadds fields over time, so unknown keys pass through rather than being dropped."},"routers__integrations__OAuthUrlResponse":{"properties":{"auth_url":{"type":"string","title":"Auth Url","description":"OAuth authorization URL to open in browser"}},"type":"object","required":["auth_url"],"title":"OAuthUrlResponse","description":"Response containing OAuth authorization URL"},"routers__mcp__SimpleStructured":{"properties":{"title":{"type":"string","title":"Title"},"overview":{"type":"string","title":"Overview"},"category":{"$ref":"#\/components\/schemas\/CategoryEnum"}},"type":"object","required":["title","overview","category"],"title":"SimpleStructured"},"routers__mcp__SimpleTranscriptSegment":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"text":{"type":"string","title":"Text"},"original_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Original Text"},"speaker_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Speaker Id"},"speaker_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker Key"},"speaker_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker Label"},"speaker_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker Name"},"start":{"type":"number","title":"Start"},"end":{"type":"number","title":"End"}},"type":"object","required":["text","start","end"],"title":"SimpleTranscriptSegment"},"routers__mcp__TranscriptMatchSnippet":{"properties":{"text":{"type":"string","title":"Text"},"segment_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Segment Id"},"start":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Start"},"end":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"End"},"start_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Start Ms"},"end_ms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"End Ms"},"speaker_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Speaker Id"},"speaker_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker Key"},"speaker_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker Label"}},"type":"object","required":["text"],"title":"TranscriptMatchSnippet","description":"Grep-style transcript evidence for MCP search hits (#6621)."},"routers__memories__BatchMemoriesRequest":{"properties":{"memories":{"items":{"$ref":"#\/components\/schemas\/Memory"},"type":"array","maxItems":100,"title":"Memories","description":"List of memories to create in a single batch request"}},"type":"object","required":["memories"],"title":"BatchMemoriesRequest"},"routers__memories__BatchMemoriesResponse":{"properties":{"memories":{"items":{"$ref":"#\/components\/schemas\/MemoryDB"},"type":"array","title":"Memories"},"created_count":{"type":"integer","title":"Created Count"}},"type":"object","required":["memories","created_count"],"title":"BatchMemoriesResponse"},"routers__payment__PricingOption":{"properties":{"id":{"type":"string","title":"Id"},"plan_id":{"type":"string","title":"Plan Id","default":""},"title":{"type":"string","title":"Title"},"price_string":{"type":"string","title":"Price String"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"subtitle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subtitle"},"eyebrow":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Eyebrow"},"interval":{"type":"string","title":"Interval"},"unit_amount":{"type":"integer","title":"Unit Amount"},"currency":{"type":"string","title":"Currency","default":"usd"},"billing_total":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Billing Total"},"is_active":{"type":"boolean","title":"Is Active","default":false}},"type":"object","required":["id","title","price_string","interval","unit_amount"],"title":"PricingOption"},"routers__task_integrations__OAuthUrlResponse":{"properties":{"auth_url":{"type":"string","title":"Auth Url","description":"OAuth authorization URL to open in browser"}},"type":"object","required":["auth_url"],"title":"OAuthUrlResponse","description":"Response containing OAuth authorization URL"},"routers__tools__CreateActionItemRequest":{"properties":{"description":{"type":"string","title":"Description","description":"Action item description"},"due_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Due At","description":"ISO date with timezone"},"conversation_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Conversation Id","description":"Source conversation ID"}},"type":"object","required":["description"],"title":"CreateActionItemRequest"},"routers__tools__UpdateActionItemRequest":{"properties":{"completed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Completed"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"due_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Due At","description":"ISO date with timezone"}},"type":"object","title":"UpdateActionItemRequest"},"routers__x_connector__OAuthUrlResponse":{"properties":{"success":{"type":"boolean","title":"Success"},"auth_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auth Url"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["success"],"title":"OAuthUrlResponse"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"},"APIKeyHeader":{"type":"apiKey","in":"header","name":"Authorization"}}}}