{ "components": { "schemas": { "AddedNoteToCollectionSessionOperationSchema": { "properties": { "collection_id": { "format": "uuid", "title": "Collection Id", "type": "string" }, "collection_title": { "title": "Collection Title", "type": "string" }, "collection_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Collection Url" }, "note_id": { "format": "uuid", "title": "Note Id", "type": "string" }, "note_title": { "title": "Note Title", "type": "string" }, "note_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Note Url" }, "type": { "const": "added-note-to-collection", "default": "added-note-to-collection", "title": "Type", "type": "string" } }, "required": [ "note_id", "note_title", "collection_id", "collection_title" ], "title": "AddedNoteToCollectionOperation", "type": "object" }, "AddNoteToCollectionResponseSchema": { "example": { "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522" }, "properties": { "request_id": { "description": "Identifier for this API request. Useful for tracing and support.", "title": "Request Id", "type": "string" } }, "required": [ "request_id" ], "title": "AddNoteToCollectionResponseSchema", "type": "object" }, "AddNoteToCollectionToolCallArgs": { "properties": { "collection_id": { "title": "Collection Id", "type": "string" }, "note_id": { "title": "Note Id", "type": "string" } }, "required": [ "note_id", "collection_id" ], "title": "AddNoteToCollectionToolCallArgs", "type": "object" }, "AddNoteToCollectionToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "AddNoteToCollectionToolCallResult", "type": "object" }, "AgentAttachmentMetadata": { "description": "Compact attachment metadata included implicitly when the agent reads a note.", "properties": { "attachment_id": { "format": "uuid", "title": "Attachment Id", "type": "string" }, "attachment_type": { "enum": [ "pdf", "image" ], "title": "Attachment Type", "type": "string" }, "image_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Image Type" }, "ocr_text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Ocr Text" }, "page_count": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Page Count" }, "suggested_search": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Suggested Search" }, "summary": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Summary" }, "visual_description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Visual Description" } }, "required": [ "attachment_id", "attachment_type" ], "title": "AgentAttachmentMetadata", "type": "object" }, "AgentCollectionModel": { "properties": { "collection_id": { "format": "uuid", "title": "Collection Id", "type": "string" }, "created_by_email_address": { "title": "Created By Email Address", "type": "string" }, "description": { "default": "", "title": "Description", "type": "string" }, "is_shared": { "title": "Is Shared", "type": "boolean" }, "note_count": { "title": "Note Count", "type": "integer" }, "title": { "title": "Title", "type": "string" } }, "required": [ "collection_id", "title", "is_shared", "created_by_email_address", "note_count" ], "title": "AgentCollectionModel", "type": "object" }, "AgentCollectionSearchResultModel": { "properties": { "collection": { "$ref": "#/components/schemas/AgentCollectionModel" }, "note_count": { "title": "Note Count", "type": "integer" }, "recent_notes": { "items": { "$ref": "#/components/schemas/AgentNoteModel" }, "title": "Recent Notes", "type": "array" } }, "required": [ "collection", "note_count" ], "title": "AgentCollectionSearchResultModel", "type": "object" }, "AgentCommonToolCallStatus": { "enum": [ "in_progress", "succeeded", "failed", "interrupted" ], "title": "AgentCommonToolCallStatus", "type": "string" }, "AgentNoteModel": { "properties": { "attachment_metadata": { "items": { "$ref": "#/components/schemas/AgentAttachmentMetadata" }, "title": "Attachment Metadata", "type": "array" }, "attachment_search_matches": { "items": { "$ref": "#/components/schemas/AttachmentMatchInfoForAgent" }, "title": "Attachment Search Matches", "type": "array" }, "collections": { "items": { "$ref": "#/components/schemas/AgentCollectionModel" }, "title": "Collections", "type": "array" }, "content": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Content" }, "created_at": { "title": "Created At", "type": "string" }, "created_by_email_address": { "title": "Created By Email Address", "type": "string" }, "highlighted_snippets": { "items": { "type": "string" }, "title": "Highlighted Snippets", "type": "array" }, "modified_at": { "title": "Modified At", "type": "string" }, "note_id": { "format": "uuid", "title": "Note Id", "type": "string" }, "primary_label": { "title": "Primary Label", "type": "string" }, "version": { "title": "Version", "type": "integer" } }, "required": [ "note_id", "primary_label", "created_at", "modified_at", "version", "created_by_email_address" ], "title": "AgentNoteModel", "type": "object" }, "AgentToolCallKind": { "description": "Enum for different types of agent tool calls with version information.", "enum": [ "CREATE_NOTE_TOOL_CALL_V1", "UPDATE_NOTE_TOOL_CALL_V1", "CREATE_COLLECTION_TOOL_CALL_V1", "ADD_NOTE_TO_COLLECTION_TOOL_CALL_V1", "REMOVE_NOTE_FROM_COLLECTION_TOOL_CALL_V1", "MOVE_NOTE_TOOL_CALL_V1", "SEARCH_FOR_COLLECTIONS_TOOL_CALL_V1", "SEARCH_NOTES_TOOL_CALL_V1", "FIND_RELATED_NOTES_TOOL_CALL_V1", "MESSAGE_USER_TOOL_CALL_V1", "READ_NOTE_TOOL_CALL_V1", "RENAME_COLLECTION_TOOL_CALL_V1", "UPDATE_COLLECTION_DESCRIPTION_TOOL_CALL_V1", "READ_COLLECTION_TOOL_CALL_V1", "TRASH_NOTE_TOOL_CALL_V1", "RESTORE_NOTE_TOOL_CALL_V1", "DELETE_COLLECTION_TOOL_CALL_V1", "VIEW_IMAGE_TOOL_CALL_V1", "CREATE_FACT_CARD_TOOL_CALL_V1", "CREATE_DRAFT_NOTE_TOOL_CALL_V1", "GET_HELP_CENTER_INFO_TOOL_CALL_V1", "GET_USER_ACCOUNT_STATISTICS_TOOL_CALL_V1", "SEARCH_WITHIN_DOCUMENT_TOOL_CALL_V1", "RETRIEVE_DOCUMENT_PAGES_TOOL_CALL_V1" ], "title": "AgentToolCallKind", "type": "string" }, "AnswerQuestionAboutAttachmentRequestSchema": { "properties": { "attachment_id": { "description": "UUID of the attachment to inspect. For note attachment metadata returned by\n`GET /v2/notes/{note_id}`, pass the `attachment_id` value directly.", "format": "uuid", "title": "Attachment Id", "type": "string" }, "attachment_kind": { "$ref": "#/components/schemas/AttachmentType", "description": "Kind of attachment to inspect. For note attachment metadata returned by\n`GET /v2/notes/{note_id}`, pass the `attachment_kind` value directly." }, "question": { "description": "Focused question to answer using only this attachment.\nMaximum: 10,000 characters (and no more than 10,000 UTF-8 bytes).", "maxLength": 10000, "minLength": 1, "title": "Question", "type": "string" } }, "required": [ "attachment_kind", "attachment_id", "question" ], "title": "AnswerQuestionAboutAttachmentRequestSchema", "type": "object" }, "AnswerQuestionAboutAttachmentResponseSchema": { "example": { "answer": "The document lists launch readiness, pricing, and support milestones.", "attachment_id": "2511691e-cfd2-47bc-a4b6-0104234ee1af", "attachment_kind": "pdf", "page_references": [ 1, 3 ], "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522" }, "properties": { "answer": { "title": "Answer", "type": "string" }, "attachment_id": { "format": "uuid", "title": "Attachment Id", "type": "string" }, "attachment_kind": { "$ref": "#/components/schemas/AttachmentType" }, "page_references": { "items": { "type": "integer" }, "title": "Page References", "type": "array" }, "request_id": { "title": "Request Id", "type": "string" } }, "required": [ "request_id", "attachment_kind", "attachment_id", "answer" ], "title": "AnswerQuestionAboutAttachmentResponseSchema", "type": "object" }, "ApiRequestRecordCreatedNotificationPayload": { "properties": { "api_request_record_id": { "format": "uuid", "title": "Api Request Record Id", "type": "string" } }, "required": [ "api_request_record_id" ], "title": "ApiRequestRecordCreatedNotificationPayload", "type": "object" }, "ArtifactSessionPartV1": { "properties": { "artifact_details": { "default": [], "items": { "$ref": "#/components/schemas/MarkdownV1SessionPart" }, "title": "Artifact Details", "type": "array" }, "artifact_kind": { "$ref": "#/components/schemas/SessionArtifactPartKind" }, "artifact_payload": { "anyOf": [ { "$ref": "#/components/schemas/NoteCreatedV1ArtifactPayload" }, { "$ref": "#/components/schemas/NoteUpdatedV1ArtifactPayload" } ], "title": "Artifact Payload" }, "client_meta": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Client Meta" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "kind": { "const": "ARTIFACT_V1", "default": "ARTIFACT_V1", "title": "Kind", "type": "string" } }, "required": [ "id", "artifact_kind", "artifact_payload" ], "title": "ArtifactSessionPartV1", "type": "object" }, "AttachmentImageResponseSchema": { "properties": { "filename": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Filename" }, "image_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Image Type" }, "key_entities": { "items": { "type": "string" }, "title": "Key Entities", "type": "array" }, "mime_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Mime Type" }, "ocr_text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Ocr Text" }, "suggested_search": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Suggested Search" }, "summary": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Summary" }, "visual_description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Visual Description" } }, "title": "AttachmentImageResponseSchema", "type": "object" }, "AttachmentMatchInfoForAgent": { "properties": { "attachment_id": { "format": "uuid", "title": "Attachment Id", "type": "string" }, "attachment_type": { "enum": [ "pdf", "image" ], "title": "Attachment Type", "type": "string" }, "highlighted_snippets": { "items": { "type": "string" }, "title": "Highlighted Snippets", "type": "array" }, "match_source": { "enum": [ "text", "visual" ], "title": "Match Source", "type": "string" }, "matched_entities": { "items": { "type": "string" }, "title": "Matched Entities", "type": "array" }, "page_number": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Page Number" }, "total_pages": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Total Pages" } }, "required": [ "attachment_id", "attachment_type", "match_source" ], "title": "AttachmentMatchInfoForAgent", "type": "object" }, "AttachmentPdfPageResponseSchema": { "properties": { "key_entities": { "items": { "type": "string" }, "title": "Key Entities", "type": "array" }, "page_number": { "title": "Page Number", "type": "integer" }, "plain_text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Plain Text" }, "suggested_search": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Suggested Search" }, "summary": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Summary" } }, "required": [ "page_number" ], "title": "AttachmentPdfPageResponseSchema", "type": "object" }, "AttachmentPdfResponseSchema": { "properties": { "filename": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Filename" }, "has_more": { "default": false, "title": "Has More", "type": "boolean" }, "mime_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Mime Type" }, "page_count": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Page Count" }, "page_limit": { "default": 0, "title": "Page Limit", "type": "integer" }, "page_offset": { "default": 0, "title": "Page Offset", "type": "integer" }, "pages": { "items": { "$ref": "#/components/schemas/AttachmentPdfPageResponseSchema" }, "title": "Pages", "type": "array" }, "suggested_search": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Suggested Search" }, "summary": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Summary" } }, "title": "AttachmentPdfResponseSchema", "type": "object" }, "AttachmentReference": { "description": "Sidecar metadata for markdown links that point at a specific attachment page.", "properties": { "page": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Page" }, "ref_id": { "title": "Ref Id", "type": "string" }, "url": { "title": "Url", "type": "string" } }, "required": [ "ref_id", "url", "page" ], "title": "AttachmentReference", "type": "object" }, "AttachmentType": { "enum": [ "pdf", "image", "audio_recording", "calendar_event", "email" ], "title": "AttachmentType", "type": "string" }, "AudioRecordingAttachmentResponseSchema": { "properties": { "associated_note_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Associated Note Id" }, "content_limit": { "default": 0, "title": "Content Limit", "type": "integer" }, "content_offset": { "default": 0, "title": "Content Offset", "type": "integer" }, "created_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Created At" }, "duration_seconds": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Duration Seconds" }, "has_more": { "default": false, "title": "Has More", "type": "boolean" }, "transcript": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Transcript content slice for an audio recording attachment.\nThe transcript is returned with available speaker labels, including\nparticipant names, generic diarization labels such as `[Speaker 1]`, and app\nchannel labels such as `[Speaker]` and `[Other Speakers]`.\nParticipant names are included only when available; many transcripts use\ngeneric diarization labels or app channel labels instead. Generic labels are\nspeaker grouping context, not verified participant identity.\nEmpty string means the recording exists but transcript data is not available\nfor this slice.", "title": "Transcript" }, "transcript_total_characters": { "default": 0, "description": "Total character count for the formatted transcript before content slicing.\nSpeaker labels, when present, are included in this count.", "title": "Transcript Total Characters", "type": "integer" }, "updated_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Updated At" } }, "title": "AudioRecordingAttachmentResponseSchema", "type": "object" }, "CalendarEventAttachmentResponseSchema": { "properties": { "attendees": { "items": { "additionalProperties": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "type": "object" }, "title": "Attendees", "type": "array" }, "calendar_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Calendar Name" }, "content": { "title": "Content", "type": "string" }, "content_limit": { "default": 0, "title": "Content Limit", "type": "integer" }, "content_offset": { "default": 0, "title": "Content Offset", "type": "integer" }, "content_total_characters": { "default": 0, "title": "Content Total Characters", "type": "integer" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description" }, "end_time": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "End Time" }, "has_more": { "default": false, "title": "Has More", "type": "boolean" }, "is_all_day": { "title": "Is All Day", "type": "boolean" }, "meet_link": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Meet Link" }, "self_response_status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Self Response Status" }, "start_time": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Start Time" }, "title": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Title" }, "updated_at": { "format": "date-time", "title": "Updated At", "type": "string" } }, "required": [ "is_all_day", "content", "created_at", "updated_at" ], "title": "CalendarEventAttachmentResponseSchema", "type": "object" }, "CalendarEventItemSchema": { "properties": { "calendar_background_color": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Calendar Background Color" }, "calendar_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Calendar Id" }, "calendar_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Calendar Name" }, "end_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "End Time" }, "external_event_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "External Event Id" }, "id": { "title": "Id", "type": "string" }, "is_all_day": { "default": false, "title": "Is All Day", "type": "boolean" }, "self_response_status": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Self Response Status" }, "start_time": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Start Time" }, "title": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Title" } }, "required": [ "id" ], "title": "CalendarEventItemSchema", "type": "object" }, "CalendarItemSchema": { "properties": { "access_role": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Access Role" }, "background_color": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Background Color" }, "calendar_id": { "title": "Calendar Id", "type": "string" }, "is_enabled": { "default": false, "title": "Is Enabled", "type": "boolean" }, "is_primary": { "default": false, "title": "Is Primary", "type": "boolean" }, "name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Name" }, "provider": { "title": "Provider", "type": "string" }, "subject_id": { "title": "Subject Id", "type": "string" }, "time_zone": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Time Zone" } }, "required": [ "provider", "subject_id", "calendar_id" ], "title": "CalendarItemSchema", "type": "object" }, "CalendarOAuthCallbackRequestSchema": { "properties": { "client_kind": { "default": "web", "description": "OAuth client kind ('web' or 'ios').", "title": "Client Kind", "type": "string" }, "code": { "description": "Authorization code from the OAuth provider.", "title": "Code", "type": "string" }, "code_verifier": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "PKCE code verifier, if applicable.", "title": "Code Verifier" }, "redirect_uri": { "description": "Redirect URI used during the connect step.", "title": "Redirect Uri", "type": "string" }, "state": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "OAuth state parameter for CSRF protection.", "title": "State" } }, "required": [ "code", "redirect_uri" ], "title": "CalendarOAuthCallbackRequestSchema", "type": "object" }, "CalendarOAuthCallbackResponseSchema": { "properties": { "provider": { "title": "Provider", "type": "string" }, "request_id": { "title": "Request Id", "type": "string" }, "subject_id": { "title": "Subject Id", "type": "string" } }, "required": [ "request_id", "provider", "subject_id" ], "title": "CalendarOAuthCallbackResponseSchema", "type": "object" }, "ChipSessionPart": { "deprecated": true, "properties": { "client_meta": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Client Meta" }, "kind": { "const": "CHIP", "default": "CHIP", "title": "Kind", "type": "string" }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/NoteChipSessionPartPayload" }, { "$ref": "#/components/schemas/CollectionChipSessionPartPayload" }, { "$ref": "#/components/schemas/WebsiteLinkChipSessionPartPayload" } ], "title": "Payload" } }, "required": [ "payload" ], "title": "ChipSessionPart", "type": "object" }, "CollectionChipSessionPartPayload": { "properties": { "collection_id": { "format": "uuid", "title": "Collection Id", "type": "string" }, "collection_title": { "title": "Collection Title", "type": "string" }, "kind": { "const": "COLLECTION", "default": "COLLECTION", "title": "Kind", "type": "string" } }, "required": [ "collection_title", "collection_id" ], "title": "CollectionChipSessionPartPayload", "type": "object" }, "CollectionListItemResponseSchema": { "properties": { "created_at": { "description": "Creation timestamp for the collection in ISO 8601 format.", "format": "date-time", "title": "Created At", "type": "string" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Optional description text currently stored on the collection.", "title": "Description" }, "id": { "description": "UUID of the collection.", "format": "uuid", "title": "Id", "type": "string" }, "note_count": { "description": "Current number of notes in the collection.", "title": "Note Count", "type": "integer" }, "title": { "description": "Current title of the collection.", "title": "Title", "type": "string" }, "updated_at": { "description": "Last modification timestamp for the collection in ISO 8601 format.", "format": "date-time", "title": "Updated At", "type": "string" } }, "required": [ "id", "title", "description", "note_count", "created_at", "updated_at" ], "title": "CollectionListItemResponseSchema", "type": "object" }, "CollectionListOrderBy": { "enum": [ "created_at", "updated_at" ], "title": "CollectionListOrderBy", "type": "string" }, "CollectionListQuerySchema": { "properties": { "filter_by_created_after": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Optional inclusive lower bound for collection creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.", "title": "Filter By Created After" }, "filter_by_created_before": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Optional inclusive upper bound for collection creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.", "title": "Filter By Created Before" }, "filter_by_updated_after": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Optional inclusive lower bound for collection update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.", "title": "Filter By Updated After" }, "filter_by_updated_before": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Optional inclusive upper bound for collection update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.", "title": "Filter By Updated Before" }, "limit": { "anyOf": [ { "maximum": 100, "minimum": 1, "type": "integer" }, { "type": "null" } ], "default": 50, "description": "Maximum number of collections in this page.\nUse smaller values for lower latency.\nDefault is 50; valid range is 1 to 100.", "title": "Limit" }, "order_by": { "allOf": [ { "enum": [ "created_at", "updated_at" ], "title": "CollectionListOrderBy", "type": "string" } ], "default": "updated_at", "description": "Sort key for pagination boundaries.\nUse `updated_at` (default) for recency feeds.\nUse `created_at` for creation-order views." }, "page": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Opaque cursor from a previous list response.\nOmit for the first page.\nIMPORTANT: Reuse with the same filters and `order_by` settings.", "title": "Page" } }, "title": "CollectionListQuerySchema", "type": "object" }, "CollectionListResponseSchema": { "example": { "next_page": "eyJvcmRlcl9ieSI6InVwZGF0ZWRfYXQiLCJ2YWx1ZSI6IjIwMjUtMDUtMDRUMTQ6MjA6MTFaIiwiaWQiOiIwMThmOGQwZC01YTNjLTdhZmMtODMyMS0yZjZmNmUwZmVmYWIifQ", "request_id": "api-request-018f8d0d-5a3c-7afc-8321-2f6f6e0fefab", "results": [ { "created_at": "2025-05-01T10:05:45Z", "description": "Initiatives and plans for Q1", "id": "018f8d0d-5a3c-7afc-8321-2f6f6e0fefab", "note_count": 12, "title": "Project Phoenix", "updated_at": "2025-05-04T14:20:11Z" } ], "total": 24 }, "properties": { "next_page": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Opaque cursor for the next page of collection results.\n`null` when there are no more results.", "title": "Next Page" }, "request_id": { "description": "Identifier for this API request. Useful for tracing and support.", "title": "Request Id", "type": "string" }, "results": { "description": "Page of collection results matching the requested sort.", "items": { "$ref": "#/components/schemas/CollectionListItemResponseSchema" }, "title": "Results", "type": "array" }, "total": { "description": "Total number of matching collections before pagination is applied.", "title": "Total", "type": "integer" } }, "required": [ "request_id", "results", "total" ], "title": "CollectionListResponseSchema", "type": "object" }, "CollectionSearchItemResponseSchema": { "properties": { "created_at": { "description": "Creation timestamp for the collection in ISO 8601 format.", "format": "date-time", "title": "Created At", "type": "string" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Optional description text currently stored on the collection.", "title": "Description" }, "id": { "description": "UUID of the collection.", "format": "uuid", "title": "Id", "type": "string" }, "note_count": { "description": "Current number of notes in the collection.", "title": "Note Count", "type": "integer" }, "title": { "description": "Current title of the collection.", "title": "Title", "type": "string" }, "updated_at": { "description": "Last modification timestamp for the collection in ISO 8601 format.", "format": "date-time", "title": "Updated At", "type": "string" } }, "required": [ "id", "title", "description", "note_count", "created_at", "updated_at" ], "title": "CollectionSearchItemResponseSchema", "type": "object" }, "CollectionSearchRequestSchema": { "properties": { "filter_by_created_after": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Optional inclusive lower bound for collection creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.", "examples": [ "2025-04-01T14:30:45Z", "2023-12-15T09:45:30+01:00" ], "title": "Filter By Created After" }, "filter_by_created_before": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Optional inclusive upper bound for collection creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.", "examples": [ "2025-04-30T23:59:59Z", "2023-12-31T18:00:00+01:00" ], "title": "Filter By Created Before" }, "filter_by_updated_after": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Optional inclusive lower bound for collection update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.", "examples": [ "2025-04-01T14:30:45Z", "2023-12-15T09:45:30+01:00" ], "title": "Filter By Updated After" }, "filter_by_updated_before": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Optional inclusive upper bound for collection update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.", "examples": [ "2025-04-30T23:59:59Z", "2023-12-31T18:00:00+01:00" ], "title": "Filter By Updated Before" }, "query": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Optional text query for relevance matching across collections.\nIf omitted, search can still return a bounded general set.", "title": "Query" } }, "title": "CollectionSearchRequestSchema", "type": "object" }, "CollectionSearchResponseSchema": { "example": { "request_id": "api-request-018f8d0d-5a3c-7afc-8321-2f6f6e0fefab", "results": [ { "created_at": "2025-03-18T11:00:00Z", "description": "Saved recipes from around the web", "id": "018f8d0d-5a3c-7afc-8321-2f6f6e0fefab", "note_count": 10, "title": "Recipe Notes", "updated_at": "2025-04-22T16:12:34Z" } ], "total": 1 }, "properties": { "request_id": { "description": "Identifier for this API request. Useful for tracing and support.", "title": "Request Id", "type": "string" }, "results": { "description": "Relevance-ranked collection results matching the search request.", "items": { "$ref": "#/components/schemas/CollectionSearchItemResponseSchema" }, "title": "Results", "type": "array" }, "total": { "description": "Number of collections returned by this bounded search response.", "title": "Total", "type": "integer" } }, "required": [ "request_id", "results", "total" ], "title": "CollectionSearchResponseSchema", "type": "object" }, "CollectionSessionMention": { "description": "Value class for collection mentions in sessions.\nContains metadata specific to collection mentions.", "properties": { "collection_id": { "title": "Collection Id", "type": "string" }, "collection_title": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Collection Title" }, "kind": { "allOf": [ { "$ref": "#/components/schemas/SessionMentionKind" } ], "default": "COLLECTION" } }, "required": [ "collection_id" ], "title": "CollectionSessionMention", "type": "object" }, "ConnectCalendarRequestSchema": { "properties": { "client_kind": { "default": "web", "description": "OAuth client kind ('web' or 'ios').", "title": "Client Kind", "type": "string" }, "redirect_uri": { "description": "OAuth redirect URI for the callback.", "title": "Redirect Uri", "type": "string" } }, "required": [ "redirect_uri" ], "title": "ConnectCalendarRequestSchema", "type": "object" }, "ConnectCalendarResponseSchema": { "properties": { "authorization_url": { "title": "Authorization Url", "type": "string" }, "request_id": { "title": "Request Id", "type": "string" }, "scopes": { "items": { "type": "string" }, "title": "Scopes", "type": "array" }, "state": { "title": "State", "type": "string" } }, "required": [ "request_id", "authorization_url", "state", "scopes" ], "title": "ConnectCalendarResponseSchema", "type": "object" }, "ConnectionItemSchema": { "properties": { "connected_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Connected At" }, "email": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Email" }, "provider": { "title": "Provider", "type": "string" }, "subject_id": { "title": "Subject Id", "type": "string" } }, "required": [ "provider", "subject_id" ], "title": "ConnectionItemSchema", "type": "object" }, "CoreApi__AcceptFeatureEnrollmentLinkResponseSchema": { "properties": { "feature_enrollment": { "$ref": "#/components/schemas/CoreApi__FeatureEnrollmentResponseSchema" }, "feature_enrollment_link": { "$ref": "#/components/schemas/CoreApi__FeatureEnrollmentLinkResponseSchema" } }, "required": [ "feature_enrollment_link", "feature_enrollment" ], "title": "AcceptFeatureEnrollmentLinkResponseSchema", "type": "object" }, "CoreApi__AcceptSharedItemInviteRequestSchema": { "properties": { "accepted_by_space_account_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Accepted By Space Account Id" }, "verification_token": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Verification Token" } }, "title": "AcceptSharedItemInviteRequestSchema", "type": "object" }, "CoreApi__Account": { "properties": { "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "profile_display_name": { "title": "Profile Display Name", "type": "string" }, "profile_email_address": { "format": "email", "title": "Profile Email Address", "type": "string" }, "profile_photo_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Profile Photo Url" } }, "required": [ "profile_display_name", "profile_email_address", "created_at" ], "title": "Account", "type": "object" }, "CoreApi__AccountNotificationPreferenceData": { "additionalProperties": false, "properties": { "EMAIL_USER_SHARE": { "title": "Email User Share", "type": "boolean" }, "EMAIL_WEEKLY_NEWSLETTER": { "title": "Email Weekly Newsletter", "type": "boolean" } }, "required": [ "EMAIL_WEEKLY_NEWSLETTER", "EMAIL_USER_SHARE" ], "title": "AccountNotificationPreferenceData", "type": "object" }, "CoreApi__AccountNotificationPreferenceUpsertRequest": { "additionalProperties": false, "properties": { "is_enabled": { "title": "Is Enabled", "type": "boolean" }, "notification_preference": { "enum": [ "EMAIL_WEEKLY_NEWSLETTER", "EMAIL_USER_SHARE" ], "title": "Notification Preference", "type": "string" } }, "required": [ "notification_preference", "is_enabled" ], "title": "AccountNotificationPreferenceUpsertRequest", "type": "object" }, "CoreApi__AccountStateEnum": { "enum": [ "INITIAL", "ONBOARDING", "ACTIVE", "INACTIVE" ], "title": "AccountStateEnum", "type": "string" }, "CoreApi__AddNoteToCollectionToolCallArgs": { "properties": { "collection_id": { "title": "Collection Id", "type": "string" }, "note_id": { "title": "Note Id", "type": "string" } }, "required": [ "note_id", "collection_id" ], "title": "AddNoteToCollectionToolCallArgs", "type": "object" }, "CoreApi__AddNoteToCollectionToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "AddNoteToCollectionToolCallResult", "type": "object" }, "CoreApi__AgentAttachmentMetadata": { "properties": { "attachment_id": { "format": "uuid", "title": "Attachment Id", "type": "string" }, "attachment_type": { "enum": [ "pdf", "image" ], "title": "Attachment Type", "type": "string" }, "image_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Image Type" }, "ocr_text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Ocr Text" }, "page_count": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Page Count" }, "suggested_search": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Suggested Search" }, "summary": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Summary" }, "visual_description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Visual Description" } }, "required": [ "attachment_id", "attachment_type" ], "title": "AgentAttachmentMetadata", "type": "object" }, "CoreApi__AgentCollectionModel": { "properties": { "collection_id": { "format": "uuid", "title": "Collection Id", "type": "string" }, "created_by_email_address": { "title": "Created By Email Address", "type": "string" }, "description": { "default": "", "title": "Description", "type": "string" }, "is_shared": { "title": "Is Shared", "type": "boolean" }, "note_count": { "title": "Note Count", "type": "integer" }, "title": { "title": "Title", "type": "string" } }, "required": [ "collection_id", "title", "is_shared", "created_by_email_address", "note_count" ], "title": "AgentCollectionModel", "type": "object" }, "CoreApi__AgentCollectionSearchResultModel": { "properties": { "collection": { "$ref": "#/components/schemas/CoreApi__AgentCollectionModel" }, "note_count": { "title": "Note Count", "type": "integer" }, "recent_notes": { "items": { "$ref": "#/components/schemas/CoreApi__AgentNoteModel" }, "title": "Recent Notes", "type": "array" } }, "required": [ "collection", "note_count" ], "title": "AgentCollectionSearchResultModel", "type": "object" }, "CoreApi__AgentCommonToolCallStatus": { "enum": [ "in_progress", "succeeded", "failed", "interrupted" ], "title": "AgentCommonToolCallStatus", "type": "string" }, "CoreApi__AgentNoteModel": { "properties": { "attachment_metadata": { "items": { "$ref": "#/components/schemas/CoreApi__AgentAttachmentMetadata" }, "title": "Attachment Metadata", "type": "array" }, "attachment_search_matches": { "items": { "$ref": "#/components/schemas/CoreApi__AttachmentMatchInfoForAgent" }, "title": "Attachment Search Matches", "type": "array" }, "collections": { "items": { "$ref": "#/components/schemas/CoreApi__AgentCollectionModel" }, "title": "Collections", "type": "array" }, "content": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Content" }, "created_at": { "title": "Created At", "type": "string" }, "created_by_email_address": { "title": "Created By Email Address", "type": "string" }, "highlighted_snippets": { "items": { "type": "string" }, "title": "Highlighted Snippets", "type": "array" }, "modified_at": { "title": "Modified At", "type": "string" }, "note_id": { "format": "uuid", "title": "Note Id", "type": "string" }, "primary_label": { "title": "Primary Label", "type": "string" }, "version": { "title": "Version", "type": "integer" } }, "required": [ "note_id", "primary_label", "created_at", "modified_at", "version", "created_by_email_address" ], "title": "AgentNoteModel", "type": "object" }, "CoreApi__AgentToolCallKind": { "enum": [ "CREATE_NOTE_TOOL_CALL_V1", "UPDATE_NOTE_TOOL_CALL_V1", "CREATE_COLLECTION_TOOL_CALL_V1", "ADD_NOTE_TO_COLLECTION_TOOL_CALL_V1", "REMOVE_NOTE_FROM_COLLECTION_TOOL_CALL_V1", "MOVE_NOTE_TOOL_CALL_V1", "SEARCH_FOR_COLLECTIONS_TOOL_CALL_V1", "SEARCH_NOTES_TOOL_CALL_V1", "FIND_RELATED_NOTES_TOOL_CALL_V1", "MESSAGE_USER_TOOL_CALL_V1", "READ_NOTE_TOOL_CALL_V1", "RENAME_COLLECTION_TOOL_CALL_V1", "UPDATE_COLLECTION_DESCRIPTION_TOOL_CALL_V1", "READ_COLLECTION_TOOL_CALL_V1", "TRASH_NOTE_TOOL_CALL_V1", "RESTORE_NOTE_TOOL_CALL_V1", "DELETE_COLLECTION_TOOL_CALL_V1", "VIEW_IMAGE_TOOL_CALL_V1", "CREATE_FACT_CARD_TOOL_CALL_V1", "CREATE_DRAFT_NOTE_TOOL_CALL_V1", "GET_HELP_CENTER_INFO_TOOL_CALL_V1", "GET_USER_ACCOUNT_STATISTICS_TOOL_CALL_V1", "SEARCH_WITHIN_DOCUMENT_TOOL_CALL_V1", "RETRIEVE_DOCUMENT_PAGES_TOOL_CALL_V1" ], "title": "AgentToolCallKind", "type": "string" }, "CoreApi__AnySessionEventValue": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SessionEventUserMessageValue" }, { "$ref": "#/components/schemas/CoreApi__SessionEventAgentOutputValue" }, { "$ref": "#/components/schemas/CoreApi__SessionEventExternalInputValue" }, { "$ref": "#/components/schemas/CoreApi__SessionEventAgentToolInvocationValue" }, { "$ref": "#/components/schemas/CoreApi__SessionEventUserActionV1Value" }, { "$ref": "#/components/schemas/CoreApi__SessionEventAgentPlanningV1Value" }, { "$ref": "#/components/schemas/CoreApi__SessionEventAgentActionV1Value" }, { "$ref": "#/components/schemas/CoreApi__SessionEventAgentCommonActionV1Value" }, { "$ref": "#/components/schemas/CoreApi__SessionEventAgentDigestV1Value" }, { "$ref": "#/components/schemas/CoreApi__SessionEventSystemNotificationV1Value" } ] }, "CoreApi__ApiError": { "description": "The full error envelope emitted by every Mem API service.", "properties": { "error_category": { "title": "Error Category", "type": "string" }, "error_metadata": { "$ref": "#/components/schemas/CoreApi__ApiErrorMetadata" } }, "required": [ "error_category", "error_metadata" ], "title": "ApiError", "type": "object" }, "CoreApi__ApiErrorMetadata": { "description": "The ``error_metadata`` object nested inside every error envelope.", "properties": { "error_kind": { "title": "Error Kind", "type": "string" }, "message": { "title": "Message", "type": "string" }, "request_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Request Id" } }, "required": [ "error_kind", "message" ], "title": "ApiErrorMetadata", "type": "object" }, "CoreApi__ApiRequestArtifactInternalResponseSchema": { "properties": { "api_request_record_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Api Request Record Id" }, "artifact_kind": { "const": "API_REQUEST", "title": "Artifact Kind", "type": "string" }, "payload": { "additionalProperties": true, "title": "Payload", "type": "object" }, "processed_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Processed At" }, "request_kind": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__ApiRequestRecordKind" }, { "type": "null" } ] } }, "required": [ "api_request_record_id", "request_kind", "payload", "artifact_kind" ], "title": "ApiRequestArtifactInternalResponseSchema", "type": "object" }, "CoreApi__ApiRequestRecordCreatedNotificationPayload": { "properties": { "api_request_record_id": { "format": "uuid", "title": "Api Request Record Id", "type": "string" } }, "required": [ "api_request_record_id" ], "title": "ApiRequestRecordCreatedNotificationPayload", "type": "object" }, "CoreApi__ApiRequestRecordKind": { "enum": [ "v1-mem-it", "v1-create-note", "v1-delete-note", "v2-mem-it", "v2-list-notes", "v2-search-notes", "v2-extended-search-notes", "v2-find-related-notes", "v2-create-note", "v2-read-note", "v2-get-note-attachment-download-url", "v2-read-attachment", "v2-answer-question-about-attachment", "v2-read-audio-recording", "v2-delete-note", "v2-update-note", "v2-set-note-created-at", "v2-trash-note", "v2-restore-note", "v2-read-collection", "v2-list-collections", "v2-search-collections", "v2-create-collection", "v2-update-collection", "v2-add-note-to-collection", "v2-remove-note-from-collection", "v2-move-note", "v2-delete-collection", "v2-list-tasks", "v2-read-task", "v2-list-projects", "v2-read-project", "v2-list-follow-ups", "v2-read-follow-up", "v2-send-assistant-message", "v2-read-assistant-conversation", "v2-list-assistant-conversation-items", "v2-archive-assistant-conversation", "v2-list-events", "v2-read-event", "v2-list-event-types", "v2-list-calendar-connections", "v2-connect-calendar", "v2-calendar-oauth-callback", "v2-disconnect-calendar", "v2-list-calendars", "v2-update-calendar-settings", "v2-list-calendar-events", "v2-read-calendar-event", "v2-reconcile-calendar" ], "title": "ApiRequestRecordKind", "type": "string" }, "CoreApi__AppleAuthorizationUrlResponse": { "properties": { "authorization_url": { "title": "Authorization Url", "type": "string" } }, "required": [ "authorization_url" ], "title": "AppleAuthorizationUrlResponse", "type": "object" }, "CoreApi__AppleFinalizeRequest": { "properties": { "state": { "minLength": 1, "title": "State", "type": "string" } }, "required": [ "state" ], "title": "AppleFinalizeRequest", "type": "object" }, "CoreApi__AppleInvalidStateResponse": { "properties": { "error": { "const": "invalid_state", "title": "Error", "type": "string" } }, "required": [ "error" ], "title": "AppleInvalidStateResponse", "type": "object" }, "CoreApi__AppleOAuthClientKind": { "enum": [ "MEM_WEB_CLIENT", "MEM_IOS_CLIENT" ], "title": "AppleOAuthClientKind", "type": "string" }, "CoreApi__AppleOAuthRedirectPlatform": { "enum": [ "web", "desktop" ], "title": "AppleOAuthRedirectPlatform", "type": "string" }, "CoreApi__ApplePushNotificationEnvironment": { "enum": [ "development", "production", "unknown" ], "title": "ApplePushNotificationEnvironment", "type": "string" }, "CoreApi__ApplePushNotificationProvider": { "enum": [ "apns", "unknown" ], "title": "ApplePushNotificationProvider", "type": "string" }, "CoreApi__AppleSignupRequest": { "properties": { "apple_oauth_code": { "minLength": 1, "title": "Apple Oauth Code", "type": "string" }, "client_kind": { "$ref": "#/components/schemas/CoreApi__AppleOAuthClientKind" }, "profile_display_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Profile Display Name" }, "profile_email_address": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "format": "email", "title": "Profile Email Address" }, "profile_photo_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "format": "uri", "title": "Profile Photo Url" }, "redirect_uri": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Redirect Uri" } }, "required": [ "apple_oauth_code", "client_kind" ], "title": "AppleSignupRequest", "type": "object" }, "CoreApi__ArtifactResponseSchema": { "properties": { "artifact_kind": { "$ref": "#/components/schemas/CoreApi__SessionArtifactKind" }, "content_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Content Url" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "primary_label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Primary Label" }, "secondary_label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Secondary Label" }, "session_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Session Id" }, "value": { "discriminator": { "mapping": { "API_REQUEST": "#/components/schemas/CoreApi__ApiRequestArtifactInternalResponseSchema", "AUDIO": "#/components/schemas/CoreApi__AudioArtifactInternalResponseSchema", "CALENDAR_EVENT": "#/components/schemas/CoreApi__CalendarEventArtifactInternalResponseSchema", "EMAIL": "#/components/schemas/CoreApi__EmailArtifactInternalResponseSchema", "NOTE_CONTENT": "#/components/schemas/CoreApi__NoteContentArtifactInternalResponseSchema", "NOTE_SUGGESTION": "#/components/schemas/CoreApi__NoteSuggestionArtifactInternalResponseSchema", "TEXT_MESSAGE": "#/components/schemas/CoreApi__TextMessageArtifactInternalResponseSchema", "UPLOADED_FILE": "#/components/schemas/CoreApi__UploadedFileArtifactInternalResponseSchema", "WEBSITE_CONTENT": "#/components/schemas/CoreApi__WebsiteContentArtifactInternalResponseSchema" }, "propertyName": "artifact_kind" }, "oneOf": [ { "$ref": "#/components/schemas/CoreApi__EmailArtifactInternalResponseSchema" }, { "$ref": "#/components/schemas/CoreApi__TextMessageArtifactInternalResponseSchema" }, { "$ref": "#/components/schemas/CoreApi__UploadedFileArtifactInternalResponseSchema" }, { "$ref": "#/components/schemas/CoreApi__ApiRequestArtifactInternalResponseSchema" }, { "$ref": "#/components/schemas/CoreApi__NoteContentArtifactInternalResponseSchema" }, { "$ref": "#/components/schemas/CoreApi__AudioArtifactInternalResponseSchema" }, { "$ref": "#/components/schemas/CoreApi__WebsiteContentArtifactInternalResponseSchema" }, { "$ref": "#/components/schemas/CoreApi__NoteSuggestionArtifactInternalResponseSchema" }, { "$ref": "#/components/schemas/CoreApi__CalendarEventArtifactInternalResponseSchema" } ], "title": "Value" } }, "required": [ "id", "artifact_kind", "value" ], "title": "ArtifactResponseSchema", "type": "object" }, "CoreApi__ArtifactSessionPartV1": { "properties": { "artifact_details": { "default": [], "items": { "$ref": "#/components/schemas/CoreApi__MarkdownV1SessionPart" }, "title": "Artifact Details", "type": "array" }, "artifact_kind": { "$ref": "#/components/schemas/CoreApi__SessionArtifactPartKind" }, "artifact_payload": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__NoteCreatedV1ArtifactPayload" }, { "$ref": "#/components/schemas/CoreApi__NoteUpdatedV1ArtifactPayload" } ], "title": "Artifact Payload" }, "client_meta": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Client Meta" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "kind": { "const": "ARTIFACT_V1", "default": "ARTIFACT_V1", "title": "Kind", "type": "string" } }, "required": [ "id", "artifact_kind", "artifact_payload" ], "title": "ArtifactSessionPartV1", "type": "object" }, "CoreApi__AssemblyAiPrerecordedLanguageDetectionOptions": { "additionalProperties": false, "properties": { "expected_languages": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "title": "Expected Languages" }, "fallback_language": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Fallback Language" } }, "title": "AssemblyAiPrerecordedLanguageDetectionOptions", "type": "object" }, "CoreApi__AssemblyAiPrerecordedTranscriptionConfig": { "additionalProperties": false, "description": "Client-provided AssemblyAI prerecorded transcription options.", "properties": { "language_detection": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Language Detection" }, "language_detection_options": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__AssemblyAiPrerecordedLanguageDetectionOptions" }, { "type": "null" } ] }, "multichannel": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Multichannel" }, "speech_models": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "title": "Speech Models" } }, "title": "AssemblyAiPrerecordedTranscriptionConfig", "type": "object" }, "CoreApi__AssignableSyncScopeRoleKind": { "enum": [ "EDITOR", "VIEWER", "DIRECT_CONTACT", "INDIRECT_CONTACT" ], "title": "AssignableSyncScopeRoleKind", "type": "string" }, "CoreApi__AssistantConnectionActivationResponseSchema": { "properties": { "activation_url": { "title": "Activation Url", "type": "string" }, "expires_at": { "title": "Expires At", "type": "string" } }, "required": [ "activation_url", "expires_at" ], "title": "AssistantConnectionActivationResponseSchema", "type": "object" }, "CoreApi__AssistantConnectionSettingsResponseSchema": { "properties": { "connected_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Connected At" }, "is_connected": { "title": "Is Connected", "type": "boolean" }, "is_enabled": { "title": "Is Enabled", "type": "boolean" }, "phone_number": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Phone Number" } }, "required": [ "is_connected", "is_enabled" ], "title": "AssistantConnectionSettingsResponseSchema", "type": "object" }, "CoreApi__AssistantResponseSchema": { "properties": { "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "is_enabled": { "title": "Is Enabled", "type": "boolean" }, "slug": { "title": "Slug", "type": "string" }, "space_account_id": { "format": "uuid", "title": "Space Account Id", "type": "string" }, "updated_at": { "format": "date-time", "title": "Updated At", "type": "string" } }, "required": [ "id", "space_account_id", "slug", "is_enabled", "created_at", "updated_at" ], "title": "AssistantResponseSchema", "type": "object" }, "CoreApi__AttachmentMatchInfoForAgent": { "properties": { "attachment_id": { "format": "uuid", "title": "Attachment Id", "type": "string" }, "attachment_type": { "enum": [ "pdf", "image" ], "title": "Attachment Type", "type": "string" }, "highlighted_snippets": { "items": { "type": "string" }, "title": "Highlighted Snippets", "type": "array" }, "match_source": { "enum": [ "text", "visual" ], "title": "Match Source", "type": "string" }, "matched_entities": { "items": { "type": "string" }, "title": "Matched Entities", "type": "array" }, "page_number": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Page Number" }, "total_pages": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Total Pages" } }, "required": [ "attachment_id", "attachment_type", "match_source" ], "title": "AttachmentMatchInfoForAgent", "type": "object" }, "CoreApi__AttachmentReference": { "properties": { "page": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Page" }, "ref_id": { "title": "Ref Id", "type": "string" }, "url": { "title": "Url", "type": "string" } }, "required": [ "ref_id", "url", "page" ], "title": "AttachmentReference", "type": "object" }, "CoreApi__AudioArtifactInternalResponseSchema": { "properties": { "artifact_kind": { "const": "AUDIO", "title": "Artifact Kind", "type": "string" }, "audio_duration_seconds": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Audio Duration Seconds" }, "captured_audio_id": { "format": "uuid", "title": "Captured Audio Id", "type": "string" }, "download_url": { "title": "Download Url", "type": "string" }, "mime_type": { "title": "Mime Type", "type": "string" }, "transcript_array": { "anyOf": [ { "items": { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptArrayOutputItem" }, "type": "array" }, { "type": "null" } ], "title": "Transcript Array" }, "transcript_text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Transcript Text" } }, "required": [ "captured_audio_id", "mime_type", "transcript_text", "artifact_kind", "download_url" ], "title": "AudioArtifactInternalResponseSchema", "type": "object" }, "CoreApi__AudioRecordingDownloadResponseSchema": { "properties": { "download_url": { "title": "Download Url", "type": "string" } }, "required": [ "download_url" ], "title": "AudioRecordingDownloadResponseSchema", "type": "object" }, "CoreApi__AudioRecordingMergeIntentRequestSchema": { "properties": { "canonical_audio_recording_id": { "format": "uuid", "title": "Canonical Audio Recording Id", "type": "string" }, "source_audio_recording_ids": { "items": { "format": "uuid", "type": "string" }, "title": "Source Audio Recording Ids", "type": "array" } }, "required": [ "canonical_audio_recording_id", "source_audio_recording_ids" ], "title": "AudioRecordingMergeIntentRequestSchema", "type": "object" }, "CoreApi__AudioRecordingTranscriptDataRequestSchema": { "properties": { "transcript_array": { "anyOf": [ { "items": { "$ref": "#/components/schemas/CoreApi__mem__core_api_service__routers__audio_recordings__schemas__CapturedAudioTranscriptArrayInputItem" }, "type": "array" }, { "type": "null" } ], "title": "Transcript Array" }, "transcript_provider": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptProvider" }, { "type": "null" } ] }, "transcript_text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Transcript Text" } }, "title": "AudioRecordingTranscriptDataRequestSchema", "type": "object" }, "CoreApi__AuthTokenResponse": { "properties": { "account_id": { "format": "uuid", "title": "Account Id", "type": "string" }, "oauth_access_token": { "title": "Oauth Access Token", "type": "string" } }, "required": [ "account_id", "oauth_access_token" ], "title": "AuthTokenResponse", "type": "object" }, "CoreApi__BaseApiErrorSchema": { "properties": { "error_category": { "title": "Error Category", "type": "string" }, "error_metadata": { "additionalProperties": true, "title": "Error Metadata", "type": "object" } }, "required": [ "error_category" ], "title": "BaseApiErrorSchema", "type": "object" }, "CoreApi__BillingPlanKind": { "enum": [ "free", "pro", "proactive", "unknown" ], "title": "BillingPlanKind", "type": "string" }, "CoreApi__BillingPlanVariant": { "enum": [ "standard", "max" ], "title": "BillingPlanVariant", "type": "string" }, "CoreApi__BillingProvider": { "enum": [ "STRIPE", "APPLE", "HOUSE", "UNKNOWN" ], "title": "BillingProvider", "type": "string" }, "CoreApi__Body_exchange_token_api_v2_oauth2_token_post": { "properties": { "client_id": { "title": "Client Id", "type": "string" }, "client_secret": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Client Secret" }, "code": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Code" }, "code_verifier": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Code Verifier" }, "grant_type": { "title": "Grant Type", "type": "string" }, "redirect_uri": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Redirect Uri" }, "refresh_token": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Refresh Token" }, "scope": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Scope" } }, "required": [ "grant_type", "client_id" ], "title": "Body_exchange_token_api_v2_oauth2_token_post", "type": "object" }, "CoreApi__Body_introspect_api_v2_oauth2_introspect_post": { "properties": { "token": { "title": "Token", "type": "string" }, "token_type_hint": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Token Type Hint" } }, "required": [ "token" ], "title": "Body_introspect_api_v2_oauth2_introspect_post", "type": "object" }, "CoreApi__Body_post_upload_voice_file_api_v2_voice_upload_post": { "properties": { "audio_file": { "contentMediaType": "application/octet-stream", "title": "Audio File", "type": "string" }, "captured_audio_id": { "title": "Captured Audio Id", "type": "string" }, "filename": { "title": "Filename", "type": "string" }, "mime_type": { "title": "Mime Type", "type": "string" }, "transcript_array": { "anyOf": [ { "items": { "$ref": "#/components/schemas/CoreApi__mem__core_api_service__routers__voice__schemas__CapturedAudioTranscriptArrayInputItem" }, "type": "array" }, { "type": "null" } ], "title": "Transcript Array" }, "transcript_provider": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptProvider" }, { "type": "null" } ] }, "transcript_text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Transcript Text" } }, "required": [ "audio_file", "captured_audio_id", "filename", "mime_type" ], "title": "Body_post_upload_voice_file_api_v2_voice_upload_post", "type": "object" }, "CoreApi__CalendarEventArtifactInternalResponseSchema": { "properties": { "artifact_kind": { "const": "CALENDAR_EVENT", "title": "Artifact Kind", "type": "string" }, "attachments": { "items": { "$ref": "#/components/schemas/CoreApi__CalendarEventAttachment" }, "title": "Attachments", "type": "array" }, "attendees": { "items": { "$ref": "#/components/schemas/CoreApi__CalendarEventAttendee" }, "title": "Attendees", "type": "array" }, "calendar_background_color": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Calendar Background Color" }, "calendar_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Calendar Name" }, "connected_calendar_event_id": { "format": "uuid", "title": "Connected Calendar Event Id", "type": "string" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description" }, "event_end_time": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Event End Time" }, "event_start_time": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Event Start Time" }, "event_title": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Event Title" }, "html_link": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Html Link" }, "is_all_day": { "default": false, "title": "Is All Day", "type": "boolean" }, "location": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Location" }, "meet_link": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Meet Link" }, "organizer": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CalendarEventOrganizer" }, { "type": "null" } ] } }, "required": [ "connected_calendar_event_id", "artifact_kind" ], "title": "CalendarEventArtifactInternalResponseSchema", "type": "object" }, "CoreApi__CalendarEventAttachment": { "properties": { "file_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "File Url" }, "icon_link": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Icon Link" }, "mime_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Mime Type" }, "title": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Title" } }, "title": "CalendarEventAttachment", "type": "object" }, "CoreApi__CalendarEventAttendee": { "properties": { "display_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Display Name" }, "email": { "title": "Email", "type": "string" } }, "required": [ "email" ], "title": "CalendarEventAttendee", "type": "object" }, "CoreApi__CalendarEventAttendeeStatus": { "enum": [ "NEEDS_ACTION", "DECLINED", "ACCEPTED", "TENTATIVE" ], "title": "CalendarEventAttendeeStatus", "type": "string" }, "CoreApi__CalendarEventOrganizer": { "properties": { "display_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Display Name" }, "email": { "title": "Email", "type": "string" } }, "required": [ "email" ], "title": "CalendarEventOrganizer", "type": "object" }, "CoreApi__CalendarSettingsPatch": { "properties": { "enable_calendar_event_notifications": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Enable Calendar Event Notifications" }, "enable_unscheduled_meeting_notifications": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Enable Unscheduled Meeting Notifications" }, "hide_calendar_integration_shill": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Hide Calendar Integration Shill" } }, "title": "CalendarSettingsPatch", "type": "object" }, "CoreApi__CapturedAudioTranscriptArrayOutputItem": { "additionalProperties": true, "properties": { "channel": { "title": "Channel", "type": "integer" }, "disconnected": { "default": false, "title": "Disconnected", "type": "boolean" }, "sort_key": { "title": "Sort Key", "type": "string" }, "speaker_audio_source": { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptSpeakerAudioSource", "default": "unknown" }, "speaker_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Speaker Id" }, "speaker_identification_context": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptSpeakerIdentificationContext" }, { "type": "null" } ] }, "speaker_identification_reason": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptSpeakerIdentificationReason" }, { "type": "null" } ] }, "speaker_label": { "anyOf": [ { "type": "integer" }, { "type": "string" }, { "type": "null" } ], "title": "Speaker Label" }, "speaker_label_kind": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptSpeakerLabelKind" }, { "type": "null" } ] }, "speaker_participant": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptSpeakerParticipant" }, { "type": "null" } ] }, "speaker_variant": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptSpeakerVariant" }, { "type": "null" } ] }, "timestamp": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Timestamp" }, "transcript": { "title": "Transcript", "type": "string" } }, "required": [ "sort_key", "transcript", "channel" ], "title": "CapturedAudioTranscriptArrayOutputItem", "type": "object" }, "CoreApi__CapturedAudioTranscriptProvider": { "enum": [ "ASSEMBLY_AI", "ASSEMBLY_AI_PRERECORDED", "ASSEMBLY_AI_STREAMING", "APPLE_SPEECH" ], "title": "CapturedAudioTranscriptProvider", "type": "string" }, "CoreApi__CapturedAudioTranscriptSpeakerAudioSource": { "enum": [ "unknown", "local_microphone", "system_audio" ], "title": "CapturedAudioTranscriptSpeakerAudioSource", "type": "string" }, "CoreApi__CapturedAudioTranscriptSpeakerIdentificationContext": { "enum": [ "unknown", "whole_desktop", "meeting_window" ], "title": "CapturedAudioTranscriptSpeakerIdentificationContext", "type": "string" }, "CoreApi__CapturedAudioTranscriptSpeakerIdentificationReason": { "enum": [ "unknown", "legacy_channel", "whole_desktop_recall_host_label", "whole_desktop_recall_guest_label", "whole_desktop_unknown", "meeting_window_platform_participant", "meeting_window_unknown" ], "title": "CapturedAudioTranscriptSpeakerIdentificationReason", "type": "string" }, "CoreApi__CapturedAudioTranscriptSpeakerLabelKind": { "enum": [ "unknown", "generic", "channel" ], "title": "CapturedAudioTranscriptSpeakerLabelKind", "type": "string" }, "CoreApi__CapturedAudioTranscriptSpeakerParticipant": { "additionalProperties": true, "properties": { "email": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Email" }, "extra_data": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Extra Data" }, "id": { "anyOf": [ { "type": "integer" }, { "type": "string" }, { "type": "null" } ], "title": "Id" }, "is_host": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Is Host" }, "is_platform_host": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Is Platform Host" }, "name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Name" }, "platform": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Platform" } }, "title": "CapturedAudioTranscriptSpeakerParticipant", "type": "object" }, "CoreApi__CapturedAudioTranscriptSpeakerVariant": { "enum": [ "unknown", "self", "other" ], "title": "CapturedAudioTranscriptSpeakerVariant", "type": "string" }, "CoreApi__CaptureSourceFacetValue": { "properties": { "capture_sources": { "items": { "$ref": "#/components/schemas/CoreApi__CaptureSourceKind" }, "title": "Capture Sources", "type": "array" } }, "required": [ "capture_sources" ], "title": "CaptureSourceFacetValue", "type": "object" }, "CoreApi__CaptureSourceKind": { "enum": [ "IMPORT", "SMS", "EMAIL", "UNKNOWN" ], "title": "CaptureSourceKind", "type": "string" }, "CoreApi__ChatSettingsPatch": { "properties": { "instructions": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Instructions" } }, "title": "ChatSettingsPatch", "type": "object" }, "CoreApi__ChipSessionPart": { "deprecated": true, "properties": { "client_meta": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Client Meta" }, "kind": { "const": "CHIP", "default": "CHIP", "title": "Kind", "type": "string" }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__NoteChipSessionPartPayload" }, { "$ref": "#/components/schemas/CoreApi__CollectionChipSessionPartPayload" }, { "$ref": "#/components/schemas/CoreApi__WebsiteLinkChipSessionPartPayload" } ], "title": "Payload" } }, "required": [ "payload" ], "title": "ChipSessionPart", "type": "object" }, "CoreApi__ChromeExtensionServiceInfoSchema": { "properties": { "minimum_supported_version": { "title": "Minimum Supported Version", "type": "string" } }, "required": [ "minimum_supported_version" ], "title": "ChromeExtensionServiceInfoSchema", "type": "object" }, "CoreApi__ClientPlatformKind": { "enum": [ "web", "macos", "windows", "ios", "internal", "unknown" ], "title": "ClientPlatformKind", "type": "string" }, "CoreApi__CollectionChipSessionPartPayload": { "properties": { "collection_id": { "format": "uuid", "title": "Collection Id", "type": "string" }, "collection_title": { "title": "Collection Title", "type": "string" }, "kind": { "const": "COLLECTION", "default": "COLLECTION", "title": "Kind", "type": "string" } }, "required": [ "collection_title", "collection_id" ], "title": "CollectionChipSessionPartPayload", "type": "object" }, "CoreApi__CollectionFacetValue": { "properties": { "collection_ids": { "items": { "format": "uuid", "type": "string" }, "title": "Collection Ids", "type": "array" } }, "required": [ "collection_ids" ], "title": "CollectionFacetValue", "type": "object" }, "CoreApi__CollectionRecommendedNotesSearchEngineRequestSchema": { "properties": { "pagination_info": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SearchEnginePaginationManagerSchema" }, { "type": "null" } ] }, "space_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Space Id" } }, "title": "CollectionRecommendedNotesSearchEngineRequestSchema", "type": "object" }, "CoreApi__CollectionRecommendedNotesSearchEngineResponseSchema": { "properties": { "config": { "$ref": "#/components/schemas/CoreApi__SearchEngineResponseConfig" }, "pagination_info": { "$ref": "#/components/schemas/CoreApi__SearchResponsePaginationInfo" }, "results": { "items": { "$ref": "#/components/schemas/CoreApi__OnlyNoteItemsSearchEngineResultSchema" }, "title": "Results", "type": "array" } }, "required": [ "pagination_info", "results", "config" ], "title": "CollectionRecommendedNotesSearchEngineResponseSchema", "type": "object" }, "CoreApi__CollectionSessionMention": { "properties": { "collection_id": { "title": "Collection Id", "type": "string" }, "collection_title": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Collection Title" }, "kind": { "$ref": "#/components/schemas/CoreApi__SessionMentionKind", "default": "COLLECTION" } }, "required": [ "collection_id" ], "title": "CollectionSessionMention", "type": "object" }, "CoreApi__ComboboxSearchErrorResponseSchema": { "properties": { "error": { "title": "Error", "type": "string" }, "message": { "title": "Message", "type": "string" } }, "required": [ "error", "message" ], "title": "ComboboxSearchErrorResponseSchema", "type": "object" }, "CoreApi__ComboboxSearchRequestSchema": { "properties": { "item_kind_filter": { "anyOf": [ { "enum": [ "NOTE", "COLLECTION" ], "type": "string" }, { "type": "null" } ], "title": "Item Kind Filter" }, "limit": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": 10, "title": "Limit" }, "query": { "title": "Query", "type": "string" } }, "required": [ "query" ], "title": "ComboboxSearchRequestSchema", "type": "object" }, "CoreApi__ComboboxSearchResponseSchema": { "properties": { "has_more": { "title": "Has More", "type": "boolean" }, "results": { "items": { "$ref": "#/components/schemas/CoreApi__TypeaheadResult" }, "title": "Results", "type": "array" }, "total_count": { "title": "Total Count", "type": "integer" } }, "required": [ "results", "total_count", "has_more" ], "title": "ComboboxSearchResponseSchema", "type": "object" }, "CoreApi__CompleteNonSkippableTrialOnboardingRequest": { "additionalProperties": false, "properties": { "assignment_id": { "format": "uuid", "title": "Assignment Id", "type": "string" } }, "required": [ "assignment_id" ], "title": "CompleteNonSkippableTrialOnboardingRequest", "type": "object" }, "CoreApi__ConnectedCalendarEventListResponseSchema": { "properties": { "results": { "items": { "$ref": "#/components/schemas/CoreApi__ConnectedCalendarEventResponseSchema" }, "title": "Results", "type": "array" }, "total": { "title": "Total", "type": "integer" } }, "required": [ "results", "total" ], "title": "ConnectedCalendarEventListResponseSchema", "type": "object" }, "CoreApi__ConnectedCalendarEventMeetingBriefingResponseSchema": { "properties": { "calendar_event_id": { "format": "uuid", "title": "Calendar Event Id", "type": "string" }, "generated_at": { "format": "date-time", "title": "Generated At", "type": "string" }, "markdown": { "title": "Markdown", "type": "string" }, "reasoning": { "title": "Reasoning", "type": "string" }, "timing": { "$ref": "#/components/schemas/CoreApi__MeetingBriefingTimingSchema" }, "tool_calls": { "items": { "$ref": "#/components/schemas/CoreApi__MeetingBriefingToolCallSchema" }, "title": "Tool Calls", "type": "array" } }, "required": [ "calendar_event_id", "markdown", "generated_at", "reasoning", "tool_calls", "timing" ], "title": "ConnectedCalendarEventMeetingBriefingResponseSchema", "type": "object" }, "CoreApi__ConnectedCalendarEventResponseSchema": { "properties": { "connected_calendar_id": { "format": "uuid", "title": "Connected Calendar Id", "type": "string" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "end_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "End At" }, "external_event_id": { "title": "External Event Id", "type": "string" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "provider_kind": { "title": "Provider Kind", "type": "string" }, "reconciled_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Reconciled At" }, "self_response_status": { "$ref": "#/components/schemas/CoreApi__CalendarEventAttendeeStatus" }, "start_at": { "format": "date-time", "title": "Start At", "type": "string" }, "updated_at": { "format": "date-time", "title": "Updated At", "type": "string" }, "value": { "additionalProperties": true, "title": "Value", "type": "object" } }, "required": [ "id", "connected_calendar_id", "provider_kind", "external_event_id", "start_at", "end_at", "value", "reconciled_at", "created_at", "updated_at", "self_response_status" ], "title": "ConnectedCalendarEventResponseSchema", "type": "object" }, "CoreApi__ConnectedCalendarListResponseSchema": { "properties": { "results": { "items": { "$ref": "#/components/schemas/CoreApi__ConnectedCalendarResponseSchema" }, "title": "Results", "type": "array" }, "total": { "title": "Total", "type": "integer" } }, "required": [ "results", "total" ], "title": "ConnectedCalendarListResponseSchema", "type": "object" }, "CoreApi__ConnectedCalendarReconcileRequestSchema": { "properties": { "run_sync": { "default": true, "title": "Run Sync", "type": "boolean" } }, "title": "ConnectedCalendarReconcileRequestSchema", "type": "object" }, "CoreApi__ConnectedCalendarReconcileResponseSchema": { "properties": { "message": { "title": "Message", "type": "string" }, "workflow_id": { "title": "Workflow Id", "type": "string" } }, "required": [ "message", "workflow_id" ], "title": "ConnectedCalendarReconcileResponseSchema", "type": "object" }, "CoreApi__ConnectedCalendarRefreshRequestSchema": { "properties": { "run_sync": { "default": false, "title": "Run Sync", "type": "boolean" } }, "title": "ConnectedCalendarRefreshRequestSchema", "type": "object" }, "CoreApi__ConnectedCalendarRefreshResponseSchema": { "properties": { "already_running": { "default": false, "title": "Already Running", "type": "boolean" }, "message": { "title": "Message", "type": "string" }, "workflow_id": { "title": "Workflow Id", "type": "string" } }, "required": [ "message", "workflow_id" ], "title": "ConnectedCalendarRefreshResponseSchema", "type": "object" }, "CoreApi__ConnectedCalendarResponseSchema": { "properties": { "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "external_calendar_id": { "title": "External Calendar Id", "type": "string" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "last_reconciled_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Last Reconciled At" }, "provider_kind": { "title": "Provider Kind", "type": "string" }, "updated_at": { "format": "date-time", "title": "Updated At", "type": "string" }, "value": { "additionalProperties": true, "title": "Value", "type": "object" } }, "required": [ "id", "provider_kind", "external_calendar_id", "value", "last_reconciled_at", "created_at", "updated_at" ], "title": "ConnectedCalendarResponseSchema", "type": "object" }, "CoreApi__ContainsLinkKindFacet": { "properties": { "kind": { "const": "CONTAINS_LINK_KIND", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__LinkKindFacetValue" } }, "required": [ "kind", "value" ], "title": "ContainsLinkKindFacet", "type": "object" }, "CoreApi__ContainsMediaKindFacet": { "properties": { "kind": { "const": "CONTAINS_MEDIA_KIND", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__MediaKindFacetValue" } }, "required": [ "kind", "value" ], "title": "ContainsMediaKindFacet", "type": "object" }, "CoreApi__ConvexAuthTokenRequestSchema": { "properties": { "space_account_id": { "format": "uuid", "title": "Space Account Id", "type": "string" } }, "required": [ "space_account_id" ], "title": "ConvexAuthTokenRequestSchema", "type": "object" }, "CoreApi__ConvexAuthTokenResponseSchema": { "properties": { "expires_at": { "format": "date-time", "title": "Expires At", "type": "string" }, "space_account_id": { "format": "uuid", "title": "Space Account Id", "type": "string" }, "token": { "title": "Token", "type": "string" } }, "required": [ "token", "expires_at", "space_account_id" ], "title": "ConvexAuthTokenResponseSchema", "type": "object" }, "CoreApi__CoreSearchEnginePaginationRequestSchema": { "properties": { "page_size": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Page Size" }, "sort_by": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SearchEngineSortByKind" }, { "type": "null" } ], "title": "Sort By" } }, "title": "CoreSearchEnginePaginationRequestSchema", "type": "object" }, "CoreApi__CreateAssistantRequestSchema": { "properties": { "is_enabled": { "default": true, "title": "Is Enabled", "type": "boolean" } }, "title": "CreateAssistantRequestSchema", "type": "object" }, "CoreApi__CreateCapturedWebsiteRequest": { "properties": { "captured_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Captured At" }, "id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Id" }, "uploaded_file_id": { "format": "uuid", "title": "Uploaded File Id", "type": "string" }, "website_title": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Website Title" }, "website_url": { "title": "Website Url", "type": "string" } }, "required": [ "website_url", "uploaded_file_id" ], "title": "CreateCapturedWebsiteRequest", "type": "object" }, "CoreApi__CreateCapturedWebsiteResponse": { "properties": { "id": { "format": "uuid", "title": "Id", "type": "string" } }, "required": [ "id" ], "title": "CreateCapturedWebsiteResponse", "type": "object" }, "CoreApi__CreateCollectionToolCallArgs": { "properties": { "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description" }, "title": { "title": "Title", "type": "string" } }, "required": [ "title" ], "title": "CreateCollectionToolCallArgs", "type": "object" }, "CoreApi__CreateCollectionToolCallResult": { "properties": { "collection": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__AgentCollectionModel" }, { "type": "null" } ] }, "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "CreateCollectionToolCallResult", "type": "object" }, "CoreApi__CreatedAfterFilter": { "properties": { "kind": { "const": "CREATED_AFTER", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__CreatedAfterFilterValue" } }, "required": [ "kind", "value" ], "title": "CreatedAfterFilter", "type": "object" }, "CoreApi__CreatedAfterFilterValue": { "properties": { "created_after": { "format": "date-time", "title": "Created After", "type": "string" } }, "required": [ "created_after" ], "title": "CreatedAfterFilterValue", "type": "object" }, "CoreApi__CreatedBeforeFilter": { "properties": { "kind": { "const": "CREATED_BEFORE", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__CreatedBeforeFilterValue" } }, "required": [ "kind", "value" ], "title": "CreatedBeforeFilter", "type": "object" }, "CoreApi__CreatedBeforeFilterValue": { "properties": { "created_before": { "format": "date-time", "title": "Created Before", "type": "string" } }, "required": [ "created_before" ], "title": "CreatedBeforeFilterValue", "type": "object" }, "CoreApi__CreatedBySpaceAccountFacet": { "properties": { "kind": { "const": "CREATED_BY_SPACE_ACCOUNT", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__SpaceAccountFacetValue" } }, "required": [ "kind", "value" ], "title": "CreatedBySpaceAccountFacet", "type": "object" }, "CoreApi__CreateDraftNoteToolCallArgs": { "properties": { "draft_note": { "title": "Draft Note", "type": "string" } }, "required": [ "draft_note" ], "title": "CreateDraftNoteToolCallArgs", "type": "object" }, "CoreApi__CreateDraftNoteToolCallResult": { "properties": { "draft_note": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Draft Note" }, "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "CreateDraftNoteToolCallResult", "type": "object" }, "CoreApi__CreateEmailIntegrationSenderRequestSchema": { "properties": { "email": { "title": "Email", "type": "string" } }, "required": [ "email" ], "title": "CreateEmailIntegrationSenderRequestSchema", "type": "object" }, "CoreApi__CreateFactCardToolCallArgs": { "properties": { "fact_label": { "title": "Fact Label", "type": "string" }, "fact_source": { "title": "Fact Source", "type": "string" }, "fact_value": { "title": "Fact Value", "type": "string" } }, "required": [ "fact_label", "fact_value", "fact_source" ], "title": "CreateFactCardToolCallArgs", "type": "object" }, "CoreApi__CreateFactCardToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "fact_label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Fact Label" }, "fact_source": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Fact Source" }, "fact_value": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Fact Value" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "CreateFactCardToolCallResult", "type": "object" }, "CoreApi__CreateNoteToolCallArgs": { "properties": { "content": { "title": "Content", "type": "string" }, "source_web_clip_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Source Web Clip Id" } }, "required": [ "content" ], "title": "CreateNoteToolCallArgs", "type": "object" }, "CoreApi__CreateNoteToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "note": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__AgentNoteModel" }, { "type": "null" } ] }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "CreateNoteToolCallResult", "type": "object" }, "CoreApi__CreateSessionEventOptionsSchema": { "properties": { "get_or_create_session": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SessionGetOrCreateConfigSchema" }, { "type": "null" } ] } }, "title": "CreateSessionEventOptionsSchema", "type": "object" }, "CoreApi__CreateSessionEventRequestSchema": { "properties": { "effect_config": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Effect Config" }, "id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Id" }, "kind": { "$ref": "#/components/schemas/CoreApi__SessionEventKind" }, "locally_created_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Locally Created At" }, "options": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CreateSessionEventOptionsSchema" }, { "type": "null" } ] }, "session_id": { "format": "uuid", "title": "Session Id", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__AnySessionEventValue" } }, "required": [ "session_id", "kind", "value" ], "title": "CreateSessionEventRequestSchema", "type": "object" }, "CoreApi__CreateSharedItemInviteRequestSchema": { "properties": { "expires_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Expires At" }, "invitee_email": { "title": "Invitee Email", "type": "string" }, "role": { "$ref": "#/components/schemas/CoreApi__AssignableSyncScopeRoleKind" }, "shared_item_id": { "format": "uuid", "title": "Shared Item Id", "type": "string" }, "shared_item_kind": { "$ref": "#/components/schemas/CoreApi__SharedItemKind" } }, "required": [ "shared_item_id", "shared_item_kind", "invitee_email", "role" ], "title": "CreateSharedItemInviteRequestSchema", "type": "object" }, "CoreApi__CreateStripeCheckoutSessionRequestSchema": { "properties": { "billing_strategy": { "$ref": "#/components/schemas/CoreApi__StripeSubscriptionBillingStrategy" }, "cancel_url": { "format": "uri", "maxLength": 2083, "minLength": 1, "title": "Cancel Url", "type": "string" }, "client_reference_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Client Reference Id" }, "plan_kind": { "$ref": "#/components/schemas/CoreApi__BillingPlanKind", "default": "pro" }, "plan_variant": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__BillingPlanVariant" }, { "type": "null" } ] }, "return_url": { "anyOf": [ { "format": "uri", "maxLength": 2083, "minLength": 1, "type": "string" }, { "type": "null" } ], "title": "Return Url" }, "success_url": { "format": "uri", "maxLength": 2083, "minLength": 1, "title": "Success Url", "type": "string" } }, "required": [ "success_url", "cancel_url", "billing_strategy" ], "title": "CreateStripeCheckoutSessionRequestSchema", "type": "object" }, "CoreApi__CreateStripeCheckoutSessionResponseSchema": { "properties": { "already_paid": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Already Paid" }, "provider": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__BillingProvider" }, { "type": "null" } ] }, "stripe_billing_portal_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Stripe Billing Portal Url" }, "stripe_checkout_session_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Stripe Checkout Session Url" } }, "title": "CreateStripeCheckoutSessionResponseSchema", "type": "object" }, "CoreApi__CreateUploadedFileRequest": { "properties": { "file_size_bytes": { "title": "File Size Bytes", "type": "integer" }, "filename": { "title": "Filename", "type": "string" }, "id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Id" }, "mime_type": { "title": "Mime Type", "type": "string" }, "uploaded_file_url": { "title": "Uploaded File Url", "type": "string" } }, "required": [ "filename", "mime_type", "file_size_bytes", "uploaded_file_url" ], "title": "CreateUploadedFileRequest", "type": "object" }, "CoreApi__CreateUploadedFileResponse": { "properties": { "id": { "format": "uuid", "title": "Id", "type": "string" } }, "required": [ "id" ], "title": "CreateUploadedFileResponse", "type": "object" }, "CoreApi__CreateWebClipRequest": { "properties": { "captured_website_id": { "format": "uuid", "title": "Captured Website Id", "type": "string" }, "clipped_image_uploaded_file_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Clipped Image Uploaded File Id" }, "clipped_text_content": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Clipped Text Content" }, "id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Id" }, "timestamp": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Timestamp" } }, "required": [ "captured_website_id" ], "title": "CreateWebClipRequest", "type": "object" }, "CoreApi__CreateWebClipResponse": { "properties": { "web_clip_id": { "format": "uuid", "title": "Web Clip Id", "type": "string" } }, "required": [ "web_clip_id" ], "title": "CreateWebClipResponse", "type": "object" }, "CoreApi__CreateWebClipStagingRequest": { "properties": { "captured_website_id": { "format": "uuid", "title": "Captured Website Id", "type": "string" }, "clipped_rich_text_content": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Clipped Rich Text Content" }, "clipped_text_content": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Clipped Text Content" }, "html_uploaded_file_id": { "format": "uuid", "title": "Html Uploaded File Id", "type": "string" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "preview_thumbnail_uploaded_file_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Preview Thumbnail Uploaded File Id" }, "preview_uploaded_file_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Preview Uploaded File Id" }, "session_id": { "format": "uuid", "title": "Session Id", "type": "string" }, "timestamp": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Timestamp" }, "web_clip_id": { "format": "uuid", "title": "Web Clip Id", "type": "string" }, "website_title": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Website Title" }, "website_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Website Url" } }, "required": [ "id", "session_id", "captured_website_id", "web_clip_id", "html_uploaded_file_id" ], "title": "CreateWebClipStagingRequest", "type": "object" }, "CoreApi__CreateWebClipStagingResponse": { "properties": { "captured_website_id": { "format": "uuid", "title": "Captured Website Id", "type": "string" }, "staging_id": { "format": "uuid", "title": "Staging Id", "type": "string" }, "status": { "title": "Status", "type": "string" }, "web_clip_id": { "format": "uuid", "title": "Web Clip Id", "type": "string" } }, "required": [ "staging_id", "captured_website_id", "web_clip_id", "status" ], "title": "CreateWebClipStagingResponse", "type": "object" }, "CoreApi__DataExportDownloadURLResponseSchema": { "properties": { "url": { "title": "Url", "type": "string" } }, "required": [ "url" ], "title": "DataExportDownloadURLResponseSchema", "type": "object" }, "CoreApi__DeleteAccountResponse": { "additionalProperties": false, "properties": { "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "DeleteAccountResponse", "type": "object" }, "CoreApi__DeleteCollectionToolCallArgs": { "properties": { "collection_id": { "title": "Collection Id", "type": "string" } }, "required": [ "collection_id" ], "title": "DeleteCollectionToolCallArgs", "type": "object" }, "CoreApi__DeleteCollectionToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "DeleteCollectionToolCallResult", "type": "object" }, "CoreApi__DeleteEmailIntegrationSenderResponseSchema": { "properties": { "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "DeleteEmailIntegrationSenderResponseSchema", "type": "object" }, "CoreApi__DismissIcpRfiResponseSchema": { "properties": { "onboarding_info": { "additionalProperties": true, "description": "Updated onboarding info", "title": "Onboarding Info", "type": "object" } }, "required": [ "onboarding_info" ], "title": "DismissIcpRfiResponseSchema", "type": "object" }, "CoreApi__DocumentPageContent": { "properties": { "content_type": { "enum": [ "text", "visual" ], "title": "Content Type", "type": "string" }, "page_number": { "title": "Page Number", "type": "integer" }, "plain_text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Plain Text" }, "summary": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Summary" } }, "required": [ "page_number", "content_type" ], "title": "DocumentPageContent", "type": "object" }, "CoreApi__DraftNoteV1SessionPart": { "properties": { "client_meta": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Client Meta" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "kind": { "const": "DRAFT_NOTE_V1", "default": "DRAFT_NOTE_V1", "title": "Kind", "type": "string" }, "markdown_content": { "title": "Markdown Content", "type": "string" } }, "required": [ "id", "markdown_content" ], "title": "DraftNoteV1SessionPart", "type": "object" }, "CoreApi__EmailArtifactInternalResponseSchema": { "properties": { "artifact_kind": { "const": "EMAIL", "title": "Artifact Kind", "type": "string" }, "captured_email_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Captured Email Id" }, "content": { "title": "Content", "type": "string" }, "content_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Content Url" }, "sender_email": { "title": "Sender Email", "type": "string" }, "sender_name": { "title": "Sender Name", "type": "string" }, "sent_at": { "format": "date-time", "title": "Sent At", "type": "string" }, "subject": { "title": "Subject", "type": "string" } }, "required": [ "sender_name", "sender_email", "subject", "sent_at", "artifact_kind", "content" ], "title": "EmailArtifactInternalResponseSchema", "type": "object" }, "CoreApi__EmailIntegrationSenderSchema": { "properties": { "email": { "title": "Email", "type": "string" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "is_verified": { "title": "Is Verified", "type": "boolean" }, "space_account_id": { "format": "uuid", "title": "Space Account Id", "type": "string" } }, "required": [ "id", "space_account_id", "email", "is_verified" ], "title": "EmailIntegrationSenderSchema", "type": "object" }, "CoreApi__EmailIntegrationSettingsFormattingMode": { "enum": [ "simple", "smart" ], "title": "EmailIntegrationSettingsFormattingMode", "type": "string" }, "CoreApi__EmailIntegrationSettingsResponseSchema": { "properties": { "formatting_instructions": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Formatting Instructions" }, "formatting_mode": { "$ref": "#/components/schemas/CoreApi__EmailIntegrationSettingsFormattingMode" }, "organizing_instructions": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Organizing Instructions" }, "organizing_manual_collections": { "anyOf": [ { "items": { "format": "uuid", "type": "string" }, "type": "array" }, { "type": "null" } ], "title": "Organizing Manual Collections" }, "organizing_manual_enabled": { "title": "Organizing Manual Enabled", "type": "boolean" }, "organizing_smart_enabled": { "title": "Organizing Smart Enabled", "type": "boolean" }, "space_account_id": { "format": "uuid", "title": "Space Account Id", "type": "string" } }, "required": [ "space_account_id", "formatting_mode", "formatting_instructions", "organizing_manual_enabled", "organizing_smart_enabled", "organizing_manual_collections", "organizing_instructions" ], "title": "EmailIntegrationSettingsResponseSchema", "type": "object" }, "CoreApi__EmailPasswordLoginRequest": { "properties": { "email_address": { "format": "email", "title": "Email Address", "type": "string" }, "password": { "minLength": 1, "title": "Password", "type": "string" } }, "required": [ "email_address", "password" ], "title": "EmailPasswordLoginRequest", "type": "object" }, "CoreApi__EmailSenderAllowlistEntrySchema": { "properties": { "kind": { "title": "Kind", "type": "string" }, "value": { "title": "Value", "type": "string" } }, "required": [ "kind", "value" ], "title": "EmailSenderAllowlistEntrySchema", "type": "object" }, "CoreApi__EmailSenderAllowlistResponseSchema": { "properties": { "assistant_id": { "format": "uuid", "title": "Assistant Id", "type": "string" }, "email_sender_allowlist": { "items": { "$ref": "#/components/schemas/CoreApi__EmailSenderAllowlistEntrySchema" }, "title": "Email Sender Allowlist", "type": "array" } }, "required": [ "assistant_id", "email_sender_allowlist" ], "title": "EmailSenderAllowlistResponseSchema", "type": "object" }, "CoreApi__ExtendProcessingTimeoutRequestSchema": { "properties": { "timeout_seconds": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Timeout Seconds" } }, "title": "ExtendProcessingTimeoutRequestSchema", "type": "object" }, "CoreApi__FactCardV1SessionPart": { "properties": { "client_meta": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Client Meta" }, "fact_label": { "title": "Fact Label", "type": "string" }, "fact_source": { "title": "Fact Source", "type": "string" }, "fact_value": { "title": "Fact Value", "type": "string" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "kind": { "const": "FACT_CARD_V1", "default": "FACT_CARD_V1", "title": "Kind", "type": "string" } }, "required": [ "id", "fact_label", "fact_value", "fact_source" ], "title": "FactCardV1SessionPart", "type": "object" }, "CoreApi__FeatureEnrollmentLinkResponseSchema": { "properties": { "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "created_by_account_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Created By Account Id" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description" }, "disabled_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Disabled At" }, "expires_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Expires At" }, "feature_enrollment_link_url": { "title": "Feature Enrollment Link Url", "type": "string" }, "feature_flag_key": { "title": "Feature Flag Key", "type": "string" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "is_disabled": { "title": "Is Disabled", "type": "boolean" }, "max_enrollments": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Max Enrollments" }, "metadata_json": { "additionalProperties": true, "title": "Metadata Json", "type": "object" }, "redirect_path": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Redirect Path" }, "slug": { "title": "Slug", "type": "string" }, "title": { "title": "Title", "type": "string" }, "updated_at": { "format": "date-time", "title": "Updated At", "type": "string" } }, "required": [ "id", "feature_flag_key", "slug", "title", "description", "redirect_path", "feature_enrollment_link_url", "expires_at", "max_enrollments", "is_disabled", "disabled_at", "created_by_account_id", "metadata_json", "created_at", "updated_at" ], "title": "FeatureEnrollmentLinkResponseSchema", "type": "object" }, "CoreApi__FeatureEnrollmentResponseSchema": { "properties": { "accepted_at": { "format": "date-time", "title": "Accepted At", "type": "string" }, "accepted_by_account_id": { "format": "uuid", "title": "Accepted By Account Id", "type": "string" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "feature_enrollment_link_id": { "format": "uuid", "title": "Feature Enrollment Link Id", "type": "string" }, "feature_flag_key": { "title": "Feature Flag Key", "type": "string" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "revoked_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Revoked At" }, "revoked_by_account_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Revoked By Account Id" }, "space_account_id": { "format": "uuid", "title": "Space Account Id", "type": "string" }, "status": { "title": "Status", "type": "string" }, "updated_at": { "format": "date-time", "title": "Updated At", "type": "string" } }, "required": [ "id", "feature_enrollment_link_id", "space_account_id", "accepted_by_account_id", "feature_flag_key", "status", "accepted_at", "revoked_at", "revoked_by_account_id", "created_at", "updated_at" ], "title": "FeatureEnrollmentResponseSchema", "type": "object" }, "CoreApi__FeatureFlagsResponseSchema": { "properties": { "flags": { "additionalProperties": { "type": "boolean" }, "title": "Flags", "type": "object" } }, "required": [ "flags" ], "title": "FeatureFlagsResponseSchema", "type": "object" }, "CoreApi__FileSessionPart": { "deprecated": true, "properties": { "client_meta": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Client Meta" }, "file_id": { "format": "uuid", "title": "File Id", "type": "string" }, "file_mime_type": { "title": "File Mime Type", "type": "string" }, "file_name": { "title": "File Name", "type": "string" }, "file_url": { "title": "File Url", "type": "string" }, "kind": { "const": "FILE", "default": "FILE", "title": "Kind", "type": "string" } }, "required": [ "file_id", "file_url", "file_name", "file_mime_type" ], "title": "FileSessionPart", "type": "object" }, "CoreApi__FinalizeAudioRecordingUploadRequestSchema": { "properties": { "associated_note_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Associated Note Id" }, "associated_session_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Associated Session Id" }, "associated_transcript_data": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__AudioRecordingTranscriptDataRequestSchema" }, { "type": "null" } ] }, "audio_recording_merge_intent": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__AudioRecordingMergeIntentRequestSchema" }, { "type": "null" } ] }, "filename": { "title": "Filename", "type": "string" }, "mime_type": { "title": "Mime Type", "type": "string" }, "source_creation_strategy": { "default": "server", "enum": [ "local", "server" ], "title": "Source Creation Strategy", "type": "string" } }, "required": [ "filename", "mime_type" ], "title": "FinalizeAudioRecordingUploadRequestSchema", "type": "object" }, "CoreApi__FindRelatedNotesToolCallArgs": { "properties": { "note_id": { "title": "Note Id", "type": "string" } }, "required": [ "note_id" ], "title": "FindRelatedNotesToolCallArgs", "type": "object" }, "CoreApi__FindRelatedNotesToolCallArgsLegacy": { "properties": { "content": { "title": "Content", "type": "string" }, "note_id": { "title": "Note Id", "type": "string" } }, "required": [ "content", "note_id" ], "title": "FindRelatedNotesToolCallArgsLegacy", "type": "object" }, "CoreApi__FindRelatedNotesToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "notes": { "items": { "$ref": "#/components/schemas/CoreApi__AgentNoteModel" }, "title": "Notes", "type": "array" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "FindRelatedNotesToolCallResult", "type": "object" }, "CoreApi__ForcedUpgradeModalContent": { "additionalProperties": false, "properties": { "macos_action_label": { "title": "Macos Action Label", "type": "string" }, "macos_action_link": { "title": "Macos Action Link", "type": "string" }, "macos_description": { "title": "Macos Description", "type": "string" }, "macos_header": { "title": "Macos Header", "type": "string" }, "macos_learn_more_link": { "title": "Macos Learn More Link", "type": "string" }, "web_action_label": { "title": "Web Action Label", "type": "string" }, "web_action_link": { "title": "Web Action Link", "type": "string" }, "web_description": { "title": "Web Description", "type": "string" }, "web_header": { "title": "Web Header", "type": "string" }, "web_learn_more_link": { "title": "Web Learn More Link", "type": "string" }, "windows_action_label": { "title": "Windows Action Label", "type": "string" }, "windows_action_link": { "title": "Windows Action Link", "type": "string" }, "windows_description": { "title": "Windows Description", "type": "string" }, "windows_header": { "title": "Windows Header", "type": "string" }, "windows_learn_more_link": { "title": "Windows Learn More Link", "type": "string" } }, "required": [ "web_header", "web_description", "web_action_label", "web_action_link", "web_learn_more_link", "macos_header", "macos_description", "macos_action_label", "macos_action_link", "macos_learn_more_link", "windows_header", "windows_description", "windows_action_label", "windows_action_link", "windows_learn_more_link" ], "title": "ForcedUpgradeModalContent", "type": "object" }, "CoreApi__FromCaptureSourceFacet": { "properties": { "kind": { "const": "FROM_CAPTURE_SOURCE", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__CaptureSourceFacetValue" } }, "required": [ "kind", "value" ], "title": "FromCaptureSourceFacet", "type": "object" }, "CoreApi__GenerateAssetAccessTokenResponseSchema": { "properties": { "account_id": { "format": "uuid", "title": "Account Id", "type": "string" }, "asset_access_token": { "title": "Asset Access Token", "type": "string" }, "expires_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Expires At" } }, "required": [ "account_id", "asset_access_token", "expires_at" ], "title": "GenerateAssetAccessTokenResponseSchema", "type": "object" }, "CoreApi__GenerateSignedFileUploadUrlForPublicUploadsRequestSchema": { "properties": { "file_id": { "format": "uuid", "title": "File Id", "type": "string" }, "file_mime_type": { "title": "File Mime Type", "type": "string" }, "file_name": { "title": "File Name", "type": "string" } }, "required": [ "file_id", "file_mime_type", "file_name" ], "title": "GenerateSignedFileUploadUrlForPublicUploadsRequestSchema", "type": "object" }, "CoreApi__GenerateSignedFileUploadUrlRequestSchema": { "properties": { "file_id": { "format": "uuid", "title": "File Id", "type": "string" }, "file_mime_type": { "title": "File Mime Type", "type": "string" }, "file_name": { "title": "File Name", "type": "string" } }, "required": [ "file_id", "file_mime_type", "file_name" ], "title": "GenerateSignedFileUploadUrlRequestSchema", "type": "object" }, "CoreApi__GenerateSignedFileUploadUrlResponseSchema": { "properties": { "file_id": { "format": "uuid", "title": "File Id", "type": "string" }, "signed_url": { "title": "Signed Url", "type": "string" } }, "required": [ "file_id", "signed_url" ], "title": "GenerateSignedFileUploadUrlResponseSchema", "type": "object" }, "CoreApi__GenerateVoiceResumableSignedUrlRequestSchema": { "properties": { "associated_audio_recording_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Associated Audio Recording Id" }, "captured_audio_id": { "format": "uuid", "title": "Captured Audio Id", "type": "string" }, "filename": { "title": "Filename", "type": "string" }, "mime_type": { "title": "Mime Type", "type": "string" }, "origin": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Origin" }, "transcript_array": { "anyOf": [ { "items": { "$ref": "#/components/schemas/CoreApi__mem__core_api_service__routers__voice__schemas__CapturedAudioTranscriptArrayInputItem" }, "type": "array" }, { "type": "null" } ], "title": "Transcript Array" }, "transcript_provider": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptProvider" }, { "type": "null" } ] }, "transcript_text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Transcript Text" } }, "required": [ "captured_audio_id", "filename", "mime_type" ], "title": "GenerateVoiceResumableSignedUrlRequestSchema", "type": "object" }, "CoreApi__GenerateVoiceResumableSignedUrlResponseSchema": { "properties": { "resumable_upload_url": { "title": "Resumable Upload Url", "type": "string" } }, "required": [ "resumable_upload_url" ], "title": "GenerateVoiceResumableSignedUrlResponseSchema", "type": "object" }, "CoreApi__GenerateVoiceSignedUrlRequestSchema": { "properties": { "captured_audio_id": { "format": "uuid", "title": "Captured Audio Id", "type": "string" }, "filename": { "title": "Filename", "type": "string" }, "mime_type": { "title": "Mime Type", "type": "string" }, "transcript_array": { "anyOf": [ { "items": { "$ref": "#/components/schemas/CoreApi__mem__core_api_service__routers__voice__schemas__CapturedAudioTranscriptArrayInputItem" }, "type": "array" }, { "type": "null" } ], "title": "Transcript Array" }, "transcript_provider": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptProvider" }, { "type": "null" } ] }, "transcript_text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Transcript Text" } }, "required": [ "captured_audio_id", "filename", "mime_type" ], "title": "GenerateVoiceSignedUrlRequestSchema", "type": "object" }, "CoreApi__GenerateVoiceSignedUrlResponseSchema": { "properties": { "upload_url": { "title": "Upload Url", "type": "string" } }, "required": [ "upload_url" ], "title": "GenerateVoiceSignedUrlResponseSchema", "type": "object" }, "CoreApi__GetEmailIntegrationSendersResponseSchema": { "properties": { "senders": { "items": { "$ref": "#/components/schemas/CoreApi__EmailIntegrationSenderSchema" }, "title": "Senders", "type": "array" } }, "required": [ "senders" ], "title": "GetEmailIntegrationSendersResponseSchema", "type": "object" }, "CoreApi__GetHelpCenterInfoToolCallArgs": { "properties": { "query": { "title": "Query", "type": "string" } }, "required": [ "query" ], "title": "GetHelpCenterInfoToolCallArgs", "type": "object" }, "CoreApi__GetHelpCenterInfoToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "help_content": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Help Content" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "GetHelpCenterInfoToolCallResult", "type": "object" }, "CoreApi__GetStripeBillingPortalUrlRequestSchema": { "properties": { "return_url": { "anyOf": [ { "format": "uri", "maxLength": 2083, "minLength": 1, "type": "string" }, { "type": "null" } ], "title": "Return Url" } }, "title": "GetStripeBillingPortalUrlRequestSchema", "type": "object" }, "CoreApi__GetStripeBillingPortalUrlResponseSchema": { "properties": { "stripe_billing_portal_url": { "title": "Stripe Billing Portal Url", "type": "string" } }, "required": [ "stripe_billing_portal_url" ], "title": "GetStripeBillingPortalUrlResponseSchema", "type": "object" }, "CoreApi__GetUserAccountStatisticsToolCallArgs": { "additionalProperties": true, "properties": {}, "title": "GetUserAccountStatisticsToolCallArgs", "type": "object" }, "CoreApi__GetUserAccountStatisticsToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "notes_in_collections": { "default": 0, "title": "Notes In Collections", "type": "integer" }, "notes_in_trash": { "default": 0, "title": "Notes In Trash", "type": "integer" }, "notes_last_24_hours": { "default": 0, "title": "Notes Last 24 Hours", "type": "integer" }, "notes_last_30_days": { "default": 0, "title": "Notes Last 30 Days", "type": "integer" }, "notes_last_7_days": { "default": 0, "title": "Notes Last 7 Days", "type": "integer" }, "success": { "title": "Success", "type": "boolean" }, "total_collections": { "default": 0, "title": "Total Collections", "type": "integer" }, "total_notes": { "default": 0, "title": "Total Notes", "type": "integer" } }, "required": [ "success" ], "title": "GetUserAccountStatisticsToolCallResult", "type": "object" }, "CoreApi__GmailPubSubMessage": { "properties": { "data": { "title": "Data", "type": "string" }, "messageId": { "title": "Messageid", "type": "string" }, "publishTime": { "title": "Publishtime", "type": "string" } }, "required": [ "data", "messageId", "publishTime" ], "title": "GmailPubSubMessage", "type": "object" }, "CoreApi__GmailPubSubRequest": { "properties": { "message": { "$ref": "#/components/schemas/CoreApi__GmailPubSubMessage" }, "subscription": { "title": "Subscription", "type": "string" } }, "required": [ "message", "subscription" ], "title": "GmailPubSubRequest", "type": "object" }, "CoreApi__GoogleCalendarAllSettingsResponseSchema": { "description": "Response schema for all calendar settings across all providers, keyed by subject_id", "properties": { "accounts": { "additionalProperties": { "$ref": "#/components/schemas/CoreApi__GoogleCalendarSettingsResponseSchema" }, "description": "Calendar settings for each account, keyed by google_subject_id", "title": "Accounts", "type": "object" } }, "title": "GoogleCalendarAllSettingsResponseSchema", "type": "object" }, "CoreApi__GoogleCalendarConnectResponseSchema": { "properties": { "authorization_url": { "title": "Authorization Url", "type": "string" }, "scopes": { "items": { "type": "string" }, "title": "Scopes", "type": "array" }, "state": { "title": "State", "type": "string" } }, "required": [ "authorization_url", "state", "scopes" ], "title": "GoogleCalendarConnectResponseSchema", "type": "object" }, "CoreApi__GoogleCalendarEntryConfigSchema": { "properties": { "is_enabled": { "default": false, "title": "Is Enabled", "type": "boolean" } }, "title": "GoogleCalendarEntryConfigSchema", "type": "object" }, "CoreApi__GoogleCalendarEntrySchema": { "properties": { "access_role": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Access Role" }, "background_color": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Background Color" }, "config": { "$ref": "#/components/schemas/CoreApi__GoogleCalendarEntryConfigSchema" }, "id": { "title": "Id", "type": "string" }, "is_primary": { "default": false, "title": "Is Primary", "type": "boolean" }, "summary": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Summary" }, "time_zone": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Time Zone" } }, "required": [ "id" ], "title": "GoogleCalendarEntrySchema", "type": "object" }, "CoreApi__GoogleCalendarOAuthCallbackRequestSchema": { "properties": { "client_kind": { "default": "web", "title": "Client Kind", "type": "string" }, "code": { "title": "Code", "type": "string" }, "code_verifier": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Code Verifier" }, "redirect_uri": { "title": "Redirect Uri", "type": "string" }, "state": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "State" } }, "required": [ "code", "redirect_uri" ], "title": "GoogleCalendarOAuthCallbackRequestSchema", "type": "object" }, "CoreApi__GoogleCalendarSettingsResponseSchema": { "properties": { "calendars": { "items": { "$ref": "#/components/schemas/CoreApi__GoogleCalendarEntrySchema" }, "title": "Calendars", "type": "array" }, "connected_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Connected At" }, "google_account_email": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Google Account Email" }, "google_subject_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Google Subject Id" }, "is_connected": { "title": "Is Connected", "type": "boolean" }, "last_synced_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Last Synced At" }, "revoked_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Revoked At" } }, "required": [ "is_connected", "calendars" ], "title": "GoogleCalendarSettingsResponseSchema", "type": "object" }, "CoreApi__GoogleLoginRequest": { "properties": { "client_kind": { "$ref": "#/components/schemas/CoreApi__GoogleOAuthClientKind" }, "google_oauth_code": { "minLength": 1, "title": "Google Oauth Code", "type": "string" }, "redirect_uri": { "minLength": 1, "title": "Redirect Uri", "type": "string" } }, "required": [ "google_oauth_code", "client_kind", "redirect_uri" ], "title": "GoogleLoginRequest", "type": "object" }, "CoreApi__GoogleOAuthClientKind": { "enum": [ "MEM_WEB_CLIENT", "MEM_ATLAS_WEB_CLIENT", "MEM_IOS_CLIENT", "MEM_ADMIN_PORTAL_CLIENT" ], "title": "GoogleOAuthClientKind", "type": "string" }, "CoreApi__GoogleSignupRequest": { "properties": { "client_kind": { "$ref": "#/components/schemas/CoreApi__GoogleOAuthClientKind" }, "google_oauth_code": { "minLength": 1, "title": "Google Oauth Code", "type": "string" }, "profile_display_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Profile Display Name" }, "profile_email_address": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "format": "email", "title": "Profile Email Address" }, "profile_photo_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "format": "uri", "title": "Profile Photo Url" }, "redirect_uri": { "minLength": 1, "title": "Redirect Uri", "type": "string" } }, "required": [ "google_oauth_code", "client_kind", "redirect_uri" ], "title": "GoogleSignupRequest", "type": "object" }, "CoreApi__HuddleErrorResponseSchema": { "properties": { "detail": { "title": "Detail", "type": "string" } }, "required": [ "detail" ], "title": "HuddleErrorResponseSchema", "type": "object" }, "CoreApi__HuddleSessionResponseSchema": { "properties": { "ended_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Ended At" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "provider": { "title": "Provider", "type": "string" }, "provider_model": { "title": "Provider Model", "type": "string" }, "provider_session_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Provider Session Id" }, "started_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Started At" }, "status": { "title": "Status", "type": "string" }, "voice": { "title": "Voice", "type": "string" } }, "required": [ "id", "status", "provider", "provider_model", "voice" ], "title": "HuddleSessionResponseSchema", "type": "object" }, "CoreApi__HydratedCollectionEntitySchema": { "properties": { "id": { "format": "uuid", "title": "Id", "type": "string" }, "kind": { "const": "COLLECTION", "default": "COLLECTION", "title": "Kind", "type": "string" }, "title": { "title": "Title", "type": "string" } }, "required": [ "id", "title" ], "title": "HydratedCollectionEntitySchema", "type": "object" }, "CoreApi__HydratedNoteEntitySchema": { "properties": { "id": { "format": "uuid", "title": "Id", "type": "string" }, "kind": { "const": "NOTE", "default": "NOTE", "title": "Kind", "type": "string" }, "primary_label": { "title": "Primary Label", "type": "string" } }, "required": [ "id", "primary_label" ], "title": "HydratedNoteEntitySchema", "type": "object" }, "CoreApi__ImageSessionPart": { "deprecated": true, "properties": { "client_meta": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Client Meta" }, "image_id": { "format": "uuid", "title": "Image Id", "type": "string" }, "image_mime_type": { "title": "Image Mime Type", "type": "string" }, "image_url": { "title": "Image Url", "type": "string" }, "kind": { "const": "IMAGE", "default": "IMAGE", "title": "Kind", "type": "string" } }, "required": [ "image_id", "image_url", "image_mime_type" ], "title": "ImageSessionPart", "type": "object" }, "CoreApi__InCollectionFacet": { "properties": { "config": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__NegatedFacetConfig" }, { "type": "null" } ] }, "kind": { "const": "IN_COLLECTION", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__CollectionFacetValue" } }, "required": [ "kind", "value" ], "title": "InCollectionFacet", "type": "object" }, "CoreApi__InterruptedToolCallResult": { "properties": { "error": { "const": "interrupted", "default": "interrupted", "title": "Error", "type": "string" }, "success": { "const": false, "default": false, "title": "Success", "type": "boolean" } }, "title": "InterruptedToolCallResult", "type": "object" }, "CoreApi__InterruptV1SessionPart": { "properties": { "client_meta": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Client Meta" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "kind": { "const": "INTERRUPT_V1", "default": "INTERRUPT_V1", "title": "Kind", "type": "string" }, "summary": { "title": "Summary", "type": "string" } }, "required": [ "id", "summary" ], "title": "InterruptV1SessionPart", "type": "object" }, "CoreApi__LegacyApiError": { "properties": { "error_category": { "title": "Error Category", "type": "string" }, "error_metadata": { "$ref": "#/components/schemas/CoreApi__LegacyErrorMetadata" } }, "required": [ "error_category", "error_metadata" ], "title": "LegacyApiError", "type": "object" }, "CoreApi__LegacyErrorMetadata": { "properties": { "error_kind": { "title": "Error Kind", "type": "string" }, "field_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Field Name" }, "message": { "title": "Message", "type": "string" }, "request_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Request Id" } }, "required": [ "error_kind", "message" ], "title": "LegacyErrorMetadata", "type": "object" }, "CoreApi__LinkKind": { "enum": [ "ADOBE_ILLUSTRATOR", "ADOBE_PHOTOSHOP", "AIRBNB", "AIRTABLE", "AMAZON", "ASANA", "DOCUSIGN", "DROPBOX", "ETSY", "FIGMA", "FIGMA_DESIGN", "FIGMA_PROTOTYPE", "GIPHY", "GITHUB", "GITHUB_PULL_REQUEST", "GOOGLE_DOCS", "GOOGLE_DRIVE", "GOOGLE_SHEETS", "GOOGLE_SLIDES", "LINKEDIN", "LOOM", "TWITTER", "TWITTER_PROFILE", "TWEET", "YELP", "YOUTUBE", "UNKNOWN" ], "title": "LinkKind", "type": "string" }, "CoreApi__LinkKindFacetValue": { "properties": { "link_kinds": { "items": { "$ref": "#/components/schemas/CoreApi__LinkKind" }, "title": "Link Kinds", "type": "array" } }, "required": [ "link_kinds" ], "title": "LinkKindFacetValue", "type": "object" }, "CoreApi__LinkPreviewSchema": { "properties": { "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description" }, "image_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Image Url" }, "site_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Site Name" }, "title": { "title": "Title", "type": "string" }, "url": { "title": "Url", "type": "string" } }, "required": [ "url", "title" ], "title": "LinkPreviewSchema", "type": "object" }, "CoreApi__ListAssistantsResponseSchema": { "properties": { "results": { "items": { "$ref": "#/components/schemas/CoreApi__AssistantResponseSchema" }, "title": "Results", "type": "array" }, "total": { "title": "Total", "type": "integer" } }, "required": [ "results", "total" ], "title": "ListAssistantsResponseSchema", "type": "object" }, "CoreApi__MarkdownV1SessionPart": { "properties": { "attachment_references": { "anyOf": [ { "items": { "$ref": "#/components/schemas/CoreApi__AttachmentReference" }, "type": "array" }, { "type": "null" } ], "title": "Attachment References" }, "client_meta": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Client Meta" }, "content": { "title": "Content", "type": "string" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "kind": { "const": "MARKDOWN_V1", "default": "MARKDOWN_V1", "title": "Kind", "type": "string" } }, "required": [ "id", "content" ], "title": "MarkdownV1SessionPart", "type": "object" }, "CoreApi__MatchingVersionTwoModalContent": { "additionalProperties": false, "properties": { "macos_action_label": { "title": "Macos Action Label", "type": "string" }, "macos_action_link": { "title": "Macos Action Link", "type": "string" }, "macos_cancel_action_label": { "title": "Macos Cancel Action Label", "type": "string" }, "macos_description": { "title": "Macos Description", "type": "string" }, "macos_header": { "title": "Macos Header", "type": "string" }, "macos_learn_more_link": { "title": "Macos Learn More Link", "type": "string" }, "web_action_label": { "title": "Web Action Label", "type": "string" }, "web_action_link": { "title": "Web Action Link", "type": "string" }, "web_cancel_action_label": { "title": "Web Cancel Action Label", "type": "string" }, "web_description": { "title": "Web Description", "type": "string" }, "web_header": { "title": "Web Header", "type": "string" }, "web_learn_more_link": { "title": "Web Learn More Link", "type": "string" }, "windows_action_label": { "title": "Windows Action Label", "type": "string" }, "windows_action_link": { "title": "Windows Action Link", "type": "string" }, "windows_cancel_action_label": { "title": "Windows Cancel Action Label", "type": "string" }, "windows_description": { "title": "Windows Description", "type": "string" }, "windows_header": { "title": "Windows Header", "type": "string" }, "windows_learn_more_link": { "title": "Windows Learn More Link", "type": "string" } }, "required": [ "web_header", "web_description", "web_action_label", "web_action_link", "web_learn_more_link", "web_cancel_action_label", "macos_header", "macos_description", "macos_action_label", "macos_action_link", "macos_learn_more_link", "macos_cancel_action_label", "windows_header", "windows_description", "windows_action_label", "windows_action_link", "windows_learn_more_link", "windows_cancel_action_label" ], "title": "MatchingVersionTwoModalContent", "type": "object" }, "CoreApi__MeAccountResponse": { "additionalProperties": false, "properties": { "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "id": { "title": "Id", "type": "string" }, "profile_display_name": { "title": "Profile Display Name", "type": "string" }, "profile_email_address": { "title": "Profile Email Address", "type": "string" }, "profile_photo_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Profile Photo Url" } }, "required": [ "id", "profile_display_name", "profile_email_address", "profile_photo_url", "created_at" ], "title": "MeAccountResponse", "type": "object" }, "CoreApi__MeAuthInfoResponse": { "additionalProperties": false, "properties": { "associated_account_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Associated Account Id" }, "associated_space_account_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Associated Space Account Id" }, "is_admin": { "default": false, "title": "Is Admin", "type": "boolean" }, "profile_display_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Profile Display Name" }, "profile_email_address": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Profile Email Address" } }, "title": "MeAuthInfoResponse", "type": "object" }, "CoreApi__MediaKind": { "enum": [ "IMAGE", "GIF", "VIDEO", "OPENTASK", "TASK", "CODE", "QUOTE", "PDF", "TABLE", "FILE", "LINK", "UNKNOWN" ], "title": "MediaKind", "type": "string" }, "CoreApi__MediaKindFacetValue": { "properties": { "media_kinds": { "items": { "$ref": "#/components/schemas/CoreApi__MediaKind" }, "title": "Media Kinds", "type": "array" } }, "required": [ "media_kinds" ], "title": "MediaKindFacetValue", "type": "object" }, "CoreApi__MeetingBriefingFeedbackRequestSchema": { "properties": { "comment": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Comment" }, "response": { "$ref": "#/components/schemas/CoreApi__MeetingBriefingFeedbackResponseValue" } }, "required": [ "response" ], "title": "MeetingBriefingFeedbackRequestSchema", "type": "object" }, "CoreApi__MeetingBriefingFeedbackResponseSchema": { "properties": { "calendar_event_id": { "format": "uuid", "title": "Calendar Event Id", "type": "string" }, "feedback_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Feedback At" }, "feedback_comment": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Feedback Comment" }, "feedback_response": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Feedback Response" } }, "required": [ "calendar_event_id", "feedback_response", "feedback_comment", "feedback_at" ], "title": "MeetingBriefingFeedbackResponseSchema", "type": "object" }, "CoreApi__MeetingBriefingFeedbackResponseValue": { "enum": [ "UPVOTE", "DOWNVOTE" ], "title": "MeetingBriefingFeedbackResponseValue", "type": "string" }, "CoreApi__MeetingBriefingTimingSchema": { "properties": { "tool_calls": { "title": "Tool Calls", "type": "integer" }, "total_time_seconds": { "title": "Total Time Seconds", "type": "number" } }, "required": [ "tool_calls", "total_time_seconds" ], "title": "MeetingBriefingTimingSchema", "type": "object" }, "CoreApi__MeetingBriefingToolCallSchema": { "properties": { "args": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Args" }, "content_length": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Content Length" }, "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "result_count": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Result Count" }, "timestamp": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Timestamp" }, "tool": { "title": "Tool", "type": "string" } }, "required": [ "tool" ], "title": "MeetingBriefingToolCallSchema", "type": "object" }, "CoreApi__mem__core_api_service__routers__audio_recordings__schemas__CapturedAudioTranscriptArrayInputItem": { "additionalProperties": true, "properties": { "channel": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Channel" }, "disconnected": { "default": false, "title": "Disconnected", "type": "boolean" }, "sort_key": { "title": "Sort Key", "type": "string" }, "speaker_audio_source": { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptSpeakerAudioSource", "default": "unknown" }, "speaker_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Speaker Id" }, "speaker_identification_context": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptSpeakerIdentificationContext" }, { "type": "null" } ] }, "speaker_identification_reason": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptSpeakerIdentificationReason" }, { "type": "null" } ] }, "speaker_label": { "anyOf": [ { "type": "integer" }, { "type": "string" }, { "type": "null" } ], "title": "Speaker Label" }, "speaker_label_kind": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptSpeakerLabelKind" }, { "type": "null" } ] }, "speaker_participant": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptSpeakerParticipant" }, { "type": "null" } ] }, "speaker_variant": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptSpeakerVariant" }, { "type": "null" } ] }, "timestamp": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Timestamp" }, "transcript": { "title": "Transcript", "type": "string" } }, "required": [ "sort_key", "transcript" ], "title": "CapturedAudioTranscriptArrayInputItem", "type": "object" }, "CoreApi__mem__core_api_service__routers__voice__schemas__CapturedAudioTranscriptArrayInputItem": { "additionalProperties": true, "properties": { "channel": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "deprecated": true, "description": "Deprecated. Prefer speaker_participant, speaker_label, speaker_variant, speaker_audio_source, or speaker_id.", "title": "Channel" }, "disconnected": { "default": false, "title": "Disconnected", "type": "boolean" }, "sort_key": { "title": "Sort Key", "type": "string" }, "speaker_audio_source": { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptSpeakerAudioSource", "default": "unknown" }, "speaker_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Speaker Id" }, "speaker_identification_context": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptSpeakerIdentificationContext" }, { "type": "null" } ] }, "speaker_identification_reason": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptSpeakerIdentificationReason" }, { "type": "null" } ] }, "speaker_label": { "anyOf": [ { "type": "integer" }, { "type": "string" }, { "type": "null" } ], "title": "Speaker Label" }, "speaker_label_kind": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptSpeakerLabelKind" }, { "type": "null" } ] }, "speaker_participant": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptSpeakerParticipant" }, { "type": "null" } ] }, "speaker_variant": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CapturedAudioTranscriptSpeakerVariant" }, { "type": "null" } ] }, "timestamp": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Timestamp" }, "transcript": { "title": "Transcript", "type": "string" } }, "required": [ "sort_key", "transcript" ], "title": "CapturedAudioTranscriptArrayInputItem", "type": "object" }, "CoreApi__MemAgentSettingsPatch": { "properties": { "hold_to_talk_key": { "anyOf": [ { "enum": [ "tab", "caps-lock", "right-shift", "right-alt", "right-ctrl", "scroll-lock", "fn" ], "type": "string" }, { "type": "null" } ], "title": "Hold To Talk Key" }, "reminders_callout_dismissed_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Reminders Callout Dismissed At" }, "reminders_callout_is_dismissible": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Reminders Callout Is Dismissible" } }, "title": "MemAgentSettingsPatch", "type": "object" }, "CoreApi__MemItApiRequestExternalInputPayload": { "properties": { "api_request_id": { "title": "Api Request Id", "type": "string" }, "kind": { "const": "MEM_IT_API_REQUEST", "default": "MEM_IT_API_REQUEST", "title": "Kind", "type": "string" } }, "required": [ "api_request_id" ], "title": "MemItApiRequestExternalInputPayload", "type": "object" }, "CoreApi__MessageSessionPart": { "deprecated": true, "properties": { "client_meta": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Client Meta" }, "kind": { "const": "MESSAGE", "default": "MESSAGE", "title": "Kind", "type": "string" }, "parts": { "items": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__TextSessionPart" }, { "$ref": "#/components/schemas/CoreApi__ChipSessionPart" }, { "$ref": "#/components/schemas/CoreApi__ImageSessionPart" }, { "$ref": "#/components/schemas/CoreApi__FileSessionPart" }, { "$ref": "#/components/schemas/CoreApi__WebClipSessionPart" }, { "$ref": "#/components/schemas/CoreApi__MarkdownV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__WebClipV1SessionPart" } ] }, "title": "Parts", "type": "array" } }, "required": [ "parts" ], "title": "MessageSessionPart", "type": "object" }, "CoreApi__MessageUserToolCallArgs": { "properties": { "message": { "title": "Message", "type": "string" } }, "required": [ "message" ], "title": "MessageUserToolCallArgs", "type": "object" }, "CoreApi__MessageUserToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "MessageUserToolCallResult", "type": "object" }, "CoreApi__ModifiedAfterFilter": { "properties": { "kind": { "const": "MODIFIED_AFTER", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__ModifiedAfterFilterValue" } }, "required": [ "kind", "value" ], "title": "ModifiedAfterFilter", "type": "object" }, "CoreApi__ModifiedAfterFilterValue": { "properties": { "modified_after": { "format": "date-time", "title": "Modified After", "type": "string" } }, "required": [ "modified_after" ], "title": "ModifiedAfterFilterValue", "type": "object" }, "CoreApi__ModifiedBeforeFilter": { "properties": { "kind": { "const": "MODIFIED_BEFORE", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__ModifiedBeforeFilterValue" } }, "required": [ "kind", "value" ], "title": "ModifiedBeforeFilter", "type": "object" }, "CoreApi__ModifiedBeforeFilterValue": { "properties": { "modified_before": { "format": "date-time", "title": "Modified Before", "type": "string" } }, "required": [ "modified_before" ], "title": "ModifiedBeforeFilterValue", "type": "object" }, "CoreApi__ModifiedBySpaceAccountFacet": { "properties": { "kind": { "const": "MODIFIED_BY_SPACE_ACCOUNT", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__SpaceAccountFacetValue" } }, "required": [ "kind", "value" ], "title": "ModifiedBySpaceAccountFacet", "type": "object" }, "CoreApi__MoveNoteToolCallArgs": { "properties": { "note_id": { "title": "Note Id", "type": "string" }, "source_collection_id": { "title": "Source Collection Id", "type": "string" }, "target_collection_id": { "title": "Target Collection Id", "type": "string" } }, "required": [ "note_id", "source_collection_id", "target_collection_id" ], "title": "MoveNoteToolCallArgs", "type": "object" }, "CoreApi__MoveNoteToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "MoveNoteToolCallResult", "type": "object" }, "CoreApi__NegatedFacetConfig": { "properties": { "negate": { "title": "Negate", "type": "boolean" } }, "required": [ "negate" ], "title": "NegatedFacetConfig", "type": "object" }, "CoreApi__NonSkippableTrialAssignmentResponse": { "additionalProperties": false, "properties": { "assignment_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Assignment Id" }, "can_skip": { "title": "Can Skip", "type": "boolean" }, "experiment_key": { "title": "Experiment Key", "type": "string" }, "onboarding_completed": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Onboarding Completed" }, "source": { "title": "Source", "type": "string" }, "source_key": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Source Key" }, "variant_key": { "title": "Variant Key", "type": "string" } }, "required": [ "experiment_key", "variant_key", "source", "can_skip" ], "title": "NonSkippableTrialAssignmentResponse", "type": "object" }, "CoreApi__NoteArtifactsResponseSchema": { "properties": { "artifacts": { "items": { "$ref": "#/components/schemas/CoreApi__ArtifactResponseSchema" }, "title": "Artifacts", "type": "array" }, "count": { "title": "Count", "type": "integer" } }, "required": [ "artifacts", "count" ], "title": "NoteArtifactsResponseSchema", "type": "object" }, "CoreApi__NoteChipSessionPartPayload": { "properties": { "kind": { "const": "NOTE", "default": "NOTE", "title": "Kind", "type": "string" }, "note_id": { "format": "uuid", "title": "Note Id", "type": "string" }, "note_primary_label": { "title": "Note Primary Label", "type": "string" } }, "required": [ "note_primary_label", "note_id" ], "title": "NoteChipSessionPartPayload", "type": "object" }, "CoreApi__NoteContentArtifactInternalResponseSchema": { "properties": { "artifact_kind": { "const": "NOTE_CONTENT", "title": "Artifact Kind", "type": "string" }, "payload": { "additionalProperties": true, "title": "Payload", "type": "object" } }, "required": [ "payload", "artifact_kind" ], "title": "NoteContentArtifactInternalResponseSchema", "type": "object" }, "CoreApi__NoteContentDocumentSnapshotResponseSchema": { "properties": { "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "editor_context_kind": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Editor Context Kind" }, "editor_on_behalf_of_space_account_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Editor On Behalf Of Space Account Id" }, "editor_space_account_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Editor Space Account Id" }, "encoded_content": { "title": "Encoded Content", "type": "string" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "note_content_document_id": { "format": "uuid", "title": "Note Content Document Id", "type": "string" }, "note_content_document_locally_modified_at": { "format": "date-time", "title": "Note Content Document Locally Modified At", "type": "string" }, "note_content_document_version": { "title": "Note Content Document Version", "type": "integer" }, "primary_label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Primary Label" }, "secondary_label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Secondary Label" } }, "required": [ "id", "created_at", "note_content_document_id", "note_content_document_locally_modified_at", "note_content_document_version", "editor_space_account_id", "encoded_content", "primary_label", "secondary_label" ], "title": "NoteContentDocumentSnapshotResponseSchema", "type": "object" }, "CoreApi__NoteCreatedV1ArtifactPayload": { "properties": { "actor_display_names": { "additionalProperties": { "type": "string" }, "default": {}, "title": "Actor Display Names", "type": "object" }, "attributed_created_by_space_account_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Attributed Created By Space Account Id" }, "created_by_space_account_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Created By Space Account Id" }, "encoded_content": { "title": "Encoded Content", "type": "string" }, "last_modified_by_space_account_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Last Modified By Space Account Id" }, "markdown_content": { "title": "Markdown Content", "type": "string" }, "note_created_at": { "format": "date-time", "title": "Note Created At", "type": "string" }, "note_id": { "format": "uuid", "title": "Note Id", "type": "string" }, "note_locally_created_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Note Locally Created At" }, "note_locally_modified_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Note Locally Modified At" }, "note_quota_created_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Note Quota Created At" }, "note_updated_at": { "format": "date-time", "title": "Note Updated At", "type": "string" }, "owned_by_space_account_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Owned By Space Account Id" }, "primary_label": { "title": "Primary Label", "type": "string" }, "secondary_label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Secondary Label" }, "shared_with_me_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Shared With Me At" }, "shared_with_me_by_space_account_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Shared With Me By Space Account Id" } }, "required": [ "note_id", "note_created_at", "note_updated_at", "encoded_content", "primary_label", "secondary_label", "markdown_content" ], "title": "NoteCreatedV1ArtifactPayload", "type": "object" }, "CoreApi__NoteProcessingErrorResponseSchema": { "properties": { "error_message": { "title": "Error Message", "type": "string" }, "error_type": { "title": "Error Type", "type": "string" } }, "required": [ "error_type", "error_message" ], "title": "NoteProcessingErrorResponseSchema", "type": "object" }, "CoreApi__NoteSearchEngineRequestSchema": { "properties": { "facet_filters": { "items": { "$ref": "#/components/schemas/CoreApi__SearchEngineRequestFacetFilterSchema" }, "title": "Facet Filters", "type": "array" }, "filters": { "items": { "$ref": "#/components/schemas/CoreApi__SearchEngineRequestFilterSchema" }, "title": "Filters", "type": "array" }, "pagination_info": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SearchEnginePaginationManagerSchema" }, { "type": "null" } ] }, "query": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Query" }, "space_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Space Id" } }, "title": "NoteSearchEngineRequestSchema", "type": "object" }, "CoreApi__NoteSessionMention": { "properties": { "kind": { "$ref": "#/components/schemas/CoreApi__SessionMentionKind", "default": "NOTE" }, "note_id": { "title": "Note Id", "type": "string" }, "note_primary_label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Note Primary Label" } }, "required": [ "note_id" ], "title": "NoteSessionMention", "type": "object" }, "CoreApi__NotesSearchEngineResponseSchema": { "properties": { "config": { "$ref": "#/components/schemas/CoreApi__SearchEngineResponseConfig" }, "pagination_info": { "$ref": "#/components/schemas/CoreApi__SearchResponsePaginationInfo" }, "results": { "items": { "$ref": "#/components/schemas/CoreApi__OnlyNoteItemsSearchEngineResultSchema" }, "title": "Results", "type": "array" } }, "required": [ "pagination_info", "results", "config" ], "title": "NotesSearchEngineResponseSchema", "type": "object" }, "CoreApi__NoteSuggestionArtifactInternalResponseSchema": { "properties": { "artifact_kind": { "const": "NOTE_SUGGESTION", "title": "Artifact Kind", "type": "string" }, "kind": { "title": "Kind", "type": "string" }, "metadata": { "additionalProperties": true, "title": "Metadata", "type": "object" }, "note_id": { "format": "uuid", "title": "Note Id", "type": "string" }, "prev_encoded_content": { "title": "Prev Encoded Content", "type": "string" }, "prev_markdown_content": { "title": "Prev Markdown Content", "type": "string" }, "prev_primary_label": { "title": "Prev Primary Label", "type": "string" }, "prev_secondary_label": { "title": "Prev Secondary Label", "type": "string" }, "space_account_id": { "format": "uuid", "title": "Space Account Id", "type": "string" }, "space_account_note_id": { "format": "uuid", "title": "Space Account Note Id", "type": "string" }, "suggested_encoded_content": { "title": "Suggested Encoded Content", "type": "string" }, "suggested_encoded_content_diff": { "title": "Suggested Encoded Content Diff", "type": "string" }, "suggested_markdown_content": { "title": "Suggested Markdown Content", "type": "string" }, "suggested_primary_label": { "title": "Suggested Primary Label", "type": "string" }, "suggested_secondary_label": { "title": "Suggested Secondary Label", "type": "string" } }, "required": [ "space_account_id", "note_id", "space_account_note_id", "kind", "prev_encoded_content", "prev_primary_label", "prev_secondary_label", "prev_markdown_content", "suggested_encoded_content", "suggested_encoded_content_diff", "suggested_primary_label", "suggested_secondary_label", "suggested_markdown_content", "metadata", "artifact_kind" ], "title": "NoteSuggestionArtifactInternalResponseSchema", "type": "object" }, "CoreApi__NoteUpdatedV1ArtifactPayload": { "properties": { "actor_display_names": { "additionalProperties": { "type": "string" }, "default": {}, "title": "Actor Display Names", "type": "object" }, "attributed_created_by_space_account_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Attributed Created By Space Account Id" }, "created_by_space_account_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Created By Space Account Id" }, "encoded_content": { "title": "Encoded Content", "type": "string" }, "encoded_content_diff": { "title": "Encoded Content Diff", "type": "string" }, "last_modified_by_space_account_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Last Modified By Space Account Id" }, "markdown_content": { "title": "Markdown Content", "type": "string" }, "note_created_at": { "format": "date-time", "title": "Note Created At", "type": "string" }, "note_id": { "format": "uuid", "title": "Note Id", "type": "string" }, "note_locally_created_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Note Locally Created At" }, "note_locally_modified_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Note Locally Modified At" }, "note_quota_created_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Note Quota Created At" }, "note_updated_at": { "format": "date-time", "title": "Note Updated At", "type": "string" }, "owned_by_space_account_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Owned By Space Account Id" }, "prev_encoded_content": { "title": "Prev Encoded Content", "type": "string" }, "prev_markdown_content": { "title": "Prev Markdown Content", "type": "string" }, "prev_primary_label": { "title": "Prev Primary Label", "type": "string" }, "prev_secondary_label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Prev Secondary Label" }, "primary_label": { "title": "Primary Label", "type": "string" }, "secondary_label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Secondary Label" }, "shared_with_me_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Shared With Me At" }, "shared_with_me_by_space_account_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Shared With Me By Space Account Id" }, "version": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Version" } }, "required": [ "note_id", "note_created_at", "note_updated_at", "encoded_content", "primary_label", "secondary_label", "markdown_content", "prev_encoded_content", "prev_primary_label", "prev_secondary_label", "prev_markdown_content", "encoded_content_diff", "version" ], "title": "NoteUpdatedV1ArtifactPayload", "type": "object" }, "CoreApi__NotificationPreferenceValidationError": { "additionalProperties": false, "properties": { "notification_preference": { "items": { "type": "string" }, "title": "Notification Preference", "type": "array" } }, "required": [ "notification_preference" ], "title": "NotificationPreferenceValidationError", "type": "object" }, "CoreApi__OAuth2ApplicationResponse": { "properties": { "client_id": { "title": "Client Id", "type": "string" }, "is_trusted": { "title": "Is Trusted", "type": "boolean" }, "name": { "title": "Name", "type": "string" }, "scopes": { "items": { "type": "string" }, "title": "Scopes", "type": "array" } }, "required": [ "client_id", "name", "scopes", "is_trusted" ], "title": "OAuth2ApplicationResponse", "type": "object" }, "CoreApi__OAuth2ConsentRequest": { "properties": { "client_id": { "title": "Client Id", "type": "string" }, "code_challenge": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Code Challenge" }, "code_challenge_method": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Code Challenge Method" }, "redirect_uri": { "title": "Redirect Uri", "type": "string" }, "response_type": { "title": "Response Type", "type": "string" }, "scope": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Scope" }, "state": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "State" } }, "required": [ "client_id", "redirect_uri", "response_type" ], "title": "OAuth2ConsentRequest", "type": "object" }, "CoreApi__OAuth2ErrorResponse": { "properties": { "error": { "title": "Error", "type": "string" }, "error_description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error Description" }, "error_uri": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error Uri" }, "state": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "State" } }, "required": [ "error" ], "title": "OAuth2ErrorResponse", "type": "object" }, "CoreApi__OAuth2IntrospectionResponse": { "properties": { "active": { "title": "Active", "type": "boolean" }, "aud": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "title": "Aud" }, "client_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Client Id" }, "exp": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Exp" }, "iat": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Iat" }, "iss": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Iss" }, "jti": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Jti" }, "scope": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Scope" }, "sub": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Sub" }, "token_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Token Type" } }, "required": [ "active" ], "title": "OAuth2IntrospectionResponse", "type": "object" }, "CoreApi__OAuth2RedirectResponse": { "properties": { "redirect_url": { "title": "Redirect Url", "type": "string" } }, "required": [ "redirect_url" ], "title": "OAuth2RedirectResponse", "type": "object" }, "CoreApi__OAuth2TokenResponse": { "properties": { "access_token": { "title": "Access Token", "type": "string" }, "expires_in": { "title": "Expires In", "type": "integer" }, "refresh_token": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Refresh Token" }, "scope": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Scope" }, "token_type": { "title": "Token Type", "type": "string" } }, "required": [ "access_token", "token_type", "expires_in" ], "title": "OAuth2TokenResponse", "type": "object" }, "CoreApi__OnboardingStateEnum": { "enum": [ "ONBOARDING", "ONBOARDING_COMPLETED", "UNKNOWN" ], "title": "OnboardingStateEnum", "type": "string" }, "CoreApi__OnlyNoteItemsSearchEngineResultSchema": { "properties": { "kind": { "const": "ITEM", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__OnlyNotesSearchEngineResultSectionItemNoteValueSchema" } }, "required": [ "kind", "value" ], "title": "OnlyNoteItemsSearchEngineResultSchema", "type": "object" }, "CoreApi__OnlyNotesSearchEngineResultSectionItemNoteValueSchema": { "properties": { "kind": { "const": "NOTE", "title": "Kind", "type": "string" }, "score": { "$ref": "#/components/schemas/CoreApi__SearchEngineResultScore" }, "value": { "$ref": "#/components/schemas/CoreApi__SearchEngineNoteResultValue" } }, "required": [ "kind", "score", "value" ], "title": "OnlyNotesSearchEngineResultSectionItemNoteValueSchema", "type": "object" }, "CoreApi__OutlookCalendarAllSettingsResponseSchema": { "description": "Response schema for all calendar settings across all providers, keyed by subject_id", "properties": { "accounts": { "additionalProperties": { "$ref": "#/components/schemas/CoreApi__OutlookCalendarSettingsResponseSchema" }, "description": "Calendar settings for each account, keyed by outlook_subject_id", "title": "Accounts", "type": "object" } }, "title": "OutlookCalendarAllSettingsResponseSchema", "type": "object" }, "CoreApi__OutlookCalendarConnectResponseSchema": { "properties": { "authorization_url": { "title": "Authorization Url", "type": "string" }, "scopes": { "items": { "type": "string" }, "title": "Scopes", "type": "array" }, "state": { "title": "State", "type": "string" } }, "required": [ "authorization_url", "state", "scopes" ], "title": "OutlookCalendarConnectResponseSchema", "type": "object" }, "CoreApi__OutlookCalendarEntryConfigSchema": { "properties": { "is_enabled": { "default": false, "title": "Is Enabled", "type": "boolean" } }, "title": "OutlookCalendarEntryConfigSchema", "type": "object" }, "CoreApi__OutlookCalendarEntrySchema": { "properties": { "background_color": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Background Color" }, "can_share": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Can Share" }, "can_view_private_items": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Can View Private Items" }, "color": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Color" }, "config": { "$ref": "#/components/schemas/CoreApi__OutlookCalendarEntryConfigSchema" }, "id": { "title": "Id", "type": "string" }, "is_default": { "default": false, "title": "Is Default", "type": "boolean" }, "name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Name" } }, "required": [ "id" ], "title": "OutlookCalendarEntrySchema", "type": "object" }, "CoreApi__OutlookCalendarOAuthCallbackRequestSchema": { "properties": { "code": { "title": "Code", "type": "string" }, "code_verifier": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Code Verifier" }, "redirect_uri": { "title": "Redirect Uri", "type": "string" }, "state": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "State" } }, "required": [ "code", "redirect_uri" ], "title": "OutlookCalendarOAuthCallbackRequestSchema", "type": "object" }, "CoreApi__OutlookCalendarSettingsResponseSchema": { "properties": { "calendars": { "items": { "$ref": "#/components/schemas/CoreApi__OutlookCalendarEntrySchema" }, "title": "Calendars", "type": "array" }, "connected_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Connected At" }, "is_connected": { "title": "Is Connected", "type": "boolean" }, "last_synced_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Last Synced At" }, "outlook_account_email": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Outlook Account Email" }, "outlook_subject_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Outlook Subject Id" }, "revoked_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Revoked At" } }, "required": [ "is_connected", "calendars" ], "title": "OutlookCalendarSettingsResponseSchema", "type": "object" }, "CoreApi__OwnedBySpaceAccountFacet": { "properties": { "config": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__NegatedFacetConfig" }, { "type": "null" } ] }, "kind": { "const": "OWNED_BY_SPACE_ACCOUNT", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__SpaceAccountFacetValue" } }, "required": [ "kind", "value" ], "title": "OwnedBySpaceAccountFacet", "type": "object" }, "CoreApi__PatchMeAccountRequest": { "additionalProperties": false, "properties": { "profile_display_name": { "anyOf": [ { "maxLength": 64, "minLength": 2, "type": "string" }, { "type": "null" } ], "title": "Profile Display Name" }, "profile_photo_uploaded_file_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Profile Photo Uploaded File Id" } }, "title": "PatchMeAccountRequest", "type": "object" }, "CoreApi__PatchSpaceAccountSettingsRequestSchema": { "properties": { "settings": { "$ref": "#/components/schemas/CoreApi__SpaceAccountSettingsPatch" } }, "required": [ "settings" ], "title": "PatchSpaceAccountSettingsRequestSchema", "type": "object" }, "CoreApi__PatchSpaceAccountSettingsResponseSchema": { "properties": { "model_id": { "format": "uuid", "title": "Model Id", "type": "string" }, "model_version": { "title": "Model Version", "type": "integer" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success", "model_id", "model_version" ], "title": "PatchSpaceAccountSettingsResponseSchema", "type": "object" }, "CoreApi__PatchWebClipIntegrationSettingsRequestSchema": { "properties": { "instructions_enabled": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Instructions Enabled" }, "instructions_markdown_content": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Instructions Markdown Content" }, "selected_model_kind": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__WebClipIntegrationModelKind" }, { "type": "null" } ] } }, "title": "PatchWebClipIntegrationSettingsRequestSchema", "type": "object" }, "CoreApi__PlanId": { "enum": [ "free", "paid" ], "title": "PlanId", "type": "string" }, "CoreApi__PlanKindEnum": { "enum": [ "free", "pro", "proactive", "unknown" ], "title": "PlanKindEnum", "type": "string" }, "CoreApi__PlanVariantEnum": { "enum": [ "standard", "max" ], "title": "PlanVariantEnum", "type": "string" }, "CoreApi__PlatformEntitlements": { "properties": { "expires_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Expires At" }, "is_paid": { "title": "Is Paid", "type": "boolean" }, "is_proactive": { "title": "Is Proactive", "type": "boolean" }, "plan_kind": { "$ref": "#/components/schemas/CoreApi__PlanKindEnum" }, "plan_variant": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__PlanVariantEnum" }, { "type": "null" } ] }, "starts_at": { "format": "date-time", "title": "Starts At", "type": "string" }, "tier": { "$ref": "#/components/schemas/CoreApi__TierEnum" } }, "required": [ "tier", "plan_kind", "starts_at", "expires_at", "is_paid", "is_proactive" ], "title": "PlatformEntitlements", "type": "object" }, "CoreApi__PlatformInfo": { "properties": { "account_state": { "$ref": "#/components/schemas/CoreApi__AccountStateEnum" }, "entitlements": { "$ref": "#/components/schemas/CoreApi__PlatformEntitlements" }, "feature_gate_configs": { "anyOf": [ { "additionalProperties": { "$ref": "#/components/schemas/CoreApi__PlatformInfoFeatureGateConfig" }, "type": "object" }, { "type": "null" } ], "title": "Feature Gate Configs" }, "onboarding_info": { "$ref": "#/components/schemas/CoreApi__PlatformInfoOnboarding" }, "stripe_subscriptions": { "items": { "$ref": "#/components/schemas/CoreApi__PlatformInfoSubscription" }, "title": "Stripe Subscriptions", "type": "array" }, "subscription": { "$ref": "#/components/schemas/CoreApi__PlatformUnifiedSubscription" } }, "required": [ "account_state", "stripe_subscriptions", "onboarding_info", "subscription", "entitlements" ], "title": "PlatformInfo", "type": "object" }, "CoreApi__PlatformInfoFeatureGateConfig": { "properties": { "limits": { "additionalProperties": { "anyOf": [ { "type": "integer" }, { "type": "null" } ] }, "title": "Limits", "type": "object" }, "period": { "title": "Period", "type": "string" } }, "required": [ "period", "limits" ], "title": "PlatformInfoFeatureGateConfig", "type": "object" }, "CoreApi__PlatformInfoOnboarding": { "properties": { "all_tasks_completed_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "All Tasks Completed At" }, "completed_task_ids": { "items": { "type": "string" }, "title": "Completed Task Ids", "type": "array" }, "heads_up_coach_mark_dismissed_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Heads Up Coach Mark Dismissed At" }, "icp_rfi_dismissed_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Icp Rfi Dismissed At" }, "import_cta_dismissed_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Import Cta Dismissed At" }, "onboarding_checklist_is_relevant": { "title": "Onboarding Checklist Is Relevant", "type": "boolean" }, "onboarding_profile": { "$ref": "#/components/schemas/CoreApi__PlatformInfoOnboardingProfile" }, "onboarding_state": { "$ref": "#/components/schemas/CoreApi__OnboardingStateEnum" }, "should_show_heads_up_coach_mark": { "title": "Should Show Heads Up Coach Mark", "type": "boolean" }, "should_show_icp_rfi": { "title": "Should Show Icp Rfi", "type": "boolean" }, "should_show_import_cta": { "title": "Should Show Import Cta", "type": "boolean" } }, "required": [ "onboarding_state", "onboarding_profile", "should_show_import_cta", "import_cta_dismissed_at", "should_show_icp_rfi", "icp_rfi_dismissed_at", "should_show_heads_up_coach_mark", "heads_up_coach_mark_dismissed_at", "onboarding_checklist_is_relevant", "completed_task_ids" ], "title": "PlatformInfoOnboarding", "type": "object" }, "CoreApi__PlatformInfoOnboardingProfile": { "properties": { "desired_use_cases": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "title": "Desired Use Cases" }, "job_role": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Job Role" }, "referrer": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Referrer" } }, "title": "PlatformInfoOnboardingProfile", "type": "object" }, "CoreApi__PlatformInfoSubscription": { "properties": { "id": { "format": "uuid", "title": "Id", "type": "string" }, "stripe_subscription_id": { "title": "Stripe Subscription Id", "type": "string" }, "stripe_subscription_status": { "$ref": "#/components/schemas/CoreApi__StripeSubscriptionStatusEnum" } }, "required": [ "id", "stripe_subscription_id", "stripe_subscription_status" ], "title": "PlatformInfoSubscription", "type": "object" }, "CoreApi__PlatformUnifiedSubscription": { "properties": { "current_period_end": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Current Period End" }, "current_period_start": { "format": "date-time", "title": "Current Period Start", "type": "string" }, "is_paid": { "title": "Is Paid", "type": "boolean" }, "plan_kind": { "$ref": "#/components/schemas/CoreApi__PlanKindEnum" }, "plan_variant": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__PlanVariantEnum" }, { "type": "null" } ] }, "provider": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__ProviderEnum" }, { "type": "null" } ] }, "status": { "$ref": "#/components/schemas/CoreApi__PlatformUnifiedSubscriptionStatusEnum" }, "subscription_ends_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Subscription Ends At" }, "tier": { "$ref": "#/components/schemas/CoreApi__TierEnum" } }, "required": [ "tier", "plan_kind", "plan_variant", "status", "current_period_start", "current_period_end", "subscription_ends_at", "is_paid" ], "title": "PlatformUnifiedSubscription", "type": "object" }, "CoreApi__PlatformUnifiedSubscriptionStatusEnum": { "enum": [ "active", "canceled", "past_due", "unknown" ], "title": "PlatformUnifiedSubscriptionStatusEnum", "type": "string" }, "CoreApi__ProactivePricingAssignmentResponse": { "additionalProperties": false, "properties": { "currency": { "title": "Currency", "type": "string" }, "display_price": { "title": "Display Price", "type": "string" }, "display_price_cents": { "title": "Display Price Cents", "type": "integer" }, "experiment_key": { "title": "Experiment Key", "type": "string" }, "interval": { "title": "Interval", "type": "string" }, "source": { "title": "Source", "type": "string" }, "source_key": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Source Key" }, "variant_key": { "title": "Variant Key", "type": "string" } }, "required": [ "experiment_key", "variant_key", "source", "display_price_cents", "display_price", "currency", "interval" ], "title": "ProactivePricingAssignmentResponse", "type": "object" }, "CoreApi__ProcessAudioRecordingRefineRequestSchema": { "properties": { "associated_note_markdown_content": { "title": "Associated Note Markdown Content", "type": "string" }, "associated_session_id": { "format": "uuid", "title": "Associated Session Id", "type": "string" }, "associated_transcript_data": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__AudioRecordingTranscriptDataRequestSchema" }, { "type": "null" } ] }, "audio_duration_seconds": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Audio Duration Seconds" }, "transcript_content": { "title": "Transcript Content", "type": "string" }, "user_prompt": { "title": "User Prompt", "type": "string" } }, "required": [ "transcript_content", "associated_note_markdown_content", "associated_session_id", "user_prompt" ], "title": "ProcessAudioRecordingRefineRequestSchema", "type": "object" }, "CoreApi__ProcessAudioRecordingRequestSchema": { "properties": { "associated_note_markdown_content": { "title": "Associated Note Markdown Content", "type": "string" }, "associated_session_id": { "format": "uuid", "title": "Associated Session Id", "type": "string" }, "associated_transcript_data": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__AudioRecordingTranscriptDataRequestSchema" }, { "type": "null" } ] }, "audio_duration_seconds": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Audio Duration Seconds" }, "transcript_content": { "title": "Transcript Content", "type": "string" } }, "required": [ "transcript_content", "associated_note_markdown_content", "associated_session_id" ], "title": "ProcessAudioRecordingRequestSchema", "type": "object" }, "CoreApi__ProcessAudioRecordingResponseSchema": { "properties": { "elapsed_seconds": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Elapsed Seconds" }, "strategy": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Strategy" }, "suggested_markdown_content": { "title": "Suggested Markdown Content", "type": "string" } }, "required": [ "suggested_markdown_content" ], "title": "ProcessAudioRecordingResponseSchema", "type": "object" }, "CoreApi__ProcessNoteCleanupRequestSchema": { "properties": { "associated_note_markdown_content": { "title": "Associated Note Markdown Content", "type": "string" }, "associated_session_id": { "format": "uuid", "title": "Associated Session Id", "type": "string" } }, "required": [ "associated_session_id", "associated_note_markdown_content" ], "title": "ProcessNoteCleanupRequestSchema", "type": "object" }, "CoreApi__ProcessNoteCleanupResponseSchema": { "properties": { "elapsed_seconds": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Elapsed Seconds" }, "strategy": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Strategy" }, "suggested_markdown_content": { "title": "Suggested Markdown Content", "type": "string" } }, "required": [ "suggested_markdown_content" ], "title": "ProcessNoteCleanupResponseSchema", "type": "object" }, "CoreApi__ProcessNoteRefineRequestSchema": { "additionalProperties": false, "properties": { "associated_note_markdown_content": { "title": "Associated Note Markdown Content", "type": "string" }, "associated_session_id": { "format": "uuid", "title": "Associated Session Id", "type": "string" }, "refine_request_id": { "format": "uuid", "title": "Refine Request Id", "type": "string" }, "user_prompt": { "title": "User Prompt", "type": "string" } }, "required": [ "refine_request_id", "associated_session_id", "associated_note_markdown_content", "user_prompt" ], "title": "ProcessNoteRefineRequestSchema", "type": "object" }, "CoreApi__ProcessNoteRefineResponseSchema": { "properties": { "elapsed_seconds": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Elapsed Seconds" }, "suggested_markdown_content": { "title": "Suggested Markdown Content", "type": "string" } }, "required": [ "suggested_markdown_content" ], "title": "ProcessNoteRefineResponseSchema", "type": "object" }, "CoreApi__ProcessSessionRequestSchema": { "properties": { "immediate": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Immediate" }, "timeout_seconds": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Timeout Seconds" } }, "title": "ProcessSessionRequestSchema", "type": "object" }, "CoreApi__ProviderEnum": { "enum": [ "STRIPE", "APPLE", "HOUSE", "UNKNOWN" ], "title": "ProviderEnum", "type": "string" }, "CoreApi__QuotaLimitReachedNotificationPayload": { "properties": { "feature": { "title": "Feature", "type": "string" }, "limit": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Limit" }, "used": { "title": "Used", "type": "integer" } }, "required": [ "feature", "used" ], "title": "QuotaLimitReachedNotificationPayload", "type": "object" }, "CoreApi__ReadCollectionToolCallArgs": { "properties": { "collection_id": { "title": "Collection Id", "type": "string" }, "page": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Page" }, "page_size": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Page Size" } }, "required": [ "collection_id" ], "title": "ReadCollectionToolCallArgs", "type": "object" }, "CoreApi__ReadCollectionToolCallResult": { "properties": { "collection": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__AgentCollectionModel" }, { "type": "null" } ] }, "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "has_next_page": { "default": false, "title": "Has Next Page", "type": "boolean" }, "notes": { "items": { "$ref": "#/components/schemas/CoreApi__AgentNoteModel" }, "title": "Notes", "type": "array" }, "page": { "default": 1, "title": "Page", "type": "integer" }, "page_size": { "default": 10, "title": "Page Size", "type": "integer" }, "success": { "title": "Success", "type": "boolean" }, "total_note_count_for_collection": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Total Note Count For Collection" }, "total_pages": { "default": 0, "title": "Total Pages", "type": "integer" } }, "required": [ "success" ], "title": "ReadCollectionToolCallResult", "type": "object" }, "CoreApi__ReadNoteToolCallArgs": { "properties": { "note_id": { "title": "Note Id", "type": "string" }, "version": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Version" } }, "required": [ "note_id" ], "title": "ReadNoteToolCallArgs", "type": "object" }, "CoreApi__ReadNoteToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "note": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__AgentNoteModel" }, { "type": "null" } ] }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "ReadNoteToolCallResult", "type": "object" }, "CoreApi__ReasoningSessionPart": { "deprecated": true, "properties": { "client_meta": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Client Meta" }, "kind": { "const": "REASONING", "default": "REASONING", "title": "Kind", "type": "string" }, "parts": { "items": { "$ref": "#/components/schemas/CoreApi__TextSessionPart" }, "title": "Parts", "type": "array" } }, "required": [ "parts" ], "title": "ReasoningSessionPart", "type": "object" }, "CoreApi__ReasoningV1SessionPart": { "properties": { "client_meta": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Client Meta" }, "collection_ids": { "anyOf": [ { "items": { "format": "uuid", "type": "string" }, "type": "array" }, { "type": "null" } ], "title": "Collection Ids" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "kind": { "const": "REASONING_V1", "default": "REASONING_V1", "title": "Kind", "type": "string" }, "note_ids": { "anyOf": [ { "items": { "format": "uuid", "type": "string" }, "type": "array" }, { "type": "null" } ], "title": "Note Ids" }, "summary": { "title": "Summary", "type": "string" }, "thinking_provider_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Thinking Provider Name" }, "thinking_signature": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Thinking Signature" } }, "required": [ "id", "summary" ], "title": "ReasoningV1SessionPart", "type": "object" }, "CoreApi__RecallSdkRecordingRealtimeEndpoint": { "properties": { "events": { "items": { "type": "string" }, "title": "Events", "type": "array" }, "type": { "title": "Type", "type": "string" } }, "required": [ "type", "events" ], "title": "RecallSdkRecordingRealtimeEndpoint", "type": "object" }, "CoreApi__RecallSdkRecordingTranscript": { "properties": { "diarization": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__RecallSdkRecordingTranscriptDiarization" }, { "type": "null" } ] }, "provider": { "$ref": "#/components/schemas/CoreApi__RecallSdkRecordingTranscriptProvider" } }, "required": [ "provider" ], "title": "RecallSdkRecordingTranscript", "type": "object" }, "CoreApi__RecallSdkRecordingTranscriptDiarization": { "properties": { "use_separate_streams_when_available": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Use Separate Streams When Available" } }, "title": "RecallSdkRecordingTranscriptDiarization", "type": "object" }, "CoreApi__RecallSdkRecordingTranscriptProvider": { "properties": { "assembly_ai_v3_streaming": { "$ref": "#/components/schemas/CoreApi__RecallSdkRecordingTranscriptProviderAssemblyAiV3Streaming" } }, "required": [ "assembly_ai_v3_streaming" ], "title": "RecallSdkRecordingTranscriptProvider", "type": "object" }, "CoreApi__RecallSdkRecordingTranscriptProviderAssemblyAiV3Streaming": { "description": "AssemblyAI options accepted for Recall Desktop SDK transcription.", "properties": { "format_turns": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Format Turns" }, "keyterms_prompt": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "string" }, { "type": "null" } ], "title": "Keyterms Prompt" }, "language_detection": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Language Detection" }, "speech_model": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Speech Model" } }, "title": "RecallSdkRecordingTranscriptProviderAssemblyAiV3Streaming", "type": "object" }, "CoreApi__RecallSdkUploadRecordingConfig": { "properties": { "audio_mixed_mp3": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Audio Mixed Mp3" }, "realtime_endpoints": { "items": { "$ref": "#/components/schemas/CoreApi__RecallSdkRecordingRealtimeEndpoint" }, "title": "Realtime Endpoints", "type": "array" }, "transcript": { "$ref": "#/components/schemas/CoreApi__RecallSdkRecordingTranscript" }, "video_mixed_mp4": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Video Mixed Mp4" } }, "required": [ "transcript", "realtime_endpoints", "video_mixed_mp4", "audio_mixed_mp3" ], "title": "RecallSdkUploadRecordingConfig", "type": "object" }, "CoreApi__RecallSdkUploadRequestSchema": { "properties": { "captured_audio_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Captured Audio Id" }, "note_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Note Id" }, "recording_config": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__RecallSdkUploadRecordingConfig" }, { "type": "null" } ] } }, "title": "RecallSdkUploadRequestSchema", "type": "object" }, "CoreApi__RecallSdkUploadResponseSchema": { "properties": { "expires_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Expires At" }, "sdk_upload_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Sdk Upload Id" }, "upload_token": { "title": "Upload Token", "type": "string" } }, "required": [ "upload_token" ], "title": "RecallSdkUploadResponseSchema", "type": "object" }, "CoreApi__ReceiveIosTransactionRequestSchema": { "properties": { "signedRenewalInfo": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Signedrenewalinfo" }, "signedTransaction": { "title": "Signedtransaction", "type": "string" } }, "required": [ "signedTransaction" ], "title": "ReceiveIosTransactionRequestSchema", "type": "object" }, "CoreApi__ReceiveIosTransactionResponseSchema": { "properties": { "subscription": { "$ref": "#/components/schemas/CoreApi__SubscriptionSyncModelDataResponseSchema" }, "subscription_id": { "format": "uuid", "title": "Subscription Id", "type": "string" } }, "required": [ "subscription_id", "subscription" ], "title": "ReceiveIosTransactionResponseSchema", "type": "object" }, "CoreApi__ReconcileE2EEmailPasswordAuthenticationRequest": { "additionalProperties": false, "properties": { "account_id": { "format": "uuid", "title": "Account Id", "type": "string" }, "email_address": { "title": "Email Address", "type": "string" }, "password": { "maxLength": 128, "minLength": 8, "title": "Password", "type": "string" } }, "required": [ "account_id", "email_address", "password" ], "title": "ReconcileE2EEmailPasswordAuthenticationRequest", "type": "object" }, "CoreApi__ReconcileE2EEmailPasswordAuthenticationResponse": { "properties": { "account_id": { "format": "uuid", "title": "Account Id", "type": "string" }, "email_address": { "title": "Email Address", "type": "string" } }, "required": [ "account_id", "email_address" ], "title": "ReconcileE2EEmailPasswordAuthenticationResponse", "type": "object" }, "CoreApi__RecordReminderShillUpsellAttributionRequestSchema": { "properties": { "generated_reminder_text": { "title": "Generated Reminder Text", "type": "string" }, "note_id": { "format": "uuid", "title": "Note Id", "type": "string" }, "reminder_shill_id": { "format": "uuid", "title": "Reminder Shill Id", "type": "string" }, "source": { "title": "Source", "type": "string" }, "stripe_checkout_session_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Stripe Checkout Session Id" } }, "required": [ "note_id", "reminder_shill_id", "generated_reminder_text", "source" ], "title": "RecordReminderShillUpsellAttributionRequestSchema", "type": "object" }, "CoreApi__RecordReminderShillUpsellAttributionResponseSchema": { "properties": { "captured_at": { "format": "date-time", "title": "Captured At", "type": "string" }, "created": { "title": "Created", "type": "boolean" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success", "id", "created", "captured_at" ], "title": "RecordReminderShillUpsellAttributionResponseSchema", "type": "object" }, "CoreApi__ReferencedEntityMappingSchema": { "properties": { "collections": { "additionalProperties": { "$ref": "#/components/schemas/CoreApi__HydratedCollectionEntitySchema" }, "title": "Collections", "type": "object" }, "notes": { "additionalProperties": { "$ref": "#/components/schemas/CoreApi__HydratedNoteEntitySchema" }, "title": "Notes", "type": "object" } }, "required": [ "notes", "collections" ], "title": "ReferencedEntityMappingSchema", "type": "object" }, "CoreApi__RefineNoteWithHistoryRequestSchema": { "properties": { "session_id": { "format": "uuid", "title": "Session Id", "type": "string" }, "user_prompt": { "title": "User Prompt", "type": "string" } }, "required": [ "session_id", "user_prompt" ], "title": "RefineNoteWithHistoryRequestSchema", "type": "object" }, "CoreApi__RegisterAudioRecordingUploadRequestSchema": { "properties": { "associated_transcript_data": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__AudioRecordingTranscriptDataRequestSchema" }, { "type": "null" } ] }, "filename": { "title": "Filename", "type": "string" }, "mime_type": { "title": "Mime Type", "type": "string" } }, "required": [ "filename", "mime_type" ], "title": "RegisterAudioRecordingUploadRequestSchema", "type": "object" }, "CoreApi__RegisterAudioRecordingUploadResponseSchema": { "properties": { "audio_recording_id": { "format": "uuid", "title": "Audio Recording Id", "type": "string" }, "bucket_name": { "title": "Bucket Name", "type": "string" }, "normalized_filename": { "title": "Normalized Filename", "type": "string" }, "space_account_id": { "format": "uuid", "title": "Space Account Id", "type": "string" } }, "required": [ "bucket_name", "space_account_id", "audio_recording_id", "normalized_filename" ], "title": "RegisterAudioRecordingUploadResponseSchema", "type": "object" }, "CoreApi__RegisterDeviceRequestSchema": { "properties": { "apns_environment": { "$ref": "#/components/schemas/CoreApi__ApplePushNotificationEnvironment", "default": "unknown" }, "app_identifier": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "App Identifier" }, "device_token": { "title": "Device Token", "type": "string" }, "platform_kind": { "$ref": "#/components/schemas/CoreApi__ClientPlatformKind", "default": "ios" }, "provider": { "$ref": "#/components/schemas/CoreApi__ApplePushNotificationProvider", "default": "apns" } }, "required": [ "device_token" ], "title": "RegisterDeviceRequestSchema", "type": "object" }, "CoreApi__RemoveNoteFromCollectionToolCallArgs": { "properties": { "collection_id": { "title": "Collection Id", "type": "string" }, "note_id": { "title": "Note Id", "type": "string" } }, "required": [ "note_id", "collection_id" ], "title": "RemoveNoteFromCollectionToolCallArgs", "type": "object" }, "CoreApi__RemoveNoteFromCollectionToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "RemoveNoteFromCollectionToolCallResult", "type": "object" }, "CoreApi__RenameCollectionToolCallArgs": { "properties": { "collection_id": { "title": "Collection Id", "type": "string" }, "new_title": { "title": "New Title", "type": "string" } }, "required": [ "collection_id", "new_title" ], "title": "RenameCollectionToolCallArgs", "type": "object" }, "CoreApi__RenameCollectionToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "RenameCollectionToolCallResult", "type": "object" }, "CoreApi__RepresentativeSnapshotSummaryResponseSchema": { "properties": { "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "edit_count": { "title": "Edit Count", "type": "integer" }, "editor_context_kind": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Editor Context Kind" }, "editor_on_behalf_of_space_account_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Editor On Behalf Of Space Account Id" }, "editor_space_account_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Editor Space Account Id" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "note_content_document_id": { "format": "uuid", "title": "Note Content Document Id", "type": "string" }, "note_content_document_locally_modified_at": { "format": "date-time", "title": "Note Content Document Locally Modified At", "type": "string" }, "note_content_document_version": { "title": "Note Content Document Version", "type": "integer" } }, "required": [ "id", "created_at", "note_content_document_id", "note_content_document_locally_modified_at", "note_content_document_version", "editor_space_account_id", "edit_count" ], "title": "RepresentativeSnapshotSummaryResponseSchema", "type": "object" }, "CoreApi__RequestEmailIntegrationSenderVerificationResponseSchema": { "properties": { "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "RequestEmailIntegrationSenderVerificationResponseSchema", "type": "object" }, "CoreApi__ResolveLinkPreviewRequest": { "properties": { "url": { "title": "Url", "type": "string" } }, "required": [ "url" ], "title": "ResolveLinkPreviewRequest", "type": "object" }, "CoreApi__ResolveLinkPreviewResponse": { "properties": { "preview": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__LinkPreviewSchema" }, { "type": "null" } ] } }, "required": [ "preview" ], "title": "ResolveLinkPreviewResponse", "type": "object" }, "CoreApi__RestoreNoteToolCallArgs": { "properties": { "note_id": { "title": "Note Id", "type": "string" } }, "required": [ "note_id" ], "title": "RestoreNoteToolCallArgs", "type": "object" }, "CoreApi__RestoreNoteToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "RestoreNoteToolCallResult", "type": "object" }, "CoreApi__RetrieveDocumentPagesToolCallArgs": { "properties": { "attachment_id": { "title": "Attachment Id", "type": "string" }, "page_numbers": { "items": { "type": "integer" }, "title": "Page Numbers", "type": "array" } }, "required": [ "attachment_id", "page_numbers" ], "title": "RetrieveDocumentPagesToolCallArgs", "type": "object" }, "CoreApi__RetrieveDocumentPagesToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "pages": { "items": { "$ref": "#/components/schemas/CoreApi__DocumentPageContent" }, "title": "Pages", "type": "array" }, "success": { "title": "Success", "type": "boolean" }, "truncated": { "default": false, "title": "Truncated", "type": "boolean" } }, "required": [ "success" ], "title": "RetrieveDocumentPagesToolCallResult", "type": "object" }, "CoreApi__SearchEngineAttachmentMatchInfo": { "properties": { "attachment_id": { "format": "uuid", "title": "Attachment Id", "type": "string" }, "attachment_type": { "enum": [ "pdf", "image", "audio_recording", "calendar_event", "email" ], "title": "Attachment Type", "type": "string" }, "attachment_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Attachment Url" }, "filename": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Filename" }, "highlighted_snippets": { "items": { "type": "string" }, "title": "Highlighted Snippets", "type": "array" }, "importance": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Importance" }, "is_semantic_match": { "default": false, "title": "Is Semantic Match", "type": "boolean" }, "match_source": { "enum": [ "text", "visual", "table" ], "title": "Match Source", "type": "string" }, "matched_entities": { "items": { "type": "string" }, "title": "Matched Entities", "type": "array" }, "metadata_json": { "additionalProperties": true, "title": "Metadata Json", "type": "object" }, "page_number": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Page Number" }, "sourcer_kind": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Sourcer Kind" }, "total_pages": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Total Pages" } }, "required": [ "attachment_id", "attachment_type", "match_source" ], "title": "SearchEngineAttachmentMatchInfo", "type": "object" }, "CoreApi__SearchEngineCarouselItem": { "discriminator": { "mapping": { "COLLECTION": "#/components/schemas/CoreApi__SearchEngineCollectionCarouselItem", "NOTE": "#/components/schemas/CoreApi__SearchEngineNoteCarouselItem" }, "propertyName": "kind" }, "oneOf": [ { "$ref": "#/components/schemas/CoreApi__SearchEngineNoteCarouselItem" }, { "$ref": "#/components/schemas/CoreApi__SearchEngineCollectionCarouselItem" } ] }, "CoreApi__SearchEngineCarouselSection": { "properties": { "kind": { "const": "CAROUSEL", "default": "CAROUSEL", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__SearchEngineCarouselValue" } }, "required": [ "value" ], "title": "SearchEngineCarouselSection", "type": "object" }, "CoreApi__SearchEngineCarouselValue": { "properties": { "items": { "items": { "$ref": "#/components/schemas/CoreApi__SearchEngineCarouselItem" }, "title": "Items", "type": "array" } }, "required": [ "items" ], "title": "SearchEngineCarouselValue", "type": "object" }, "CoreApi__SearchEngineCollectionCarouselItem": { "properties": { "kind": { "const": "COLLECTION", "default": "COLLECTION", "title": "Kind", "type": "string" }, "score": { "$ref": "#/components/schemas/CoreApi__SearchEngineResultScore" }, "value": { "$ref": "#/components/schemas/CoreApi__SearchEngineCollectionCarouselItemValue" } }, "required": [ "value", "score" ], "title": "SearchEngineCollectionCarouselItem", "type": "object" }, "CoreApi__SearchEngineCollectionCarouselItemValue": { "properties": { "collection_id": { "format": "uuid", "title": "Collection Id", "type": "string" } }, "required": [ "collection_id" ], "title": "SearchEngineCollectionCarouselItemValue", "type": "object" }, "CoreApi__SearchEngineCollectionItem": { "properties": { "kind": { "const": "COLLECTION", "default": "COLLECTION", "title": "Kind", "type": "string" }, "score": { "$ref": "#/components/schemas/CoreApi__SearchEngineResultScore" }, "value": { "$ref": "#/components/schemas/CoreApi__SearchEngineCollectionResultValue" } }, "required": [ "score", "value" ], "title": "SearchEngineCollectionItem", "type": "object" }, "CoreApi__SearchEngineCollectionResultValue": { "properties": { "collection_id": { "format": "uuid", "title": "Collection Id", "type": "string" } }, "required": [ "collection_id" ], "title": "SearchEngineCollectionResultValue", "type": "object" }, "CoreApi__SearchEngineFacetKind": { "enum": [ "OWNED_BY_SPACE_ACCOUNT", "CREATED_BY_SPACE_ACCOUNT", "MODIFIED_BY_SPACE_ACCOUNT", "IN_COLLECTION", "CONTAINS_LINK_KIND", "CONTAINS_MEDIA_KIND", "FROM_CAPTURE_SOURCE" ], "title": "SearchEngineFacetKind", "type": "string" }, "CoreApi__SearchEngineFilterKind": { "enum": [ "CREATED_BEFORE", "CREATED_AFTER", "MODIFIED_BEFORE", "MODIFIED_AFTER" ], "title": "SearchEngineFilterKind", "type": "string" }, "CoreApi__SearchEngineHeadingSection": { "properties": { "kind": { "const": "HEADING", "default": "HEADING", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__SearchEngineHeadingValue" } }, "required": [ "value" ], "title": "SearchEngineHeadingSection", "type": "object" }, "CoreApi__SearchEngineHeadingValue": { "properties": { "label": { "title": "Label", "type": "string" } }, "required": [ "label" ], "title": "SearchEngineHeadingValue", "type": "object" }, "CoreApi__SearchEngineHighlightedSnippet": { "properties": { "is_highlight": { "title": "Is Highlight", "type": "boolean" }, "is_truncated_end": { "title": "Is Truncated End", "type": "boolean" }, "is_truncated_start": { "title": "Is Truncated Start", "type": "boolean" }, "text": { "title": "Text", "type": "string" } }, "required": [ "text", "is_highlight", "is_truncated_start", "is_truncated_end" ], "title": "SearchEngineHighlightedSnippet", "type": "object" }, "CoreApi__SearchEngineItem": { "discriminator": { "mapping": { "COLLECTION": "#/components/schemas/CoreApi__SearchEngineCollectionItem", "NOTE": "#/components/schemas/CoreApi__SearchEngineNoteItem" }, "propertyName": "kind" }, "oneOf": [ { "$ref": "#/components/schemas/CoreApi__SearchEngineNoteItem" }, { "$ref": "#/components/schemas/CoreApi__SearchEngineCollectionItem" } ] }, "CoreApi__SearchEngineItemSection": { "properties": { "kind": { "const": "ITEM", "default": "ITEM", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__SearchEngineItem" } }, "required": [ "value" ], "title": "SearchEngineItemSection", "type": "object" }, "CoreApi__SearchEngineMetadataSource": { "properties": { "kind": { "title": "Kind", "type": "string" }, "pre_adjusted_score": { "title": "Pre Adjusted Score", "type": "number" }, "raw_score": { "title": "Raw Score", "type": "number" }, "reranker_score": { "title": "Reranker Score", "type": "number" } }, "required": [ "raw_score", "kind", "reranker_score", "pre_adjusted_score" ], "title": "SearchEngineMetadataSource", "type": "object" }, "CoreApi__SearchEngineNoteCarouselItem": { "properties": { "kind": { "const": "NOTE", "default": "NOTE", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__SearchEngineNoteCarouselItemValue" } }, "required": [ "value" ], "title": "SearchEngineNoteCarouselItem", "type": "object" }, "CoreApi__SearchEngineNoteCarouselItemValue": { "properties": { "note_id": { "format": "uuid", "title": "Note Id", "type": "string" } }, "required": [ "note_id" ], "title": "SearchEngineNoteCarouselItemValue", "type": "object" }, "CoreApi__SearchEngineNoteItem": { "properties": { "kind": { "const": "NOTE", "default": "NOTE", "title": "Kind", "type": "string" }, "score": { "$ref": "#/components/schemas/CoreApi__SearchEngineResultScore" }, "value": { "$ref": "#/components/schemas/CoreApi__SearchEngineNoteResultValue" } }, "required": [ "score", "value" ], "title": "SearchEngineNoteItem", "type": "object" }, "CoreApi__SearchEngineNoteResultMetadata": { "properties": { "is_strict_match": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Is Strict Match" }, "is_title_match": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Is Title Match" }, "search_engine_result_id": { "format": "uuid", "title": "Search Engine Result Id", "type": "string" }, "search_session_cursor": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Search Session Cursor" }, "source_debug_info": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SearchEngineMetadataSource" }, { "type": "null" } ] } }, "required": [ "search_engine_result_id", "search_session_cursor" ], "title": "SearchEngineNoteResultMetadata", "type": "object" }, "CoreApi__SearchEngineNoteResultValue": { "properties": { "attachment_match_infos": { "items": { "$ref": "#/components/schemas/CoreApi__SearchEngineAttachmentMatchInfo" }, "title": "Attachment Match Infos", "type": "array" }, "featured_collection_ids": { "items": { "format": "uuid", "type": "string" }, "title": "Featured Collection Ids", "type": "array" }, "highlighted_snippets": { "items": { "$ref": "#/components/schemas/CoreApi__SearchEngineHighlightedSnippet" }, "title": "Highlighted Snippets", "type": "array" }, "metadata": { "$ref": "#/components/schemas/CoreApi__SearchEngineNoteResultMetadata" }, "note_id": { "format": "uuid", "title": "Note Id", "type": "string" } }, "required": [ "note_id", "metadata" ], "title": "SearchEngineNoteResultValue", "type": "object" }, "CoreApi__SearchEnginePaginationManagerSchema": { "properties": { "page_size": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Page Size" }, "sort_by": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SearchEngineSortByKind" }, { "type": "null" } ] } }, "title": "SearchEnginePaginationManagerSchema", "type": "object" }, "CoreApi__SearchEngineRequest": { "properties": { "config": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SearchEngineRequestConfig" }, { "type": "null" } ] }, "facet_filters": { "items": { "$ref": "#/components/schemas/CoreApi__SearchEngineRequestFacetFilter" }, "title": "Facet Filters", "type": "array" }, "filters": { "items": { "$ref": "#/components/schemas/CoreApi__SearchEngineRequestFilter" }, "title": "Filters", "type": "array" }, "pagination_info": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CoreSearchEnginePaginationRequestSchema" }, { "type": "null" } ] }, "query": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Query" }, "space_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Space Id" } }, "title": "SearchEngineRequest", "type": "object" }, "CoreApi__SearchEngineRequestConfig": { "properties": { "supported_section_kinds": { "anyOf": [ { "items": { "$ref": "#/components/schemas/CoreApi__SearchEngineResultSectionKind" }, "type": "array" }, { "type": "null" } ], "title": "Supported Section Kinds" } }, "title": "SearchEngineRequestConfig", "type": "object" }, "CoreApi__SearchEngineRequestFacetFilter": { "discriminator": { "mapping": { "CONTAINS_LINK_KIND": "#/components/schemas/CoreApi__ContainsLinkKindFacet", "CONTAINS_MEDIA_KIND": "#/components/schemas/CoreApi__ContainsMediaKindFacet", "CREATED_BY_SPACE_ACCOUNT": "#/components/schemas/CoreApi__CreatedBySpaceAccountFacet", "FROM_CAPTURE_SOURCE": "#/components/schemas/CoreApi__FromCaptureSourceFacet", "IN_COLLECTION": "#/components/schemas/CoreApi__InCollectionFacet", "MODIFIED_BY_SPACE_ACCOUNT": "#/components/schemas/CoreApi__ModifiedBySpaceAccountFacet", "OWNED_BY_SPACE_ACCOUNT": "#/components/schemas/CoreApi__OwnedBySpaceAccountFacet" }, "propertyName": "kind" }, "oneOf": [ { "$ref": "#/components/schemas/CoreApi__OwnedBySpaceAccountFacet" }, { "$ref": "#/components/schemas/CoreApi__CreatedBySpaceAccountFacet" }, { "$ref": "#/components/schemas/CoreApi__ModifiedBySpaceAccountFacet" }, { "$ref": "#/components/schemas/CoreApi__InCollectionFacet" }, { "$ref": "#/components/schemas/CoreApi__ContainsLinkKindFacet" }, { "$ref": "#/components/schemas/CoreApi__ContainsMediaKindFacet" }, { "$ref": "#/components/schemas/CoreApi__FromCaptureSourceFacet" } ] }, "CoreApi__SearchEngineRequestFacetFilterSchema": { "properties": { "config": { "additionalProperties": true, "title": "Config", "type": "object" }, "kind": { "$ref": "#/components/schemas/CoreApi__SearchEngineFacetKind" }, "value": { "additionalProperties": true, "title": "Value", "type": "object" } }, "required": [ "kind", "value" ], "title": "SearchEngineRequestFacetFilterSchema", "type": "object" }, "CoreApi__SearchEngineRequestFilter": { "discriminator": { "mapping": { "CREATED_AFTER": "#/components/schemas/CoreApi__CreatedAfterFilter", "CREATED_BEFORE": "#/components/schemas/CoreApi__CreatedBeforeFilter", "MODIFIED_AFTER": "#/components/schemas/CoreApi__ModifiedAfterFilter", "MODIFIED_BEFORE": "#/components/schemas/CoreApi__ModifiedBeforeFilter" }, "propertyName": "kind" }, "oneOf": [ { "$ref": "#/components/schemas/CoreApi__CreatedBeforeFilter" }, { "$ref": "#/components/schemas/CoreApi__CreatedAfterFilter" }, { "$ref": "#/components/schemas/CoreApi__ModifiedBeforeFilter" }, { "$ref": "#/components/schemas/CoreApi__ModifiedAfterFilter" } ] }, "CoreApi__SearchEngineRequestFilterSchema": { "properties": { "kind": { "$ref": "#/components/schemas/CoreApi__SearchEngineFilterKind" }, "value": { "additionalProperties": true, "title": "Value", "type": "object" } }, "required": [ "kind", "value" ], "title": "SearchEngineRequestFilterSchema", "type": "object" }, "CoreApi__SearchEngineResponse": { "properties": { "config": { "$ref": "#/components/schemas/CoreApi__SearchEngineResponseConfig" }, "pagination_info": { "$ref": "#/components/schemas/CoreApi__SearchResponsePaginationInfo" }, "results": { "items": { "$ref": "#/components/schemas/CoreApi__SearchEngineResultSection" }, "title": "Results", "type": "array" } }, "required": [ "pagination_info", "results", "config" ], "title": "SearchEngineResponse", "type": "object" }, "CoreApi__SearchEngineResponseConfig": { "properties": { "supported_section_kinds": { "items": { "$ref": "#/components/schemas/CoreApi__SearchEngineResultSectionKind" }, "title": "Supported Section Kinds", "type": "array" } }, "required": [ "supported_section_kinds" ], "title": "SearchEngineResponseConfig", "type": "object" }, "CoreApi__SearchEngineResponseSerializerSearchEngineSessionExpired404": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "error_kind": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SearchEngineResultErrorKind" }, { "type": "null" } ] } }, "title": "SearchEngineResponseSerializerSearchEngineSessionExpired404", "type": "object" }, "CoreApi__SearchEngineResponseSerializerServiceUnavailable": { "properties": { "error_message": { "title": "Error Message", "type": "string" } }, "required": [ "error_message" ], "title": "SearchEngineResponseSerializerServiceUnavailable", "type": "object" }, "CoreApi__SearchEngineResultErrorKind": { "enum": [ "SEARCH_SESSION_NOT_FOUND", "SERVICE_UNAVAILABLE" ], "title": "SearchEngineResultErrorKind", "type": "string" }, "CoreApi__SearchEngineResultScore": { "properties": { "value": { "title": "Value", "type": "number" } }, "required": [ "value" ], "title": "SearchEngineResultScore", "type": "object" }, "CoreApi__SearchEngineResultSection": { "discriminator": { "mapping": { "CAROUSEL": "#/components/schemas/CoreApi__SearchEngineCarouselSection", "HEADING": "#/components/schemas/CoreApi__SearchEngineHeadingSection", "ITEM": "#/components/schemas/CoreApi__SearchEngineItemSection" }, "propertyName": "kind" }, "oneOf": [ { "$ref": "#/components/schemas/CoreApi__SearchEngineItemSection" }, { "$ref": "#/components/schemas/CoreApi__SearchEngineCarouselSection" }, { "$ref": "#/components/schemas/CoreApi__SearchEngineHeadingSection" } ] }, "CoreApi__SearchEngineResultSectionKind": { "enum": [ "ITEM", "CAROUSEL", "HEADING" ], "title": "SearchEngineResultSectionKind", "type": "string" }, "CoreApi__SearchEngineSortByKind": { "enum": [ "RELEVANCE", "LAST_CREATED", "LAST_MODIFIED", "WEBSITE", "SHAPES", "USER", "COLLECTION", "LINK", "UNKNOWN" ], "title": "SearchEngineSortByKind", "type": "string" }, "CoreApi__SearchFeedbackKind": { "enum": [ "UPVOTE", "DOWNVOTE", "CLICK" ], "title": "SearchFeedbackKind", "type": "string" }, "CoreApi__SearchForCollectionsToolCallArgs": { "properties": { "end_date": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "End Date" }, "query_string": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Query String" }, "start_date": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Start Date" } }, "title": "SearchForCollectionsToolCallArgs", "type": "object" }, "CoreApi__SearchForCollectionsToolCallResult": { "properties": { "collections": { "items": { "$ref": "#/components/schemas/CoreApi__AgentCollectionSearchResultModel" }, "title": "Collections", "type": "array" }, "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "SearchForCollectionsToolCallResult", "type": "object" }, "CoreApi__SearchNoteContentDocumentSnapshotsRequestSchema": { "properties": { "limit": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": 10000, "title": "Limit" }, "note_id": { "format": "uuid", "title": "Note Id", "type": "string" }, "offset": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": 0, "title": "Offset" }, "order_by_asc": { "default": false, "title": "Order By Asc", "type": "boolean" } }, "required": [ "note_id" ], "title": "SearchNoteContentDocumentSnapshotsRequestSchema", "type": "object" }, "CoreApi__SearchNoteContentDocumentSnapshotsResponseSchema": { "properties": { "results": { "items": { "$ref": "#/components/schemas/CoreApi__RepresentativeSnapshotSummaryResponseSchema" }, "title": "Results", "type": "array" }, "total": { "title": "Total", "type": "integer" } }, "required": [ "results", "total" ], "title": "SearchNoteContentDocumentSnapshotsResponseSchema", "type": "object" }, "CoreApi__SearchNotesByTimeRangeSessionMention": { "properties": { "end_time": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "End Time" }, "kind": { "$ref": "#/components/schemas/CoreApi__SessionMentionKind", "default": "SEARCH_NOTES_BY_TIME_RANGE" }, "start_time": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Start Time" } }, "title": "SearchNotesByTimeRangeSessionMention", "type": "object" }, "CoreApi__SearchNotesToolCallArgs": { "properties": { "end_date": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "End Date" }, "next_page_cursor": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Next Page Cursor" }, "query_string": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Query String" }, "start_date": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Start Date" } }, "title": "SearchNotesToolCallArgs", "type": "object" }, "CoreApi__SearchNotesToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "has_next_page": { "default": false, "title": "Has Next Page", "type": "boolean" }, "next_page_cursor": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Next Page Cursor" }, "notes": { "items": { "$ref": "#/components/schemas/CoreApi__AgentNoteModel" }, "title": "Notes", "type": "array" }, "page_size": { "default": 10, "title": "Page Size", "type": "integer" }, "success": { "title": "Success", "type": "boolean" }, "total_notes": { "default": 0, "title": "Total Notes", "type": "integer" } }, "required": [ "success" ], "title": "SearchNotesToolCallResult", "type": "object" }, "CoreApi__SearchResponsePaginationInfo": { "properties": { "has_next_page": { "title": "Has Next Page", "type": "boolean" }, "page_size": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Page Size" }, "search_session_cursor": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Search Session Cursor" }, "session_id": { "format": "uuid", "title": "Session Id", "type": "string" }, "sort_by": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SearchEngineSortByKind" }, { "type": "null" } ] } }, "required": [ "search_session_cursor", "has_next_page", "session_id" ], "title": "SearchResponsePaginationInfo", "type": "object" }, "CoreApi__SearchResultFeedbackErrorResponse": { "properties": { "error": { "title": "Error", "type": "string" } }, "required": [ "error" ], "title": "SearchResultFeedbackErrorResponse", "type": "object" }, "CoreApi__SearchResultFeedbackRequest": { "properties": { "feedback_kind": { "$ref": "#/components/schemas/CoreApi__SearchFeedbackKind" }, "search_engine_result_id": { "format": "uuid", "title": "Search Engine Result Id", "type": "string" }, "search_session_page_cursor": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Search Session Page Cursor" }, "session_id": { "format": "uuid", "title": "Session Id", "type": "string" } }, "required": [ "session_id", "search_engine_result_id", "feedback_kind" ], "title": "SearchResultFeedbackRequest", "type": "object" }, "CoreApi__SearchResultFeedbackResponse": { "properties": { "feedback_event_id": { "format": "uuid", "title": "Feedback Event Id", "type": "string" } }, "required": [ "feedback_event_id" ], "title": "SearchResultFeedbackResponse", "type": "object" }, "CoreApi__SearchRouteNotFoundErrorResponseSchema": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "error_kind": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SearchEngineResultErrorKind" }, { "type": "null" } ] } }, "title": "SearchRouteNotFoundErrorResponseSchema", "type": "object" }, "CoreApi__SearchRouteValidationErrorResponseSchema": { "properties": { "error": { "title": "Error", "type": "string" } }, "required": [ "error" ], "title": "SearchRouteValidationErrorResponseSchema", "type": "object" }, "CoreApi__SearchSessionEventsRequestSchema": { "properties": { "filter_by_event_kind": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SessionEventKind" }, { "type": "null" } ] }, "filter_by_locally_created_after": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Filter By Locally Created After" }, "filter_by_locally_created_before": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Filter By Locally Created Before" }, "filter_by_session_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Filter By Session Id" }, "limit": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Limit" }, "offset": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Offset" } }, "title": "SearchSessionEventsRequestSchema", "type": "object" }, "CoreApi__SearchSessionEventsResponseSchema": { "properties": { "references": { "$ref": "#/components/schemas/CoreApi__ReferencedEntityMappingSchema" }, "results": { "items": { "$ref": "#/components/schemas/CoreApi__SessionEventSummaryResponseSchema" }, "title": "Results", "type": "array" }, "total": { "title": "Total", "type": "integer" } }, "required": [ "results", "references", "total" ], "title": "SearchSessionEventsResponseSchema", "type": "object" }, "CoreApi__SearchWithinDocumentToolCallArgs": { "properties": { "attachment_id": { "title": "Attachment Id", "type": "string" }, "query_string": { "title": "Query String", "type": "string" } }, "required": [ "attachment_id", "query_string" ], "title": "SearchWithinDocumentToolCallArgs", "type": "object" }, "CoreApi__SearchWithinDocumentToolCallResult": { "properties": { "answer": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Answer" }, "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "page_references": { "items": { "type": "integer" }, "title": "Page References", "type": "array" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "SearchWithinDocumentToolCallResult", "type": "object" }, "CoreApi__ServiceInfoResponseSchema": { "properties": { "chrome_extension": { "$ref": "#/components/schemas/CoreApi__ChromeExtensionServiceInfoSchema" }, "supported_settings": { "$ref": "#/components/schemas/CoreApi__SupportedSettingsSchema" } }, "required": [ "chrome_extension", "supported_settings" ], "title": "ServiceInfoResponseSchema", "type": "object" }, "CoreApi__SessionArtifactKind": { "enum": [ "EMAIL", "TEXT_MESSAGE", "UPLOADED_FILE", "API_REQUEST", "NOTE_CONTENT", "AUDIO", "WEBSITE_CONTENT", "AUTO_ORGANIZE", "NOTE_SUGGESTION", "AUTO_ORGANIZE_UPDATE_COLLECTIONS", "AUTO_ORGANIZE_CREATE_COLLECTIONS", "CALENDAR_EVENT" ], "title": "SessionArtifactKind", "type": "string" }, "CoreApi__SessionArtifactPartKind": { "enum": [ "NOTE_CREATED_V1", "NOTE_UPDATED_V1" ], "title": "SessionArtifactPartKind", "type": "string" }, "CoreApi__SessionConfigResponseSchema": { "properties": { "enable_agent_digests": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Enable Agent Digests" }, "schema_version": { "title": "Schema Version", "type": "string" }, "variant": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Variant" } }, "required": [ "schema_version" ], "title": "SessionConfigResponseSchema", "type": "object" }, "CoreApi__SessionConfigSchema": { "properties": { "enable_agent_digests": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Enable Agent Digests" }, "schema_version": { "title": "Schema Version", "type": "string" }, "variant": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Variant" } }, "required": [ "schema_version" ], "title": "SessionConfigSchema", "type": "object" }, "CoreApi__SessionConfigVariant": { "enum": [ "STANDARD", "CLAUDE_SONNET_4_6", "GPT_5_2", "GPT_5_4", "GPT_5_6_TERRA", "CLAUDE_SONNET_5", "GEMINI_3_FLASH", "GEMINI_3_1_PRO", "GEMINI_3_5_FLASH" ], "title": "SessionConfigVariant", "type": "string" }, "CoreApi__SessionEventAgentActionV1EventDataSchema": { "properties": { "kind": { "const": "AGENT_ACTION_V1", "title": "Kind", "type": "string" }, "value": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SessionEventAgentActionV1Value" }, { "$ref": "#/components/schemas/CoreApi__SessionEventAgentCommonActionV1Value" } ], "title": "Value" } }, "required": [ "kind", "value" ], "title": "SessionEventAgentActionV1EventDataSchema", "type": "object" }, "CoreApi__SessionEventAgentActionV1Value": { "properties": { "completed_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Completed At" }, "invoked_at": { "format": "date-time", "title": "Invoked At", "type": "string" }, "parts": { "items": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__MessageSessionPart" }, { "$ref": "#/components/schemas/CoreApi__ReasoningSessionPart" }, { "$ref": "#/components/schemas/CoreApi__MarkdownV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__ReasoningV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__InterruptV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__WebClipV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__ArtifactSessionPartV1" }, { "$ref": "#/components/schemas/CoreApi__FactCardV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__DraftNoteV1SessionPart" } ] }, "title": "Parts", "type": "array" }, "tool_call_args": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CreateNoteToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__UpdateNoteToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__CreateCollectionToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__AddNoteToCollectionToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__RemoveNoteFromCollectionToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__MoveNoteToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__SearchForCollectionsToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__SearchNotesToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__FindRelatedNotesToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__FindRelatedNotesToolCallArgsLegacy" }, { "$ref": "#/components/schemas/CoreApi__MessageUserToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__ReadNoteToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__RenameCollectionToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__UpdateCollectionDescriptionToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__ReadCollectionToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__DeleteCollectionToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__TrashNoteToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__RestoreNoteToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__ViewImageToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__CreateFactCardToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__CreateDraftNoteToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__GetHelpCenterInfoToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__GetUserAccountStatisticsToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__SearchWithinDocumentToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__RetrieveDocumentPagesToolCallArgs" } ], "title": "Tool Call Args" }, "tool_call_id": { "title": "Tool Call Id", "type": "string" }, "tool_call_kind": { "$ref": "#/components/schemas/CoreApi__AgentToolCallKind" }, "tool_call_origin": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__ToolCallOrigin" }, { "type": "null" } ] }, "tool_call_result": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__InterruptedToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__CreateNoteToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__UpdateNoteToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__CreateCollectionToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__AddNoteToCollectionToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__RemoveNoteFromCollectionToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__MoveNoteToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__SearchForCollectionsToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__SearchNotesToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__FindRelatedNotesToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__MessageUserToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__ReadNoteToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__UpdateCollectionDescriptionToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__ReadCollectionToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__DeleteCollectionToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__TrashNoteToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__RestoreNoteToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__RenameCollectionToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__ViewImageToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__CreateFactCardToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__CreateDraftNoteToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__GetHelpCenterInfoToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__GetUserAccountStatisticsToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__SearchWithinDocumentToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__RetrieveDocumentPagesToolCallResult" }, { "type": "null" } ], "title": "Tool Call Result" } }, "required": [ "parts", "tool_call_id", "tool_call_kind", "tool_call_args", "tool_call_result", "invoked_at", "completed_at" ], "title": "SessionEventAgentActionV1Value", "type": "object" }, "CoreApi__SessionEventAgentCommonActionV1Value": { "properties": { "action_schema": { "const": "common_tool_call_v1", "default": "common_tool_call_v1", "title": "Action Schema", "type": "string" }, "completed_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Completed At" }, "invoked_at": { "format": "date-time", "title": "Invoked At", "type": "string" }, "parts": { "items": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__MessageSessionPart" }, { "$ref": "#/components/schemas/CoreApi__ReasoningSessionPart" }, { "$ref": "#/components/schemas/CoreApi__MarkdownV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__ReasoningV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__InterruptV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__WebClipV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__ArtifactSessionPartV1" }, { "$ref": "#/components/schemas/CoreApi__FactCardV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__DraftNoteV1SessionPart" } ] }, "title": "Parts", "type": "array" }, "tool_call_args": { "additionalProperties": true, "title": "Tool Call Args", "type": "object" }, "tool_call_error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Tool Call Error" }, "tool_call_id": { "title": "Tool Call Id", "type": "string" }, "tool_call_origin": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__ToolCallOrigin" }, { "type": "null" } ] }, "tool_call_result": { "anyOf": [ {}, { "type": "null" } ], "title": "Tool Call Result" }, "tool_call_status": { "$ref": "#/components/schemas/CoreApi__AgentCommonToolCallStatus", "default": "in_progress" }, "tool_name": { "title": "Tool Name", "type": "string" } }, "required": [ "parts", "tool_call_id", "tool_name", "invoked_at", "completed_at" ], "title": "SessionEventAgentCommonActionV1Value", "type": "object" }, "CoreApi__SessionEventAgentDigestV1EventDataSchema": { "properties": { "kind": { "const": "AGENT_DIGEST_V1", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__SessionEventAgentDigestV1Value" } }, "required": [ "kind", "value" ], "title": "SessionEventAgentDigestV1EventDataSchema", "type": "object" }, "CoreApi__SessionEventAgentDigestV1Value": { "properties": { "parts": { "items": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__MessageSessionPart" }, { "$ref": "#/components/schemas/CoreApi__ReasoningSessionPart" }, { "$ref": "#/components/schemas/CoreApi__MarkdownV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__ReasoningV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__InterruptV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__WebClipV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__ArtifactSessionPartV1" }, { "$ref": "#/components/schemas/CoreApi__FactCardV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__DraftNoteV1SessionPart" } ] }, "title": "Parts", "type": "array" } }, "required": [ "parts" ], "title": "SessionEventAgentDigestV1Value", "type": "object" }, "CoreApi__SessionEventAgentOutputEventDataSchema": { "properties": { "kind": { "const": "AGENT_OUTPUT", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__SessionEventAgentOutputValue" } }, "required": [ "kind", "value" ], "title": "SessionEventAgentOutputEventDataSchema", "type": "object" }, "CoreApi__SessionEventAgentOutputValue": { "properties": { "parts": { "items": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__MessageSessionPart" }, { "$ref": "#/components/schemas/CoreApi__ReasoningSessionPart" }, { "$ref": "#/components/schemas/CoreApi__MarkdownV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__ReasoningV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__InterruptV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__WebClipV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__ArtifactSessionPartV1" }, { "$ref": "#/components/schemas/CoreApi__FactCardV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__DraftNoteV1SessionPart" } ] }, "title": "Parts", "type": "array" } }, "required": [ "parts" ], "title": "SessionEventAgentOutputValue", "type": "object" }, "CoreApi__SessionEventAgentPlanningV1EventDataSchema": { "properties": { "kind": { "const": "AGENT_PLANNING_V1", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__SessionEventAgentPlanningV1Value" } }, "required": [ "kind", "value" ], "title": "SessionEventAgentPlanningV1EventDataSchema", "type": "object" }, "CoreApi__SessionEventAgentPlanningV1Value": { "properties": { "internal_parts": { "items": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__MessageSessionPart" }, { "$ref": "#/components/schemas/CoreApi__ReasoningSessionPart" }, { "$ref": "#/components/schemas/CoreApi__MarkdownV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__ReasoningV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__InterruptV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__WebClipV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__ArtifactSessionPartV1" }, { "$ref": "#/components/schemas/CoreApi__FactCardV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__DraftNoteV1SessionPart" } ] }, "title": "Internal Parts", "type": "array" }, "parts": { "items": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__MessageSessionPart" }, { "$ref": "#/components/schemas/CoreApi__ReasoningSessionPart" }, { "$ref": "#/components/schemas/CoreApi__MarkdownV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__ReasoningV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__InterruptV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__WebClipV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__ArtifactSessionPartV1" }, { "$ref": "#/components/schemas/CoreApi__FactCardV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__DraftNoteV1SessionPart" } ] }, "title": "Parts", "type": "array" } }, "required": [ "parts" ], "title": "SessionEventAgentPlanningV1Value", "type": "object" }, "CoreApi__SessionEventAgentToolInvocationEventDataSchema": { "properties": { "kind": { "const": "AGENT_TOOL_INVOCATION", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__SessionEventAgentToolInvocationValue" } }, "required": [ "kind", "value" ], "title": "SessionEventAgentToolInvocationEventDataSchema", "type": "object" }, "CoreApi__SessionEventAgentToolInvocationValue": { "properties": { "completed_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Completed At" }, "invoked_at": { "format": "date-time", "title": "Invoked At", "type": "string" }, "parts": { "items": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__MessageSessionPart" }, { "$ref": "#/components/schemas/CoreApi__ReasoningSessionPart" }, { "$ref": "#/components/schemas/CoreApi__MarkdownV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__ReasoningV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__InterruptV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__WebClipV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__ArtifactSessionPartV1" }, { "$ref": "#/components/schemas/CoreApi__FactCardV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__DraftNoteV1SessionPart" } ] }, "title": "Parts", "type": "array" }, "tool_call_args": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CreateNoteToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__UpdateNoteToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__CreateCollectionToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__AddNoteToCollectionToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__RemoveNoteFromCollectionToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__MoveNoteToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__SearchForCollectionsToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__SearchNotesToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__FindRelatedNotesToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__FindRelatedNotesToolCallArgsLegacy" }, { "$ref": "#/components/schemas/CoreApi__MessageUserToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__ReadNoteToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__RenameCollectionToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__UpdateCollectionDescriptionToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__ReadCollectionToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__DeleteCollectionToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__TrashNoteToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__RestoreNoteToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__ViewImageToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__CreateFactCardToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__CreateDraftNoteToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__GetHelpCenterInfoToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__GetUserAccountStatisticsToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__SearchWithinDocumentToolCallArgs" }, { "$ref": "#/components/schemas/CoreApi__RetrieveDocumentPagesToolCallArgs" } ], "title": "Tool Call Args" }, "tool_call_id": { "title": "Tool Call Id", "type": "string" }, "tool_call_kind": { "$ref": "#/components/schemas/CoreApi__AgentToolCallKind" }, "tool_call_result": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__InterruptedToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__CreateNoteToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__UpdateNoteToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__CreateCollectionToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__AddNoteToCollectionToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__RemoveNoteFromCollectionToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__MoveNoteToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__SearchForCollectionsToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__SearchNotesToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__FindRelatedNotesToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__MessageUserToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__ReadNoteToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__UpdateCollectionDescriptionToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__ReadCollectionToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__DeleteCollectionToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__TrashNoteToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__RestoreNoteToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__RenameCollectionToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__ViewImageToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__CreateFactCardToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__CreateDraftNoteToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__GetHelpCenterInfoToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__GetUserAccountStatisticsToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__SearchWithinDocumentToolCallResult" }, { "$ref": "#/components/schemas/CoreApi__RetrieveDocumentPagesToolCallResult" }, { "type": "null" } ], "title": "Tool Call Result" } }, "required": [ "parts", "tool_call_id", "tool_call_kind", "tool_call_args", "tool_call_result", "invoked_at", "completed_at" ], "title": "SessionEventAgentToolInvocationValue", "type": "object" }, "CoreApi__SessionEventExternalInputEventDataSchema": { "properties": { "kind": { "const": "EXTERNAL_INPUT", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__SessionEventExternalInputValue" } }, "required": [ "kind", "value" ], "title": "SessionEventExternalInputEventDataSchema", "type": "object" }, "CoreApi__SessionEventExternalInputValue": { "properties": { "parts": { "items": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__MessageSessionPart" }, { "$ref": "#/components/schemas/CoreApi__ReasoningSessionPart" }, { "$ref": "#/components/schemas/CoreApi__MarkdownV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__ReasoningV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__InterruptV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__WebClipV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__ArtifactSessionPartV1" }, { "$ref": "#/components/schemas/CoreApi__FactCardV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__DraftNoteV1SessionPart" } ] }, "title": "Parts", "type": "array" }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__WebClipExternalInputPayload" }, { "$ref": "#/components/schemas/CoreApi__MemItApiRequestExternalInputPayload" } ], "title": "Payload" } }, "required": [ "parts", "payload" ], "title": "SessionEventExternalInputValue", "type": "object" }, "CoreApi__SessionEventKind": { "enum": [ "INPUT_ATTACHED", "ARTIFACT_CREATED", "OPERATION_PERFORMED", "MESSAGE_SENT", "INPUT_REQUESTED", "INPUT_PROVIDED", "EXPERIMENTAL", "EXTERNAL_INPUT", "USER_MESSAGE", "AGENT_TOOL_INVOCATION", "AGENT_OUTPUT", "USER_ACTION_V1", "AGENT_ACTION_V1", "AGENT_PLANNING_V1", "AGENT_DIGEST_V1", "SYSTEM_NOTIFICATION_V1", "UNKNOWN" ], "title": "SessionEventKind", "type": "string" }, "CoreApi__SessionEventResponseSchema": { "properties": { "associated_session_agent_run_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Associated Session Agent Run Id" }, "data": { "discriminator": { "mapping": { "AGENT_ACTION_V1": "#/components/schemas/CoreApi__SessionEventAgentActionV1EventDataSchema", "AGENT_DIGEST_V1": "#/components/schemas/CoreApi__SessionEventAgentDigestV1EventDataSchema", "AGENT_OUTPUT": "#/components/schemas/CoreApi__SessionEventAgentOutputEventDataSchema", "AGENT_PLANNING_V1": "#/components/schemas/CoreApi__SessionEventAgentPlanningV1EventDataSchema", "AGENT_TOOL_INVOCATION": "#/components/schemas/CoreApi__SessionEventAgentToolInvocationEventDataSchema", "ARTIFACT_CREATED": "#/components/schemas/CoreApi__SessionEventUntypedEventDataSchema", "EXPERIMENTAL": "#/components/schemas/CoreApi__SessionEventUntypedEventDataSchema", "EXTERNAL_INPUT": "#/components/schemas/CoreApi__SessionEventExternalInputEventDataSchema", "INPUT_ATTACHED": "#/components/schemas/CoreApi__SessionEventUntypedEventDataSchema", "INPUT_PROVIDED": "#/components/schemas/CoreApi__SessionEventUntypedEventDataSchema", "INPUT_REQUESTED": "#/components/schemas/CoreApi__SessionEventUntypedEventDataSchema", "MESSAGE_SENT": "#/components/schemas/CoreApi__SessionEventUntypedEventDataSchema", "OPERATION_PERFORMED": "#/components/schemas/CoreApi__SessionEventUntypedEventDataSchema", "SYSTEM_NOTIFICATION_V1": "#/components/schemas/CoreApi__SessionEventSystemNotificationV1EventDataSchema", "UNKNOWN": "#/components/schemas/CoreApi__SessionEventUntypedEventDataSchema", "USER_ACTION_V1": "#/components/schemas/CoreApi__SessionEventUserActionV1EventDataSchema", "USER_MESSAGE": "#/components/schemas/CoreApi__SessionEventUserMessageEventDataSchema" }, "propertyName": "kind" }, "oneOf": [ { "$ref": "#/components/schemas/CoreApi__SessionEventUserActionV1EventDataSchema" }, { "$ref": "#/components/schemas/CoreApi__SessionEventAgentPlanningV1EventDataSchema" }, { "$ref": "#/components/schemas/CoreApi__SessionEventAgentDigestV1EventDataSchema" }, { "$ref": "#/components/schemas/CoreApi__SessionEventAgentActionV1EventDataSchema" }, { "$ref": "#/components/schemas/CoreApi__SessionEventSystemNotificationV1EventDataSchema" }, { "$ref": "#/components/schemas/CoreApi__SessionEventAgentOutputEventDataSchema" }, { "$ref": "#/components/schemas/CoreApi__SessionEventExternalInputEventDataSchema" }, { "$ref": "#/components/schemas/CoreApi__SessionEventAgentToolInvocationEventDataSchema" }, { "$ref": "#/components/schemas/CoreApi__SessionEventUserMessageEventDataSchema" }, { "$ref": "#/components/schemas/CoreApi__SessionEventUntypedEventDataSchema" } ], "title": "Data" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "internal_created_at": { "format": "date-time", "title": "Internal Created At", "type": "string" }, "internal_updated_at": { "format": "date-time", "title": "Internal Updated At", "type": "string" }, "locally_created_at": { "format": "date-time", "title": "Locally Created At", "type": "string" }, "reply_to_session_event_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Reply To Session Event Id" }, "root_session_event_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Root Session Event Id" }, "session_id": { "format": "uuid", "title": "Session Id", "type": "string" }, "session_thread_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Session Thread Id" } }, "required": [ "id", "session_id", "locally_created_at", "internal_created_at", "internal_updated_at", "data" ], "title": "SessionEventResponseSchema", "type": "object" }, "CoreApi__SessionEventSummaryResponseSchema": { "properties": { "associated_session_agent_run_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Associated Session Agent Run Id" }, "data": { "discriminator": { "mapping": { "AGENT_ACTION_V1": "#/components/schemas/CoreApi__SessionEventAgentActionV1EventDataSchema", "AGENT_DIGEST_V1": "#/components/schemas/CoreApi__SessionEventAgentDigestV1EventDataSchema", "AGENT_OUTPUT": "#/components/schemas/CoreApi__SessionEventAgentOutputEventDataSchema", "AGENT_PLANNING_V1": "#/components/schemas/CoreApi__SessionEventAgentPlanningV1EventDataSchema", "AGENT_TOOL_INVOCATION": "#/components/schemas/CoreApi__SessionEventAgentToolInvocationEventDataSchema", "ARTIFACT_CREATED": "#/components/schemas/CoreApi__SessionEventUntypedEventDataSchema", "EXPERIMENTAL": "#/components/schemas/CoreApi__SessionEventUntypedEventDataSchema", "EXTERNAL_INPUT": "#/components/schemas/CoreApi__SessionEventExternalInputEventDataSchema", "INPUT_ATTACHED": "#/components/schemas/CoreApi__SessionEventUntypedEventDataSchema", "INPUT_PROVIDED": "#/components/schemas/CoreApi__SessionEventUntypedEventDataSchema", "INPUT_REQUESTED": "#/components/schemas/CoreApi__SessionEventUntypedEventDataSchema", "MESSAGE_SENT": "#/components/schemas/CoreApi__SessionEventUntypedEventDataSchema", "OPERATION_PERFORMED": "#/components/schemas/CoreApi__SessionEventUntypedEventDataSchema", "SYSTEM_NOTIFICATION_V1": "#/components/schemas/CoreApi__SessionEventSystemNotificationV1EventDataSchema", "UNKNOWN": "#/components/schemas/CoreApi__SessionEventUntypedEventDataSchema", "USER_ACTION_V1": "#/components/schemas/CoreApi__SessionEventUserActionV1EventDataSchema", "USER_MESSAGE": "#/components/schemas/CoreApi__SessionEventUserMessageEventDataSchema" }, "propertyName": "kind" }, "oneOf": [ { "$ref": "#/components/schemas/CoreApi__SessionEventUserActionV1EventDataSchema" }, { "$ref": "#/components/schemas/CoreApi__SessionEventAgentPlanningV1EventDataSchema" }, { "$ref": "#/components/schemas/CoreApi__SessionEventAgentDigestV1EventDataSchema" }, { "$ref": "#/components/schemas/CoreApi__SessionEventAgentActionV1EventDataSchema" }, { "$ref": "#/components/schemas/CoreApi__SessionEventSystemNotificationV1EventDataSchema" }, { "$ref": "#/components/schemas/CoreApi__SessionEventAgentOutputEventDataSchema" }, { "$ref": "#/components/schemas/CoreApi__SessionEventExternalInputEventDataSchema" }, { "$ref": "#/components/schemas/CoreApi__SessionEventAgentToolInvocationEventDataSchema" }, { "$ref": "#/components/schemas/CoreApi__SessionEventUserMessageEventDataSchema" }, { "$ref": "#/components/schemas/CoreApi__SessionEventUntypedEventDataSchema" } ], "title": "Data" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "internal_created_at": { "format": "date-time", "title": "Internal Created At", "type": "string" }, "internal_updated_at": { "format": "date-time", "title": "Internal Updated At", "type": "string" }, "locally_created_at": { "format": "date-time", "title": "Locally Created At", "type": "string" }, "reply_to_session_event_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Reply To Session Event Id" }, "root_session_event_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Root Session Event Id" }, "session_id": { "format": "uuid", "title": "Session Id", "type": "string" }, "session_thread_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Session Thread Id" } }, "required": [ "id", "session_id", "locally_created_at", "internal_created_at", "internal_updated_at", "data" ], "title": "SessionEventSummaryResponseSchema", "type": "object" }, "CoreApi__SessionEventSystemNotificationV1EventDataSchema": { "properties": { "kind": { "const": "SYSTEM_NOTIFICATION_V1", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__SessionEventSystemNotificationV1Value" } }, "required": [ "kind", "value" ], "title": "SessionEventSystemNotificationV1EventDataSchema", "type": "object" }, "CoreApi__SessionEventSystemNotificationV1Value": { "properties": { "communication_kind": { "$ref": "#/components/schemas/CoreApi__SessionSystemNotificationKind" }, "notification_payload": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__WebClipCreatedNotificationPayload" }, { "$ref": "#/components/schemas/CoreApi__ApiRequestRecordCreatedNotificationPayload" }, { "$ref": "#/components/schemas/CoreApi__QuotaLimitReachedNotificationPayload" } ], "title": "Notification Payload" }, "parts": { "items": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__MessageSessionPart" }, { "$ref": "#/components/schemas/CoreApi__ReasoningSessionPart" }, { "$ref": "#/components/schemas/CoreApi__MarkdownV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__ReasoningV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__InterruptV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__WebClipV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__ArtifactSessionPartV1" }, { "$ref": "#/components/schemas/CoreApi__FactCardV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__DraftNoteV1SessionPart" } ] }, "title": "Parts", "type": "array" } }, "required": [ "parts", "communication_kind", "notification_payload" ], "title": "SessionEventSystemNotificationV1Value", "type": "object" }, "CoreApi__SessionEventUntypedEventDataSchema": { "properties": { "kind": { "enum": [ "UNKNOWN", "INPUT_ATTACHED", "ARTIFACT_CREATED", "OPERATION_PERFORMED", "MESSAGE_SENT", "INPUT_REQUESTED", "INPUT_PROVIDED", "EXPERIMENTAL" ], "title": "Kind", "type": "string" }, "value": { "additionalProperties": true, "title": "Value", "type": "object" } }, "required": [ "kind", "value" ], "title": "SessionEventUntypedEventDataSchema", "type": "object" }, "CoreApi__SessionEventUserActionV1EventDataSchema": { "properties": { "kind": { "const": "USER_ACTION_V1", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__SessionEventUserActionV1Value" } }, "required": [ "kind", "value" ], "title": "SessionEventUserActionV1EventDataSchema", "type": "object" }, "CoreApi__SessionEventUserActionV1Value": { "properties": { "context": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__UserActionV1SessionEventContext" }, { "type": "null" } ] }, "parts": { "items": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__MessageSessionPart" }, { "$ref": "#/components/schemas/CoreApi__ReasoningSessionPart" }, { "$ref": "#/components/schemas/CoreApi__MarkdownV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__ReasoningV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__InterruptV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__WebClipV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__ArtifactSessionPartV1" }, { "$ref": "#/components/schemas/CoreApi__FactCardV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__DraftNoteV1SessionPart" } ] }, "title": "Parts", "type": "array" } }, "required": [ "parts" ], "title": "SessionEventUserActionV1Value", "type": "object" }, "CoreApi__SessionEventUserMessageEventDataSchema": { "properties": { "kind": { "const": "USER_MESSAGE", "title": "Kind", "type": "string" }, "value": { "$ref": "#/components/schemas/CoreApi__SessionEventUserMessageValue" } }, "required": [ "kind", "value" ], "title": "SessionEventUserMessageEventDataSchema", "type": "object" }, "CoreApi__SessionEventUserMessageValue": { "properties": { "parts": { "items": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__MessageSessionPart" }, { "$ref": "#/components/schemas/CoreApi__ReasoningSessionPart" }, { "$ref": "#/components/schemas/CoreApi__MarkdownV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__ReasoningV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__InterruptV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__WebClipV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__ArtifactSessionPartV1" }, { "$ref": "#/components/schemas/CoreApi__FactCardV1SessionPart" }, { "$ref": "#/components/schemas/CoreApi__DraftNoteV1SessionPart" } ] }, "title": "Parts", "type": "array" } }, "required": [ "parts" ], "title": "SessionEventUserMessageValue", "type": "object" }, "CoreApi__SessionGetOrCreateConfigSchema": { "properties": { "config": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SessionConfigSchema" }, { "type": "null" } ] }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description" }, "kind": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SessionKind" }, { "type": "null" } ] }, "status": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SessionStatus" }, { "type": "null" } ] }, "title": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Title" } }, "title": "SessionGetOrCreateConfigSchema", "type": "object" }, "CoreApi__SessionKind": { "enum": [ "GENERIC", "IMPORT", "TEXT_MESSAGE", "EMAIL", "API_REQUEST", "AUDIO", "WEB_CLIP", "IOS_SHARE_EXTENSION_WEB_CLIP", "AUTO_ORGANIZE", "MEM_IT", "NATIVE_CHAT", "CLEANUP_NOTE", "UNKNOWN" ], "title": "SessionKind", "type": "string" }, "CoreApi__SessionMentionKind": { "enum": [ "NOTE", "COLLECTION", "SEARCH_NOTES_BY_TIME_RANGE" ], "title": "SessionMentionKind", "type": "string" }, "CoreApi__SessionResponseSchema": { "properties": { "config": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SessionConfigResponseSchema" }, { "type": "null" } ] }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "internal_created_at": { "format": "date-time", "title": "Internal Created At", "type": "string" }, "internal_updated_at": { "format": "date-time", "title": "Internal Updated At", "type": "string" }, "kind": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SessionKind" }, { "type": "null" } ] }, "owned_by_space_account_id": { "format": "uuid", "title": "Owned By Space Account Id", "type": "string" }, "status": { "$ref": "#/components/schemas/CoreApi__SessionStatus" }, "title": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Title" } }, "required": [ "id", "owned_by_space_account_id", "status", "internal_created_at", "internal_updated_at" ], "title": "SessionResponseSchema", "type": "object" }, "CoreApi__SessionStatus": { "enum": [ "UNKNOWN", "INITIAL", "WAITING", "PROCESSING", "FINISHED", "ERROR", "DISMISSED", "ABANDONED", "CONTEXT_LIMIT_EXCEEDED" ], "title": "SessionStatus", "type": "string" }, "CoreApi__SessionSystemNotificationKind": { "enum": [ "WEB_CLIP_CREATED", "API_REQUEST_RECORD_CREATED", "QUOTA_LIMIT_REACHED" ], "title": "SessionSystemNotificationKind", "type": "string" }, "CoreApi__SharedItemInviteActionResponseSchema": { "properties": { "invite": { "$ref": "#/components/schemas/CoreApi__SharedItemInviteResponseSchema" }, "role": { "title": "Role", "type": "string" }, "shared_item_details": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SharedItemInviteSharedItemDetailsSchema" }, { "type": "null" } ] }, "shared_item_id": { "format": "uuid", "title": "Shared Item Id", "type": "string" }, "shared_item_kind": { "$ref": "#/components/schemas/CoreApi__SharedItemKind" } }, "required": [ "shared_item_id", "shared_item_kind", "role", "invite" ], "title": "SharedItemInviteActionResponseSchema", "type": "object" }, "CoreApi__SharedItemInviteListResponseSchema": { "properties": { "results": { "items": { "$ref": "#/components/schemas/CoreApi__SharedItemInviteResponseSchema" }, "title": "Results", "type": "array" }, "total": { "title": "Total", "type": "integer" } }, "required": [ "results", "total" ], "title": "SharedItemInviteListResponseSchema", "type": "object" }, "CoreApi__SharedItemInviteResponseSchema": { "properties": { "accepted_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Accepted At" }, "accepted_by_space_account_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Accepted By Space Account Id" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "expires_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Expires At" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "invitee_email": { "title": "Invitee Email", "type": "string" }, "invitee_email_normalized": { "title": "Invitee Email Normalized", "type": "string" }, "inviter_space_account_id": { "format": "uuid", "title": "Inviter Space Account Id", "type": "string" }, "is_revoked": { "title": "Is Revoked", "type": "boolean" }, "role": { "title": "Role", "type": "string" }, "shared_item_id": { "format": "uuid", "title": "Shared Item Id", "type": "string" }, "shared_item_kind": { "title": "Shared Item Kind", "type": "string" }, "status": { "title": "Status", "type": "string" }, "updated_at": { "format": "date-time", "title": "Updated At", "type": "string" }, "verification_token": { "format": "uuid", "title": "Verification Token", "type": "string" } }, "required": [ "id", "inviter_space_account_id", "shared_item_id", "shared_item_kind", "invitee_email", "invitee_email_normalized", "role", "status", "verification_token", "expires_at", "is_revoked", "accepted_by_space_account_id", "accepted_at", "created_at", "updated_at" ], "title": "SharedItemInviteResponseSchema", "type": "object" }, "CoreApi__SharedItemInviteSharedItemDetailsSchema": { "properties": { "display_title": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Display Title" }, "inviter_profile_display_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Inviter Profile Display Name" }, "inviter_profile_email_address": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Inviter Profile Email Address" }, "inviter_profile_photo_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Inviter Profile Photo Url" }, "preview_html": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Preview Html" }, "shared_item_id": { "format": "uuid", "title": "Shared Item Id", "type": "string" }, "shared_item_kind": { "$ref": "#/components/schemas/CoreApi__SharedItemKind" } }, "required": [ "shared_item_id", "shared_item_kind" ], "title": "SharedItemInviteSharedItemDetailsSchema", "type": "object" }, "CoreApi__SharedItemKind": { "enum": [ "NOTE", "COLLECTION", "SPACE", "UNKNOWN" ], "title": "SharedItemKind", "type": "string" }, "CoreApi__SlackConnectionSettingsResponseSchema": { "properties": { "connected_at": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Connected At" }, "is_available": { "title": "Is Available", "type": "boolean" }, "is_connected": { "title": "Is Connected", "type": "boolean" }, "is_enabled": { "title": "Is Enabled", "type": "boolean" }, "slack_app_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Slack App Url" }, "slack_team_name": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Slack Team Name" }, "slack_workspace_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Slack Workspace Id" }, "workspace_installation_status": { "title": "Workspace Installation Status", "type": "string" }, "workspace_unavailable_reason": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Workspace Unavailable Reason" } }, "required": [ "is_connected", "is_enabled", "is_available", "workspace_installation_status" ], "title": "SlackConnectionSettingsResponseSchema", "type": "object" }, "CoreApi__SlackConnectResponseSchema": { "properties": { "authorization_url": { "title": "Authorization Url", "type": "string" }, "state": { "title": "State", "type": "string" } }, "required": [ "authorization_url", "state" ], "title": "SlackConnectResponseSchema", "type": "object" }, "CoreApi__Space": { "properties": { "id": { "format": "uuid", "title": "Id", "type": "string" }, "is_primary_space": { "default": false, "title": "Is Primary Space", "type": "boolean" }, "photo_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Photo Url" }, "title": { "title": "Title", "type": "string" } }, "required": [ "id", "title" ], "title": "Space", "type": "object" }, "CoreApi__SpaceAccountFacetValue": { "properties": { "space_account_ids": { "items": { "format": "uuid", "type": "string" }, "title": "Space Account Ids", "type": "array" } }, "required": [ "space_account_ids" ], "title": "SpaceAccountFacetValue", "type": "object" }, "CoreApi__SpaceAccountSettingsPatch": { "properties": { "calendar": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__CalendarSettingsPatch" }, { "type": "null" } ] }, "chat": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__ChatSettingsPatch" }, { "type": "null" } ] }, "mem_agent": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__MemAgentSettingsPatch" }, { "type": "null" } ] }, "voice": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__VoiceSettingsPatch" }, { "type": "null" } ] } }, "title": "SpaceAccountSettingsPatch", "type": "object" }, "CoreApi__StartTranscriptionResponseSchema": { "properties": { "expires_at": { "format": "date-time", "title": "Expires At", "type": "string" }, "token": { "title": "Token", "type": "string" } }, "required": [ "token", "expires_at" ], "title": "StartTranscriptionResponseSchema", "type": "object" }, "CoreApi__StripeSubscriptionBillingStrategy": { "enum": [ "MONTHLY", "YEARLY" ], "title": "StripeSubscriptionBillingStrategy", "type": "string" }, "CoreApi__StripeSubscriptionStatusEnum": { "enum": [ "ACTIVE", "TRIALING", "PAST_DUE", "UNPAID", "INCOMPLETE", "INCOMPLETE_EXPIRED", "CANCELED", "PAUSED", "UNKNOWN" ], "title": "StripeSubscriptionStatusEnum", "type": "string" }, "CoreApi__SubscriptionPlanKind": { "enum": [ "free", "pro", "proactive", "unknown" ], "title": "SubscriptionPlanKind", "type": "string" }, "CoreApi__SubscriptionPlanVariant": { "enum": [ "standard", "max" ], "title": "SubscriptionPlanVariant", "type": "string" }, "CoreApi__SubscriptionStatus": { "enum": [ "active", "canceled", "past_due", "unknown" ], "title": "SubscriptionStatus", "type": "string" }, "CoreApi__SubscriptionSyncModelDataResponseSchema": { "description": "Legacy subscription sync payload.\n\nLatest clients no longer consume this model for subscription state. Keep\nthis schema stable for older clients, but new clients should use\n/v2/me/platform-info plus PLATFORM_INFO_INVALIDATED Pusher events.", "properties": { "current_period_end": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Current Period End" }, "current_period_start": { "format": "date-time", "title": "Current Period Start", "type": "string" }, "locally_created_at": { "format": "date-time", "title": "Locally Created At", "type": "string" }, "locally_modified_at": { "format": "date-time", "title": "Locally Modified At", "type": "string" }, "plan_kind": { "$ref": "#/components/schemas/CoreApi__SubscriptionPlanKind" }, "plan_variant": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SubscriptionPlanVariant" }, { "type": "null" } ] }, "provider": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Provider" }, "provider_subscription_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Provider Subscription Id" }, "space_account_id": { "format": "uuid", "title": "Space Account Id", "type": "string" }, "status": { "$ref": "#/components/schemas/CoreApi__SubscriptionStatus" }, "subscription_ends_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Subscription Ends At" }, "tier": { "$ref": "#/components/schemas/CoreApi__SubscriptionTier" } }, "required": [ "space_account_id", "provider", "provider_subscription_id", "tier", "plan_kind", "status", "current_period_start", "current_period_end", "locally_created_at", "locally_modified_at" ], "title": "SubscriptionSyncModelDataResponseSchema", "type": "object" }, "CoreApi__SubscriptionTier": { "enum": [ "free", "paid", "unknown" ], "title": "SubscriptionTier", "type": "string" }, "CoreApi__SuccessResponseSchema": { "properties": { "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "SuccessResponseSchema", "type": "object" }, "CoreApi__SupportedChatModelProvider": { "enum": [ "STANDARD", "ANTHROPIC", "OPENAI", "GOOGLEGEMINI" ], "title": "SupportedChatModelProvider", "type": "string" }, "CoreApi__SupportedChatModelSchema": { "properties": { "is_selectable": { "title": "Is Selectable", "type": "boolean" }, "label": { "title": "Label", "type": "string" }, "plans": { "items": { "$ref": "#/components/schemas/CoreApi__PlanId" }, "title": "Plans", "type": "array" }, "provider": { "$ref": "#/components/schemas/CoreApi__SupportedChatModelProvider" }, "variant": { "$ref": "#/components/schemas/CoreApi__SessionConfigVariant" } }, "required": [ "variant", "label", "provider", "plans", "is_selectable" ], "title": "SupportedChatModelSchema", "type": "object" }, "CoreApi__SupportedChatSettingsSchema": { "properties": { "models": { "items": { "$ref": "#/components/schemas/CoreApi__SupportedChatModelSchema" }, "title": "Models", "type": "array" } }, "required": [ "models" ], "title": "SupportedChatSettingsSchema", "type": "object" }, "CoreApi__SupportedFeaturesSchema": { "properties": { "chat": { "$ref": "#/components/schemas/CoreApi__SupportedChatSettingsSchema" } }, "required": [ "chat" ], "title": "SupportedFeaturesSchema", "type": "object" }, "CoreApi__SupportedSettingsSchema": { "properties": { "features": { "$ref": "#/components/schemas/CoreApi__SupportedFeaturesSchema" }, "schema_version": { "$ref": "#/components/schemas/CoreApi__SupportedSettingsSchemaVersion" } }, "required": [ "schema_version", "features" ], "title": "SupportedSettingsSchema", "type": "object" }, "CoreApi__SupportedSettingsSchemaVersion": { "enum": [ 1 ], "title": "SupportedSettingsSchemaVersion", "type": "integer" }, "CoreApi__TextMessageArtifactInternalResponseSchema": { "properties": { "artifact_kind": { "const": "TEXT_MESSAGE", "title": "Artifact Kind", "type": "string" }, "media": { "default": [], "items": { "$ref": "#/components/schemas/CoreApi__TextMessageMediaAttachment" }, "title": "Media", "type": "array" }, "message_kind": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__TextMessageKind" }, { "type": "null" } ] }, "received_at": { "format": "date-time", "title": "Received At", "type": "string" }, "text": { "title": "Text", "type": "string" } }, "required": [ "text", "received_at", "artifact_kind" ], "title": "TextMessageArtifactInternalResponseSchema", "type": "object" }, "CoreApi__TextMessageKind": { "enum": [ "whatsapp", "sms" ], "title": "TextMessageKind", "type": "string" }, "CoreApi__TextMessageMediaAttachment": { "properties": { "content_type": { "title": "Content Type", "type": "string" }, "private_url": { "title": "Private Url", "type": "string" }, "public_url": { "title": "Public Url", "type": "string" } }, "required": [ "content_type", "private_url", "public_url" ], "title": "TextMessageMediaAttachment", "type": "object" }, "CoreApi__TextSessionPart": { "deprecated": true, "properties": { "client_meta": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Client Meta" }, "content": { "title": "Content", "type": "string" }, "kind": { "const": "TEXT", "default": "TEXT", "title": "Kind", "type": "string" } }, "required": [ "content" ], "title": "TextSessionPart", "type": "object" }, "CoreApi__TierEnum": { "enum": [ "free", "paid", "unknown" ], "title": "TierEnum", "type": "string" }, "CoreApi__ToolCallOrigin": { "enum": [ "MODEL", "USER" ], "title": "ToolCallOrigin", "type": "string" }, "CoreApi__TranscribeAudioRecordingFromSourceRequestSchema": { "properties": { "source_blob_name": { "title": "Source Blob Name", "type": "string" }, "transcription_config": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__AssemblyAiPrerecordedTranscriptionConfig" }, { "type": "null" } ] } }, "required": [ "source_blob_name" ], "title": "TranscribeAudioRecordingFromSourceRequestSchema", "type": "object" }, "CoreApi__TranscribeAudioRecordingFromSourceResponseSchema": { "properties": { "transcript_content": { "title": "Transcript Content", "type": "string" } }, "required": [ "transcript_content" ], "title": "TranscribeAudioRecordingFromSourceResponseSchema", "type": "object" }, "CoreApi__TranscribeVoiceRequestSchema": { "properties": { "captured_audio_id": { "format": "uuid", "title": "Captured Audio Id", "type": "string" }, "force": { "default": false, "title": "Force", "type": "boolean" }, "transcription_config": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__AssemblyAiPrerecordedTranscriptionConfig" }, { "type": "null" } ] } }, "required": [ "captured_audio_id" ], "title": "TranscribeVoiceRequestSchema", "type": "object" }, "CoreApi__TransformNoteUsingAudioRecordingRequestSchema": { "additionalProperties": false, "properties": { "associated_session_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "deprecated": true, "description": "Deprecated and ignored; audio recordings use their canonical session.", "title": "Associated Session Id" }, "audio_recording_id": { "format": "uuid", "title": "Audio Recording Id", "type": "string" }, "force_transcript_generation_using_audio_recording": { "default": false, "title": "Force Transcript Generation Using Audio Recording", "type": "boolean" }, "note_id": { "format": "uuid", "title": "Note Id", "type": "string" }, "transcription_config": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__AssemblyAiPrerecordedTranscriptionConfig" }, { "type": "null" } ] } }, "required": [ "note_id", "audio_recording_id" ], "title": "TransformNoteUsingAudioRecordingRequestSchema", "type": "object" }, "CoreApi__TransformNoteWithVoiceRequestSchema": { "additionalProperties": false, "properties": { "associated_session_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "deprecated": true, "description": "Deprecated and ignored; accepted for installed clients while Core resolves the canonical captured-audio session.", "title": "Associated Session Id" }, "captured_audio_id": { "format": "uuid", "title": "Captured Audio Id", "type": "string" }, "from_source": { "default": false, "title": "From Source", "type": "boolean" }, "note_id": { "format": "uuid", "title": "Note Id", "type": "string" }, "session_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Session Id" } }, "required": [ "note_id", "captured_audio_id" ], "title": "TransformNoteWithVoiceRequestSchema", "type": "object" }, "CoreApi__TrashNoteToolCallArgs": { "properties": { "note_id": { "title": "Note Id", "type": "string" } }, "required": [ "note_id" ], "title": "TrashNoteToolCallArgs", "type": "object" }, "CoreApi__TrashNoteToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "TrashNoteToolCallResult", "type": "object" }, "CoreApi__TriggerNoteReminderShillRequestSchema": { "additionalProperties": false, "properties": { "generated_reminder_text": { "title": "Generated Reminder Text", "type": "string" }, "reminder_shill_id": { "format": "uuid", "title": "Reminder Shill Id", "type": "string" } }, "required": [ "reminder_shill_id", "generated_reminder_text" ], "title": "TriggerNoteReminderShillRequestSchema", "type": "object" }, "CoreApi__TriggerNoteReminderShillResponseSchema": { "properties": { "directive_id": { "format": "uuid", "title": "Directive Id", "type": "string" }, "work_item_id": { "format": "uuid", "title": "Work Item Id", "type": "string" } }, "required": [ "work_item_id", "directive_id" ], "title": "TriggerNoteReminderShillResponseSchema", "type": "object" }, "CoreApi__TypeaheadCollectionResult": { "properties": { "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description" }, "item_id": { "format": "uuid", "title": "Item Id", "type": "string" }, "item_kind": { "const": "COLLECTION", "default": "COLLECTION", "title": "Item Kind", "type": "string" }, "note_count": { "default": 0, "title": "Note Count", "type": "integer" }, "primary_label": { "title": "Primary Label", "type": "string" }, "score": { "title": "Score", "type": "number" } }, "required": [ "item_id", "primary_label", "score" ], "title": "TypeaheadCollectionResult", "type": "object" }, "CoreApi__TypeaheadNoteResult": { "properties": { "item_id": { "format": "uuid", "title": "Item Id", "type": "string" }, "item_kind": { "const": "NOTE", "default": "NOTE", "title": "Item Kind", "type": "string" }, "primary_label": { "title": "Primary Label", "type": "string" }, "score": { "title": "Score", "type": "number" } }, "required": [ "item_id", "primary_label", "score" ], "title": "TypeaheadNoteResult", "type": "object" }, "CoreApi__TypeaheadResult": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__TypeaheadNoteResult" }, { "$ref": "#/components/schemas/CoreApi__TypeaheadCollectionResult" } ] }, "CoreApi__UpdateAssistantConnectionRequestSchema": { "properties": { "is_enabled": { "title": "Is Enabled", "type": "boolean" } }, "required": [ "is_enabled" ], "title": "UpdateAssistantConnectionRequestSchema", "type": "object" }, "CoreApi__UpdateAssistantRequestSchema": { "properties": { "is_enabled": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Is Enabled" }, "slug": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Slug" } }, "title": "UpdateAssistantRequestSchema", "type": "object" }, "CoreApi__UpdateCollectionDescriptionToolCallArgs": { "properties": { "collection_id": { "title": "Collection Id", "type": "string" }, "new_description": { "title": "New Description", "type": "string" } }, "required": [ "collection_id", "new_description" ], "title": "UpdateCollectionDescriptionToolCallArgs", "type": "object" }, "CoreApi__UpdateCollectionDescriptionToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "UpdateCollectionDescriptionToolCallResult", "type": "object" }, "CoreApi__UpdateEmailIntegrationSettingsRequestSchema": { "properties": { "formatting_instructions": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Formatting Instructions" }, "formatting_mode": { "$ref": "#/components/schemas/CoreApi__EmailIntegrationSettingsFormattingMode" }, "organizing_instructions": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Organizing Instructions" }, "organizing_manual_collections": { "anyOf": [ { "items": { "format": "uuid", "type": "string" }, "type": "array" }, { "type": "null" } ], "title": "Organizing Manual Collections" }, "organizing_manual_enabled": { "title": "Organizing Manual Enabled", "type": "boolean" }, "organizing_smart_enabled": { "title": "Organizing Smart Enabled", "type": "boolean" } }, "required": [ "formatting_mode", "formatting_instructions", "organizing_manual_enabled", "organizing_smart_enabled", "organizing_manual_collections", "organizing_instructions" ], "title": "UpdateEmailIntegrationSettingsRequestSchema", "type": "object" }, "CoreApi__UpdateEmailSenderAllowlistRequestSchema": { "properties": { "email_sender_allowlist": { "items": { "$ref": "#/components/schemas/CoreApi__EmailSenderAllowlistEntrySchema" }, "title": "Email Sender Allowlist", "type": "array" } }, "required": [ "email_sender_allowlist" ], "title": "UpdateEmailSenderAllowlistRequestSchema", "type": "object" }, "CoreApi__UpdateGoogleCalendarSettingsRequestSchema": { "properties": { "enabled_calendar_ids": { "items": { "type": "string" }, "title": "Enabled Calendar Ids", "type": "array" }, "subject_id": { "title": "Subject Id", "type": "string" } }, "required": [ "subject_id" ], "title": "UpdateGoogleCalendarSettingsRequestSchema", "type": "object" }, "CoreApi__UpdateNoteToolCallArgs": { "properties": { "content": { "title": "Content", "type": "string" }, "note_id": { "title": "Note Id", "type": "string" }, "source_web_clip_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Source Web Clip Id" }, "version_to_update": { "title": "Version To Update", "type": "integer" } }, "required": [ "note_id", "content", "version_to_update" ], "title": "UpdateNoteToolCallArgs", "type": "object" }, "CoreApi__UpdateNoteToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "note": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__AgentNoteModel" }, { "type": "null" } ] }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "UpdateNoteToolCallResult", "type": "object" }, "CoreApi__UpdateOutlookCalendarSettingsRequestSchema": { "properties": { "enabled_calendar_ids": { "items": { "type": "string" }, "title": "Enabled Calendar Ids", "type": "array" }, "subject_id": { "title": "Subject Id", "type": "string" } }, "required": [ "subject_id" ], "title": "UpdateOutlookCalendarSettingsRequestSchema", "type": "object" }, "CoreApi__UpdateSlackConnectionRequestSchema": { "properties": { "is_enabled": { "title": "Is Enabled", "type": "boolean" } }, "required": [ "is_enabled" ], "title": "UpdateSlackConnectionRequestSchema", "type": "object" }, "CoreApi__UpdateWebClipIntegrationSettingsRequestSchema": { "properties": { "instructions_enabled": { "title": "Instructions Enabled", "type": "boolean" }, "instructions_markdown_content": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Instructions Markdown Content" }, "selected_model_kind": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__WebClipIntegrationModelKind" }, { "type": "null" } ] } }, "required": [ "instructions_enabled", "instructions_markdown_content" ], "title": "UpdateWebClipIntegrationSettingsRequestSchema", "type": "object" }, "CoreApi__UploadedFileArtifactInternalResponseSchema": { "properties": { "artifact_kind": { "const": "UPLOADED_FILE", "title": "Artifact Kind", "type": "string" } }, "required": [ "artifact_kind" ], "title": "UploadedFileArtifactInternalResponseSchema", "type": "object" }, "CoreApi__UpsertSessionRequestSchema": { "properties": { "config": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SessionConfigSchema" }, { "type": "null" } ] }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description" }, "kind": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SessionKind" }, { "type": "null" } ] }, "status": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SessionStatus" }, { "type": "null" } ] }, "title": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Title" } }, "title": "UpsertSessionRequestSchema", "type": "object" }, "CoreApi__UserActionV1SessionEventContext": { "properties": { "implicit_mentions": { "anyOf": [ { "items": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__NoteSessionMention" }, { "$ref": "#/components/schemas/CoreApi__CollectionSessionMention" } ] }, "type": "array" }, { "type": "null" } ], "title": "Implicit Mentions" }, "kind": { "const": "USER_CONTEXT_V1", "default": "USER_CONTEXT_V1", "title": "Kind", "type": "string" }, "mentions": { "anyOf": [ { "items": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__NoteSessionMention" }, { "$ref": "#/components/schemas/CoreApi__CollectionSessionMention" }, { "$ref": "#/components/schemas/CoreApi__SearchNotesByTimeRangeSessionMention" } ] }, "type": "array" }, { "type": "null" } ], "title": "Mentions" } }, "title": "UserActionV1SessionEventContext", "type": "object" }, "CoreApi__V2MigrationAccountTransitionInfoResponse": { "additionalProperties": false, "properties": { "force_upgrade_modal_content": { "$ref": "#/components/schemas/CoreApi__ForcedUpgradeModalContent" }, "force_upgraded_to_version_two": { "title": "Force Upgraded To Version Two", "type": "boolean" }, "has_matching_version_two_account": { "title": "Has Matching Version Two Account", "type": "boolean" }, "matching_version_two_modal_content": { "$ref": "#/components/schemas/CoreApi__MatchingVersionTwoModalContent" }, "version_two_transition_decision_required": { "title": "Version Two Transition Decision Required", "type": "boolean" } }, "required": [ "has_matching_version_two_account", "force_upgraded_to_version_two", "version_two_transition_decision_required", "force_upgrade_modal_content", "matching_version_two_modal_content" ], "title": "V2MigrationAccountTransitionInfoResponse", "type": "object" }, "CoreApi__VerifyEmailIntegrationSenderRequestSchema": { "properties": { "token": { "title": "Token", "type": "string" } }, "required": [ "token" ], "title": "VerifyEmailIntegrationSenderRequestSchema", "type": "object" }, "CoreApi__VerifyFeatureEnrollmentLinkResponseSchema": { "properties": { "feature_enrollment": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__FeatureEnrollmentResponseSchema" }, { "type": "null" } ] }, "feature_enrollment_link": { "$ref": "#/components/schemas/CoreApi__FeatureEnrollmentLinkResponseSchema" }, "is_disabled": { "title": "Is Disabled", "type": "boolean" }, "is_expired": { "title": "Is Expired", "type": "boolean" } }, "required": [ "feature_enrollment_link", "is_expired", "is_disabled" ], "title": "VerifyFeatureEnrollmentLinkResponseSchema", "type": "object" }, "CoreApi__VerifySharedItemInviteRequestSchema": { "properties": { "verification_token": { "format": "uuid", "title": "Verification Token", "type": "string" } }, "required": [ "verification_token" ], "title": "VerifySharedItemInviteRequestSchema", "type": "object" }, "CoreApi__VerifySharedItemInviteResponseSchema": { "properties": { "invite": { "$ref": "#/components/schemas/CoreApi__SharedItemInviteResponseSchema" }, "is_expired": { "title": "Is Expired", "type": "boolean" }, "is_revoked": { "title": "Is Revoked", "type": "boolean" }, "shared_item_details": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__SharedItemInviteSharedItemDetailsSchema" }, { "type": "null" } ] } }, "required": [ "invite", "is_expired", "is_revoked" ], "title": "VerifySharedItemInviteResponseSchema", "type": "object" }, "CoreApi__ViewImageToolCallArgs": { "properties": { "image_url": { "title": "Image Url", "type": "string" } }, "required": [ "image_url" ], "title": "ViewImageToolCallArgs", "type": "object" }, "CoreApi__ViewImageToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "ocr_text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Ocr Text" }, "success": { "title": "Success", "type": "boolean" }, "visual_description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Visual Description" } }, "required": [ "success" ], "title": "ViewImageToolCallResult", "type": "object" }, "CoreApi__VoiceSettingsPatch": { "properties": { "custom_vocabulary": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "title": "Custom Vocabulary" }, "processing_instructions": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Processing Instructions" } }, "title": "VoiceSettingsPatch", "type": "object" }, "CoreApi__WebClipCreatedNotificationPayload": { "properties": { "web_clip_id": { "format": "uuid", "title": "Web Clip Id", "type": "string" } }, "required": [ "web_clip_id" ], "title": "WebClipCreatedNotificationPayload", "type": "object" }, "CoreApi__WebClipExternalInputPayload": { "properties": { "kind": { "const": "WEB_CLIP", "default": "WEB_CLIP", "title": "Kind", "type": "string" }, "web_clip_id": { "title": "Web Clip Id", "type": "string" } }, "required": [ "web_clip_id" ], "title": "WebClipExternalInputPayload", "type": "object" }, "CoreApi__WebClipIntegrationModelKind": { "enum": [ "AUTO", "GPT_4_1", "GPT_5_2", "GPT_5_3", "GPT_5_3_MINI", "GPT_5_4", "GPT_5_6_TERRA", "CLAUDE_SONNET_4_5", "CLAUDE_SONNET_4_6", "CLAUDE_SONNET_5", "GEMINI_3_FLASH", "GEMINI_3_1_PRO", "GEMINI_3_5_FLASH", "UNKNOWN" ], "title": "WebClipIntegrationModelKind", "type": "string" }, "CoreApi__WebClipIntegrationSettingsResponseSchema": { "properties": { "instructions_enabled": { "title": "Instructions Enabled", "type": "boolean" }, "instructions_markdown_content": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Instructions Markdown Content" }, "selected_model_kind": { "anyOf": [ { "$ref": "#/components/schemas/CoreApi__WebClipIntegrationModelKind" }, { "type": "null" } ] }, "space_account_id": { "format": "uuid", "title": "Space Account Id", "type": "string" } }, "required": [ "space_account_id", "instructions_enabled", "instructions_markdown_content", "selected_model_kind" ], "title": "WebClipIntegrationSettingsResponseSchema", "type": "object" }, "CoreApi__WebClipSessionPart": { "deprecated": true, "properties": { "captured_website_title": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Captured Website Title" }, "captured_website_uploaded_file_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Captured Website Uploaded File Url" }, "captured_website_url": { "title": "Captured Website Url", "type": "string" }, "client_meta": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Client Meta" }, "clipped_image_uploaded_file_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Clipped Image Uploaded File Url" }, "clipped_text_content": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Clipped Text Content" }, "kind": { "const": "WEB_CLIP", "default": "WEB_CLIP", "title": "Kind", "type": "string" }, "web_clip_id": { "format": "uuid", "title": "Web Clip Id", "type": "string" } }, "required": [ "web_clip_id", "captured_website_url" ], "title": "WebClipSessionPart", "type": "object" }, "CoreApi__WebClipV1SessionPart": { "properties": { "captured_website_title": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Captured Website Title" }, "captured_website_uploaded_file_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Captured Website Uploaded File Url" }, "captured_website_url": { "title": "Captured Website Url", "type": "string" }, "client_meta": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Client Meta" }, "clipped_image_uploaded_file_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Clipped Image Uploaded File Url" }, "clipped_rich_text_content": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Clipped Rich Text Content" }, "clipped_text_content": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Clipped Text Content" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "is_primary_clip": { "default": true, "title": "Is Primary Clip", "type": "boolean" }, "kind": { "const": "WEB_CLIP_V1", "default": "WEB_CLIP_V1", "title": "Kind", "type": "string" }, "preview_description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Preview Description" }, "preview_favicon_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Preview Favicon Url" }, "preview_thumbnail_uploaded_file_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Preview Thumbnail Uploaded File Url" }, "preview_thumbnail_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Preview Thumbnail Url" }, "web_clip_id": { "format": "uuid", "title": "Web Clip Id", "type": "string" } }, "required": [ "id", "web_clip_id", "captured_website_url" ], "title": "WebClipV1SessionPart", "type": "object" }, "CoreApi__WebhookResponse": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "WebhookResponse", "type": "object" }, "CoreApi__WebsiteContentArtifactInternalResponseSchema": { "properties": { "artifact_kind": { "const": "WEBSITE_CONTENT", "title": "Artifact Kind", "type": "string" }, "captured_website_id": { "format": "uuid", "title": "Captured Website Id", "type": "string" }, "website_html_content": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Website Html Content" }, "website_title": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Website Title" }, "website_url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Website Url" } }, "required": [ "captured_website_id", "artifact_kind" ], "title": "WebsiteContentArtifactInternalResponseSchema", "type": "object" }, "CoreApi__WebsiteLinkChipSessionPartPayload": { "properties": { "kind": { "const": "WEBSITE_LINK", "default": "WEBSITE_LINK", "title": "Kind", "type": "string" }, "website_title": { "title": "Website Title", "type": "string" }, "website_url": { "title": "Website Url", "type": "string" } }, "required": [ "website_title", "website_url" ], "title": "WebsiteLinkChipSessionPartPayload", "type": "object" }, "CoreApi__ZapierIntegrationSettingsResponseSchema": { "properties": { "is_enabled": { "title": "Is Enabled", "type": "boolean" } }, "required": [ "is_enabled" ], "title": "ZapierIntegrationSettingsResponseSchema", "type": "object" }, "CreateCollectionRequestSchema": { "properties": { "created_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Optional creation timestamp (ISO 8601).\nIf provided, it must include a timezone offset and cannot be in the future.\nIf omitted, Mem uses `updated_at` when provided; otherwise current server time.", "examples": [ "2025-04-01T14:30:45Z", "2023-12-15T09:45:30+01:00" ], "title": "Created At" }, "description": { "anyOf": [ { "description": "Optional descriptive text for collection scope or intent.\nMaximum: 10,000 characters (and no more than 10,000 UTF-8 bytes).", "maxLength": 10000, "type": "string" }, { "type": "null" } ], "description": "Optional longer description of collection scope or intent.\nMaximum: 10,000 characters (and no more than 10,000 UTF-8 bytes).", "examples": [ "Anything related to Acme Corp; a software company that provides a suite of tools for managing customer relationships." ], "title": "Description" }, "id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "description": "Optional caller-provided UUID for the collection.\nIf omitted, Mem generates a new UUID.\nIf the provided ID already exists, this request returns a conflict.", "title": "Id" }, "title": { "description": "Title for the collection.\nUse a short, stable label suitable for navigation and search.\nMaximum: 1,000 characters (and no more than 1,000 UTF-8 bytes).", "examples": [ "Acme Corp" ], "maxLength": 1000, "title": "Title", "type": "string" }, "updated_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Optional \"last updated\" timestamp for this write (ISO 8601).\nIf provided, it must include a timezone offset and cannot be in the future.\nIf omitted, Mem uses `created_at` for the initial collection write.", "examples": [ "2025-04-02T09:15:22Z", "2023-12-15T09:45:30+01:00" ], "title": "Updated At" } }, "required": [ "title" ], "title": "CreateCollectionRequestSchema", "type": "object" }, "CreateCollectionResponseSchema": { "example": { "created_at": "2025-04-11T04:47:14.457Z", "description": "Anything related to Acme Corp; a software company that provides a suite of tools for managing customer relationships.", "id": "5e29c8a2-c73b-476b-9311-e2579712d4b1", "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522", "title": "Acme Corp", "updated_at": "2025-04-11T04:47:19.702Z" }, "properties": { "created_at": { "description": "Creation timestamp for the collection in ISO 8601 format.", "format": "date-time", "title": "Created At", "type": "string" }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Optional description text currently stored on the collection.", "title": "Description" }, "id": { "description": "UUID of the created collection.", "format": "uuid", "title": "Id", "type": "string" }, "request_id": { "description": "Identifier for this API request. Useful for tracing and support.", "title": "Request Id", "type": "string" }, "title": { "description": "Current title of the collection.", "title": "Title", "type": "string" }, "updated_at": { "description": "Last modification timestamp for the collection in ISO 8601 format.", "format": "date-time", "title": "Updated At", "type": "string" } }, "required": [ "request_id", "id", "title", "description", "created_at", "updated_at" ], "title": "CreateCollectionResponseSchema", "type": "object" }, "CreateCollectionToolCallArgs": { "properties": { "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description" }, "title": { "title": "Title", "type": "string" } }, "required": [ "title" ], "title": "CreateCollectionToolCallArgs", "type": "object" }, "CreateCollectionToolCallResult": { "properties": { "collection": { "anyOf": [ { "$ref": "#/components/schemas/AgentCollectionModel" }, { "type": "null" } ] }, "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "CreateCollectionToolCallResult", "type": "object" }, "CreatedCollectionSessionOperationSchema": { "properties": { "collection_id": { "format": "uuid", "title": "Collection Id", "type": "string" }, "title": { "title": "Title", "type": "string" }, "type": { "const": "created-collection", "default": "created-collection", "title": "Type", "type": "string" }, "url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Url" } }, "required": [ "collection_id", "title" ], "title": "CreatedCollectionOperation", "type": "object" }, "CreatedNoteSessionOperationSchema": { "properties": { "note_id": { "format": "uuid", "title": "Note Id", "type": "string" }, "title": { "title": "Title", "type": "string" }, "type": { "const": "created-note", "default": "created-note", "title": "Type", "type": "string" }, "url": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Url" } }, "required": [ "note_id", "title" ], "title": "CreatedNoteOperation", "type": "object" }, "CreateDraftNoteToolCallArgs": { "properties": { "draft_note": { "title": "Draft Note", "type": "string" } }, "required": [ "draft_note" ], "title": "CreateDraftNoteToolCallArgs", "type": "object" }, "CreateDraftNoteToolCallResult": { "properties": { "draft_note": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Draft Note" }, "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "CreateDraftNoteToolCallResult", "type": "object" }, "CreateFactCardToolCallArgs": { "properties": { "fact_label": { "title": "Fact Label", "type": "string" }, "fact_source": { "title": "Fact Source", "type": "string" }, "fact_value": { "title": "Fact Value", "type": "string" } }, "required": [ "fact_label", "fact_value", "fact_source" ], "title": "CreateFactCardToolCallArgs", "type": "object" }, "CreateFactCardToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "fact_label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Fact Label" }, "fact_source": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Fact Source" }, "fact_value": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Fact Value" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "CreateFactCardToolCallResult", "type": "object" }, "CreateNoteRequestSchema": { "properties": { "collection_ids": { "anyOf": [ { "items": { "format": "uuid", "type": "string" }, "type": "array" }, { "type": "null" } ], "description": "Optional collection IDs to associate with the note.\nIDs that do not map to accessible collections are ignored.", "title": "Collection Ids" }, "collection_titles": { "anyOf": [ { "items": { "description": "Collection title used for exact case-insensitive matching in `collection_titles`.\nMaximum: 1,000 characters.", "maxLength": 1000, "type": "string" }, "type": "array" }, { "type": "null" } ], "description": "Optional collection titles to associate with the note.\nMatching is case-insensitive exact match; titles with no match are ignored.\nMaximum per title: 1,000 characters (and no more than 1,000 UTF-8 bytes).", "examples": [ [ "Acme Corp", "Project Phoenix" ] ], "title": "Collection Titles" }, "content": { "description": "Full markdown body for the note.\nSend the full desired note body (partial patch semantics are not supported here).\nIMPORTANT: The first line is interpreted as the note title.\nMaximum: 200,000 characters (and no more than 200,000 UTF-8 bytes on create).", "examples": [ "# Meeting with Product Team\n\nDiscussion Topics:\n- Roadmap updates\n- Feature prioritization\n\nAction Items:\n- Schedule follow-up with design\n- Share Q2 priorities document" ], "maxLength": 200000, "title": "Content", "type": "string" }, "created_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Optional creation timestamp (ISO 8601).\nIf provided, it must include a timezone offset and cannot be in the future.\nIf omitted, Mem uses `updated_at` when provided; otherwise current server time.", "examples": [ "2025-04-01T14:30:45Z", "2023-12-15T09:45:30+01:00" ], "title": "Created At" }, "id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "description": "Optional UUID for the note.\nIf omitted, Mem generates a new UUID.", "title": "Id" }, "updated_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Optional \"last updated\" timestamp for this write (ISO 8601).\nIf provided, it must include a timezone offset and cannot be in the future.\nIf omitted, Mem uses the current server time for the initial content write.", "examples": [ "2025-04-02T09:15:22Z", "2023-12-15T09:45:30+01:00" ], "title": "Updated At" } }, "required": [ "content" ], "title": "CreateNoteRequestSchema", "type": "object" }, "CreateNoteResponseSchema": { "example": { "collection_ids": [ "59508b41-8770-4855-aa37-302b1e09aee7", "026b426c-14fb-4f22-8d98-7a9121bfaec8" ], "content": "# Sales Call with Acme Corp\n\nContact: John Smith (john@acme.com)\n\nInterested in enterprise plan. Follow up next week.\n\n## Action Items\n- Schedule follow-up call next week\n- Send enterprise pricing information\n\n## Key Points\n- Interested in enterprise plan\n- Contact: John Smith (john@acme.com)", "created_at": "2025-04-11T04:47:14.457Z", "id": "5e29c8a2-c73b-476b-9311-e2579712d4b1", "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522", "title": "Sales Call with Acme Corp", "updated_at": "2025-04-11T04:47:19.702Z", "version": 2 }, "properties": { "collection_ids": { "description": "Collection UUIDs currently associated with this note.", "items": { "format": "uuid", "type": "string" }, "title": "Collection Ids", "type": "array" }, "content": { "description": "Full markdown content stored for the note.", "title": "Content", "type": "string" }, "created_at": { "description": "Creation timestamp for the note in ISO 8601 format.", "format": "date-time", "title": "Created At", "type": "string" }, "id": { "description": "UUID of the created note.", "format": "uuid", "title": "Id", "type": "string" }, "request_id": { "description": "Identifier for this API request. Useful for tracing and support.", "title": "Request Id", "type": "string" }, "title": { "description": "Current note title, derived from the first line of markdown content.", "title": "Title", "type": "string" }, "updated_at": { "description": "Last modification timestamp for the note in ISO 8601 format.", "format": "date-time", "title": "Updated At", "type": "string" }, "version": { "description": "Current note content document version after this write.", "title": "Version", "type": "integer" } }, "required": [ "request_id", "id", "title", "content", "version", "collection_ids", "created_at", "updated_at" ], "title": "CreateNoteResponseSchema", "type": "object" }, "CreateNoteToolCallArgs": { "properties": { "content": { "title": "Content", "type": "string" }, "source_web_clip_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Source Web Clip Id" } }, "required": [ "content" ], "title": "CreateNoteToolCallArgs", "type": "object" }, "CreateNoteToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "note": { "anyOf": [ { "$ref": "#/components/schemas/AgentNoteModel" }, { "type": "null" } ] }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "CreateNoteToolCallResult", "type": "object" }, "CreateSessionRequestSchema": { "properties": { "config": { "anyOf": [ { "$ref": "#/components/schemas/SessionConfigSchema" }, { "type": "null" } ] }, "description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Description" }, "id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Id" }, "kind": { "anyOf": [ { "$ref": "#/components/schemas/SessionKind" }, { "type": "null" } ] }, "status": { "anyOf": [ { "$ref": "#/components/schemas/SessionStatus" }, { "type": "null" } ] }, "title": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Title" } }, "title": "CreateSessionRequestSchema", "type": "object" }, "DeleteCollectionResponseSchema": { "example": { "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522" }, "properties": { "request_id": { "description": "Identifier for this API request. Useful for tracing and support.", "title": "Request Id", "type": "string" } }, "required": [ "request_id" ], "title": "DeleteCollectionResponseSchema", "type": "object" }, "DeleteCollectionToolCallArgs": { "properties": { "collection_id": { "title": "Collection Id", "type": "string" } }, "required": [ "collection_id" ], "title": "DeleteCollectionToolCallArgs", "type": "object" }, "DeleteCollectionToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "DeleteCollectionToolCallResult", "type": "object" }, "DeletedNoteSessionOperationSchema": { "properties": { "note_id": { "format": "uuid", "title": "Note Id", "type": "string" }, "type": { "const": "deleted-note", "default": "deleted-note", "title": "Type", "type": "string" } }, "required": [ "note_id" ], "title": "DeletedNoteOperation", "type": "object" }, "DeleteNoteResponseSchema": { "example": { "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522" }, "properties": { "request_id": { "description": "Identifier for this API request. Useful for tracing and support.", "title": "Request Id", "type": "string" } }, "required": [ "request_id" ], "title": "DeleteNoteResponseSchema", "type": "object" }, "DeprecatedRouteResponseSchema": { "properties": { "error": { "title": "Error", "type": "string" }, "message": { "title": "Message", "type": "string" } }, "required": [ "error", "message" ], "title": "DeprecatedRouteResponseSchema", "type": "object" }, "DisconnectCalendarRequestSchema": { "properties": { "subject_id": { "description": "Provider subject ID of the account to disconnect.", "title": "Subject Id", "type": "string" } }, "required": [ "subject_id" ], "title": "DisconnectCalendarRequestSchema", "type": "object" }, "DisconnectCalendarResponseSchema": { "properties": { "request_id": { "title": "Request Id", "type": "string" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "request_id", "success" ], "title": "DisconnectCalendarResponseSchema", "type": "object" }, "DocumentPageContent": { "description": "Full content for a single page returned by retrieve_document_pages.", "properties": { "content_type": { "enum": [ "text", "visual" ], "title": "Content Type", "type": "string" }, "page_number": { "title": "Page Number", "type": "integer" }, "plain_text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Plain Text" }, "summary": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Summary" } }, "required": [ "page_number", "content_type" ], "title": "DocumentPageContent", "type": "object" }, "DraftNoteV1SessionPart": { "properties": { "client_meta": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Client Meta" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "kind": { "const": "DRAFT_NOTE_V1", "default": "DRAFT_NOTE_V1", "title": "Kind", "type": "string" }, "markdown_content": { "title": "Markdown Content", "type": "string" } }, "required": [ "id", "markdown_content" ], "title": "DraftNoteV1SessionPart", "type": "object" }, "EmailAttachmentResponseSchema": { "properties": { "bcc_email_addresses": { "items": { "type": "string" }, "title": "Bcc Email Addresses", "type": "array" }, "cc_email_addresses": { "items": { "type": "string" }, "title": "Cc Email Addresses", "type": "array" }, "content": { "title": "Content", "type": "string" }, "content_limit": { "default": 0, "title": "Content Limit", "type": "integer" }, "content_offset": { "default": 0, "title": "Content Offset", "type": "integer" }, "content_total_characters": { "default": 0, "title": "Content Total Characters", "type": "integer" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "has_more": { "default": false, "title": "Has More", "type": "boolean" }, "internal_date": { "format": "date-time", "title": "Internal Date", "type": "string" }, "message_id": { "title": "Message Id", "type": "string" }, "sender": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Sender" }, "snippet": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Snippet" }, "subject": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Subject" }, "thread_id": { "title": "Thread Id", "type": "string" }, "to_email_addresses": { "items": { "type": "string" }, "title": "To Email Addresses", "type": "array" }, "updated_at": { "format": "date-time", "title": "Updated At", "type": "string" } }, "required": [ "message_id", "thread_id", "content", "internal_date", "created_at", "updated_at" ], "title": "EmailAttachmentResponseSchema", "type": "object" }, "EventListQuerySchema": { "properties": { "after_sequence": { "default": 0, "description": "Return events with a sequence greater than this value.\nStore `next_after_sequence` from each response as the next watermark.", "minimum": 0, "title": "After Sequence", "type": "integer" }, "entity_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "description": "Optional primary entity UUID filter.", "title": "Entity Id" }, "entity_kind": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Optional primary entity kind filter, such as `note`.", "title": "Entity Kind" }, "limit": { "default": 100, "description": "Maximum number of events to return. Max: 1000.", "maximum": 1000, "minimum": 1, "title": "Limit", "type": "integer" }, "types": { "anyOf": [ { "items": { "$ref": "#/components/schemas/ExternalEventType" }, "type": "array" }, { "type": "null" } ], "description": "Optional repeated event type filter, for example\n`?types=mem.note.created.v1&types=mem.conversation.message_received.v1`.", "title": "Types" } }, "title": "EventListQuerySchema", "type": "object" }, "EventListResponseSchema": { "properties": { "has_more": { "description": "Whether more matching events are available after this page.", "title": "Has More", "type": "boolean" }, "high_watermark": { "description": "Highest sequenced event currently visible for this account.", "title": "High Watermark", "type": "integer" }, "next_after_sequence": { "description": "Watermark to pass as `after_sequence` on the next poll.\nWhen no more matching events are currently available, this advances to\nthe account high watermark.", "title": "Next After Sequence", "type": "integer" }, "request_id": { "description": "Identifier for this API request. Useful for tracing and support.", "title": "Request Id", "type": "string" }, "results": { "description": "Events in sequence order.", "items": { "$ref": "#/components/schemas/EventResponseSchema" }, "title": "Results", "type": "array" } }, "required": [ "request_id", "results", "has_more", "next_after_sequence", "high_watermark" ], "title": "EventListResponseSchema", "type": "object" }, "EventPrimaryEntityResponseSchema": { "properties": { "id": { "description": "UUID of the primary entity.", "format": "uuid", "title": "Id", "type": "string" }, "kind": { "description": "External kind for the primary entity.", "title": "Kind", "type": "string" } }, "required": [ "kind", "id" ], "title": "EventPrimaryEntityResponseSchema", "type": "object" }, "EventResponseSchema": { "properties": { "data": { "additionalProperties": true, "description": "Thin event payload. Fetch full object state with read tools.", "title": "Data", "type": "object" }, "id": { "description": "Stable UUID for this event.", "format": "uuid", "title": "Id", "type": "string" }, "occurred_at": { "description": "Timestamp for when the event occurred.", "format": "date-time", "title": "Occurred At", "type": "string" }, "primary_entity": { "anyOf": [ { "$ref": "#/components/schemas/EventPrimaryEntityResponseSchema" }, { "type": "null" } ], "description": "Primary entity associated with the event, when available." }, "sequence": { "description": "Per-account sequence number. Use as the event log watermark.", "title": "Sequence", "type": "integer" }, "subject": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Stable subject pointer for routing or deduplication.", "title": "Subject" }, "type": { "$ref": "#/components/schemas/ExternalEventType", "description": "Versioned external event type." } }, "required": [ "id", "sequence", "type", "occurred_at", "subject", "primary_entity", "data" ], "title": "EventResponseSchema", "type": "object" }, "EventTypeListResponseSchema": { "properties": { "request_id": { "description": "Identifier for this API request. Useful for tracing and support.", "title": "Request Id", "type": "string" }, "results": { "description": "Supported external event types.", "items": { "$ref": "#/components/schemas/ExternalEventType" }, "title": "Results", "type": "array" } }, "required": [ "request_id", "results" ], "title": "EventTypeListResponseSchema", "type": "object" }, "ExtendedSearchAttachmentMatchResponseSchema": { "properties": { "attachment_id": { "description": "UUID of the matching attachment.", "format": "uuid", "title": "Attachment Id", "type": "string" }, "attachment_kind": { "$ref": "#/components/schemas/AttachmentType", "description": "Kind of attachment that matched the search." }, "filename": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Attachment filename, when available.", "title": "Filename" }, "highlighted_snippets": { "description": "Highlighted attachment snippets relevant to the search query.", "items": { "type": "string" }, "title": "Highlighted Snippets", "type": "array" }, "importance": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "description": "Relative importance score for the attachment match, when available.", "title": "Importance" }, "is_semantic_match": { "default": false, "description": "Whether the match was produced semantically instead of by exact text.", "title": "Is Semantic Match", "type": "boolean" }, "match_source": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Search source that produced this attachment match.", "title": "Match Source" }, "matched_entities": { "description": "Named entities matched in the attachment, when available.", "items": { "type": "string" }, "title": "Matched Entities", "type": "array" }, "metadata_json": { "additionalProperties": true, "description": "Additional structured match metadata.", "title": "Metadata Json", "type": "object" }, "ocr_text": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Relevant OCR text from an image attachment, when available.", "title": "Ocr Text" }, "page_number": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "One-based page number for PDF matches, when available.", "title": "Page Number" }, "sourcer_kind": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Internal source category for the attachment match, when available.", "title": "Sourcer Kind" }, "summary": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Attachment or page summary, when available.", "title": "Summary" }, "text_excerpt": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Relevant plain-text excerpt from the attachment, when available.", "title": "Text Excerpt" }, "total_pages": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "description": "Total page count for PDF matches, when available.", "title": "Total Pages" }, "visual_description": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Relevant visual description from an image attachment, when available.", "title": "Visual Description" } }, "required": [ "attachment_kind", "attachment_id" ], "title": "ExtendedSearchAttachmentMatchResponseSchema", "type": "object" }, "ExtendedSearchNoteResponseSchema": { "properties": { "attachment_matches": { "description": "Matching note-linked attachments. Use `read_attachment` or\n`answer_question_about_attachment` with `attachment_kind` and\n`attachment_id` for deeper attachment inspection.", "items": { "$ref": "#/components/schemas/ExtendedSearchAttachmentMatchResponseSchema" }, "title": "Attachment Matches", "type": "array" }, "created_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Creation timestamp for the note in ISO 8601 format.", "title": "Created At" }, "id": { "description": "UUID of the note.", "format": "uuid", "title": "Id", "type": "string" }, "note_summary": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Derived summary of the note, when available.", "title": "Note Summary" }, "snippet": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Derived preview text for quick display and ranking context.", "title": "Snippet" }, "title": { "description": "Current title of the note.", "title": "Title", "type": "string" }, "updated_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Last modification timestamp for the note in ISO 8601 format.", "title": "Updated At" } }, "required": [ "id", "title" ], "title": "ExtendedSearchNoteResponseSchema", "type": "object" }, "ExtendedSearchNotesRequestSchema": { "properties": { "exclude_note_ids": { "description": "Note UUIDs to exclude from this result set.\nUse this to avoid returning notes already inspected by the caller.", "items": { "format": "uuid", "type": "string" }, "title": "Exclude Note Ids", "type": "array" }, "filter_by_collection_ids": { "description": "Optional collection UUID filters.\nWhen provided, results are limited to notes in any listed collection.", "items": { "format": "uuid", "type": "string" }, "title": "Filter By Collection Ids", "type": "array" }, "filter_by_updated_after": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Optional inclusive lower bound for note update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.", "examples": [ "2025-04-01T14:30:45Z", "2023-12-15T09:45:30+01:00" ], "title": "Filter By Updated After" }, "filter_by_updated_before": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Optional inclusive upper bound for note update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.", "examples": [ "2025-04-30T23:59:59Z", "2023-12-31T18:00:00+01:00" ], "title": "Filter By Updated Before" }, "limit": { "default": 10, "description": "Maximum number of note hits to return.\nDefault is 10; valid range is 1 to 100.", "maximum": 100, "minimum": 1, "title": "Limit", "type": "integer" }, "next_page_cursor": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Opaque cursor from a previous extended search response.\nOmit for the first page.", "title": "Next Page Cursor" }, "query": { "description": "Required text query for searching notes and note-linked attachments.\nThe query must contain at least one non-whitespace character.", "minLength": 1, "title": "Query", "type": "string" }, "sort_by": { "allOf": [ { "$ref": "#/components/schemas/SearchNotesAiToolSortBy" } ], "default": "RELEVANCE", "description": "Sort order for results. Use `RELEVANCE` for best matches or `DATE`\nfor latest edited notes." } }, "required": [ "query" ], "title": "ExtendedSearchNotesRequestSchema", "type": "object" }, "ExtendedSearchNotesResponseSchema": { "example": { "has_next_page": false, "next_page_cursor": null, "request_id": "api-request-018f8d0d-5a3c-7afc-8321-2f6f6e0fefab", "results": [ { "attachment_matches": [ { "attachment_id": "2511691e-cfd2-47bc-a4b6-0104234ee1af", "attachment_kind": "pdf", "filename": "renewal-terms.pdf", "highlighted_snippets": [ "Renewal pricing is fixed for the first year." ], "is_semantic_match": true, "page_number": 3, "total_pages": 8 } ], "created_at": "2025-03-18T11:00:00Z", "id": "018f8d0d-5a3c-7afc-8321-2f6f6e0fefab", "note_summary": "Notes and attachments related to vendor renewal.", "snippet": "The renewal terms are attached as a PDF.", "title": "Vendor Contract Notes", "updated_at": "2025-04-22T16:12:34Z" } ] }, "properties": { "has_next_page": { "description": "Whether another request can return more matching notes.", "title": "Has Next Page", "type": "boolean" }, "next_page_cursor": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Opaque cursor for the next page of results.", "title": "Next Page Cursor" }, "request_id": { "description": "Identifier for this API request. Useful for tracing and support.", "title": "Request Id", "type": "string" }, "results": { "description": "Matching note results with attachment match context.", "items": { "$ref": "#/components/schemas/ExtendedSearchNoteResponseSchema" }, "title": "Results", "type": "array" } }, "required": [ "request_id", "results", "has_next_page" ], "title": "ExtendedSearchNotesResponseSchema", "type": "object" }, "ExternalEventType": { "enum": [ "mem.note.created.v1", "mem.note.content_changed.v1", "mem.note.editing_session_ended.v1", "mem.note.deleted.v1", "mem.calendar_event.created.v1", "mem.calendar_event.updated.v1", "mem.calendar_event.deleted.v1", "mem.audio_recording.created.v1", "mem.audio_recording.transcribed.v1", "mem.follow_up.due.v1", "mem.conversation.message_received.v1", "mem.routine.reminder_due.v1", "mem.email.received.v1", "mem.chat.reaction.v1", "mem.slack.account_linked.v1", "mem.calendar.connected.v1", "mem.conversation.idle.v1" ], "title": "ExternalEventType", "type": "string" }, "FactCardV1SessionPart": { "properties": { "client_meta": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Client Meta" }, "fact_label": { "title": "Fact Label", "type": "string" }, "fact_source": { "title": "Fact Source", "type": "string" }, "fact_value": { "title": "Fact Value", "type": "string" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "kind": { "const": "FACT_CARD_V1", "default": "FACT_CARD_V1", "title": "Kind", "type": "string" } }, "required": [ "id", "fact_label", "fact_value", "fact_source" ], "title": "FactCardV1SessionPart", "type": "object" }, "FetchChatGPTItemPayloadSchema": { "additionalProperties": false, "properties": { "created_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Created At" }, "markdown_content": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Markdown Content" }, "primary_label": { "title": "Primary Label", "type": "string" }, "secondary_label": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Secondary Label" }, "updated_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Updated At" } }, "required": [ "primary_label" ], "title": "FetchChatGPTItemPayloadSchema", "type": "object" }, "FetchChatGPTItemRequestSchema": { "additionalProperties": false, "properties": { "id": { "description": "Primary identifier for the resource.", "format": "uuid", "title": "Id", "type": "string" }, "kind": { "description": "Resource kind identifier (e.g. note).", "title": "Kind", "type": "string" } }, "required": [ "kind", "id" ], "title": "FetchChatGPTItemRequestSchema", "type": "object" }, "FetchChatGPTItemResponseSchema": { "additionalProperties": false, "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Error message if the resource could not be retrieved.", "title": "Error" }, "id": { "description": "Primary identifier for the resource.", "format": "uuid", "title": "Id", "type": "string" }, "kind": { "description": "Resource kind identifier.", "title": "Kind", "type": "string" }, "payload": { "anyOf": [ { "$ref": "#/components/schemas/FetchChatGPTItemPayloadSchema" }, { "type": "null" } ], "description": "Fetched resource payload when available." } }, "required": [ "kind", "id" ], "title": "FetchChatGPTItemResponseSchema", "type": "object" }, "FetchChatGPTRequestSchema": { "additionalProperties": false, "properties": { "items": { "description": "Collection of resources to fetch in batch.", "items": { "$ref": "#/components/schemas/FetchChatGPTItemRequestSchema" }, "minItems": 1, "title": "Items", "type": "array" } }, "required": [ "items" ], "title": "FetchChatGPTRequestSchema", "type": "object" }, "FetchChatGPTResponseSchema": { "additionalProperties": false, "properties": { "items": { "items": { "$ref": "#/components/schemas/FetchChatGPTItemResponseSchema" }, "title": "Items", "type": "array" } }, "required": [ "items" ], "title": "FetchChatGPTResponseSchema", "type": "object" }, "FileSessionPart": { "deprecated": true, "properties": { "client_meta": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Client Meta" }, "file_id": { "format": "uuid", "title": "File Id", "type": "string" }, "file_mime_type": { "title": "File Mime Type", "type": "string" }, "file_name": { "title": "File Name", "type": "string" }, "file_url": { "title": "File Url", "type": "string" }, "kind": { "const": "FILE", "default": "FILE", "title": "Kind", "type": "string" } }, "required": [ "file_id", "file_url", "file_name", "file_mime_type" ], "title": "FileSessionPart", "type": "object" }, "FindRelatedNotesQuerySchema": { "properties": { "limit": { "default": 10, "description": "Maximum number of related notes to return.\nDefault is 10; valid range is 1 to 20.", "maximum": 20, "minimum": 1, "title": "Limit", "type": "integer" } }, "title": "FindRelatedNotesQuerySchema", "type": "object" }, "FindRelatedNotesResponseSchema": { "example": { "request_id": "api-request-018f8d0d-5a3c-7afc-8321-2f6f6e0fefab", "results": [ { "collection_ids": [ "59508b41-8770-4855-aa37-302b1e09aee7" ], "collections": [ { "created_at": "2025-03-18T11:00:00Z", "description": "Planning documents and project notes.", "id": "59508b41-8770-4855-aa37-302b1e09aee7", "is_shared": false, "note_count": 8, "title": "Work Projects", "updated_at": "2025-04-22T16:12:34Z" } ], "created_at": "2025-03-18T11:00:00Z", "id": "018f8d0d-5a3c-7afc-8321-2f6f6e0fefab", "preview": "# Project Phoenix Planning\n\nLaunch goals and milestones.", "score": 0.91, "snippet": "Launch goals and milestones.", "title": "Project Phoenix Planning", "updated_at": "2025-04-22T16:12:34Z" } ], "total": 1 }, "properties": { "request_id": { "description": "Identifier for this API request. Useful for tracing and support.", "title": "Request Id", "type": "string" }, "results": { "description": "Related notes ordered by vector similarity.", "items": { "$ref": "#/components/schemas/RelatedNoteItemResponseSchema" }, "title": "Results", "type": "array" }, "total": { "description": "Number of related notes returned.", "title": "Total", "type": "integer" } }, "required": [ "request_id", "results", "total" ], "title": "FindRelatedNotesResponseSchema", "type": "object" }, "FindRelatedNotesToolCallArgs": { "properties": { "note_id": { "title": "Note Id", "type": "string" } }, "required": [ "note_id" ], "title": "FindRelatedNotesToolCallArgs", "type": "object" }, "FindRelatedNotesToolCallArgsLegacy": { "properties": { "content": { "title": "Content", "type": "string" }, "note_id": { "title": "Note Id", "type": "string" } }, "required": [ "content", "note_id" ], "title": "FindRelatedNotesToolCallArgsLegacy", "type": "object" }, "FindRelatedNotesToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "notes": { "items": { "$ref": "#/components/schemas/AgentNoteModel" }, "title": "Notes", "type": "array" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "FindRelatedNotesToolCallResult", "type": "object" }, "FollowUpListOrderBy": { "enum": [ "created_at", "updated_at", "scheduled_for" ], "title": "FollowUpListOrderBy", "type": "string" }, "FollowUpListQuerySchema": { "properties": { "limit": { "anyOf": [ { "maximum": 100, "minimum": 1, "type": "integer" }, { "type": "null" } ], "default": 50, "description": "Maximum number of follow-ups in this page.\nDefault is 50; valid range is 1 to 100.", "title": "Limit" }, "order_by": { "allOf": [ { "enum": [ "created_at", "updated_at", "scheduled_for" ], "title": "AssistantFollowUpOrderBy", "type": "string" } ], "default": "scheduled_for", "description": "Sort key for pagination boundaries.\nUse `scheduled_for` (default) to view follow-ups by trigger time.\nUse `updated_at` for recency feeds, or `created_at` for creation-order views." }, "page": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Opaque cursor from a previous list response.\nOmit for the first page.\nIMPORTANT: Reuse with the same `order_by`, `status`, `task_id`, and `project_id` values.", "title": "Page" }, "project_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "description": "Optional filter to follow-ups associated with a single project.", "title": "Project Id" }, "status": { "anyOf": [ { "$ref": "#/components/schemas/FollowUpStatusInput" }, { "type": "null" } ], "description": "Optional filter by follow-up status." }, "task_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "description": "Optional filter to follow-ups associated with a single task.", "title": "Task Id" } }, "title": "FollowUpListQuerySchema", "type": "object" }, "FollowUpListResponseSchema": { "properties": { "next_page": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Opaque cursor for the next page of follow-up results.\n`null` when there are no more results.", "title": "Next Page" }, "request_id": { "description": "Identifier for this API request. Useful for tracing and support.", "title": "Request Id", "type": "string" }, "results": { "description": "Page of follow-up results matching the requested filters and sort.", "items": { "$ref": "#/components/schemas/FollowUpResponseItemSchema" }, "title": "Results", "type": "array" }, "total": { "description": "Total number of matching follow-ups before pagination is applied.", "title": "Total", "type": "integer" } }, "required": [ "request_id", "results", "total" ], "title": "FollowUpListResponseSchema", "type": "object" }, "FollowUpResponseItemSchema": { "properties": { "commitment_kind": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Commitment kind, if set (`due` or `deadline`).", "title": "Commitment Kind" }, "completed_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Timestamp when the follow-up was marked completed, if any.", "title": "Completed At" }, "content": { "description": "Current content/description of the follow-up.", "title": "Content", "type": "string" }, "created_at": { "description": "Creation timestamp for the follow-up in ISO 8601 format.", "format": "date-time", "title": "Created At", "type": "string" }, "deadline_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Hard deadline, if any.", "title": "Deadline At" }, "due_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Soft due date, if any.", "title": "Due At" }, "fired_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Timestamp when the follow-up fired, if it has fired.", "title": "Fired At" }, "id": { "description": "UUID of the follow-up.", "format": "uuid", "title": "Id", "type": "string" }, "project_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "description": "Parent project UUID, if any.", "title": "Project Id" }, "scheduled_for": { "description": "When the follow-up is scheduled to fire.", "format": "date-time", "title": "Scheduled For", "type": "string" }, "source_context_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "description": "Identifier linking this follow-up to the agent run that created it, when applicable.", "title": "Source Context Id" }, "status": { "description": "Current follow-up status (`pending`, `fired`, `completed`, or `canceled`).", "title": "Status", "type": "string" }, "task_id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "description": "Parent task UUID, if any.", "title": "Task Id" }, "trigger_not_after": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Latest trigger time (for `time_window` triggers).", "title": "Trigger Not After" }, "trigger_not_before": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "Earliest trigger time (for `time_window` triggers).", "title": "Trigger Not Before" }, "trigger_type": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Trigger type for the follow-up, if set.", "title": "Trigger Type" }, "updated_at": { "description": "Last modification timestamp for the follow-up in ISO 8601 format.", "format": "date-time", "title": "Updated At", "type": "string" } }, "required": [ "id", "content", "status", "scheduled_for", "task_id", "project_id", "fired_at", "completed_at", "trigger_type", "commitment_kind", "due_at", "deadline_at", "trigger_not_before", "trigger_not_after", "source_context_id", "created_at", "updated_at" ], "title": "FollowUpResponseItemSchema", "type": "object" }, "FollowUpStatusInput": { "enum": [ "pending", "fired", "completed", "canceled" ], "title": "FollowUpStatusInput", "type": "string" }, "GetHelpCenterInfoToolCallArgs": { "properties": { "query": { "title": "Query", "type": "string" } }, "required": [ "query" ], "title": "GetHelpCenterInfoToolCallArgs", "type": "object" }, "GetHelpCenterInfoToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "help_content": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Help Content" }, "success": { "title": "Success", "type": "boolean" } }, "required": [ "success" ], "title": "GetHelpCenterInfoToolCallResult", "type": "object" }, "GetNoteAttachmentDownloadUrlResponseSchema": { "example": { "download_url": "https://storage.googleapis.com/mem-private-uploads/files/doc.pdf?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Signature=...", "id": "5e29c8a2-c73b-476b-9311-e2579712d4b1", "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522" }, "properties": { "download_url": { "description": "A signed URL that can be used to download the attachment.", "title": "Download Url", "type": "string" }, "id": { "description": "UUID of the requested note attachment.", "format": "uuid", "title": "Id", "type": "string" }, "request_id": { "description": "Identifier for this API request. Useful for tracing and support.", "title": "Request Id", "type": "string" } }, "required": [ "request_id", "id", "download_url" ], "title": "GetNoteAttachmentDownloadUrlResponseSchema", "type": "object" }, "GetUserAccountStatisticsToolCallArgs": { "additionalProperties": true, "description": "Empty args model since this tool doesn't require any parameters.", "properties": {}, "title": "GetUserAccountStatisticsToolCallArgs", "type": "object" }, "GetUserAccountStatisticsToolCallResult": { "properties": { "error": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Error" }, "notes_in_collections": { "default": 0, "title": "Notes In Collections", "type": "integer" }, "notes_in_trash": { "default": 0, "title": "Notes In Trash", "type": "integer" }, "notes_last_24_hours": { "default": 0, "title": "Notes Last 24 Hours", "type": "integer" }, "notes_last_30_days": { "default": 0, "title": "Notes Last 30 Days", "type": "integer" }, "notes_last_7_days": { "default": 0, "title": "Notes Last 7 Days", "type": "integer" }, "success": { "title": "Success", "type": "boolean" }, "total_collections": { "default": 0, "title": "Total Collections", "type": "integer" }, "total_notes": { "default": 0, "title": "Total Notes", "type": "integer" } }, "required": [ "success" ], "title": "GetUserAccountStatisticsToolCallResult", "type": "object" }, "ImageSessionPart": { "deprecated": true, "properties": { "client_meta": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Client Meta" }, "image_id": { "format": "uuid", "title": "Image Id", "type": "string" }, "image_mime_type": { "title": "Image Mime Type", "type": "string" }, "image_url": { "title": "Image Url", "type": "string" }, "kind": { "const": "IMAGE", "default": "IMAGE", "title": "Kind", "type": "string" } }, "required": [ "image_id", "image_url", "image_mime_type" ], "title": "ImageSessionPart", "type": "object" }, "InterruptedToolCallResult": { "properties": { "error": { "const": "interrupted", "default": "interrupted", "title": "Error", "type": "string" }, "success": { "const": false, "default": false, "title": "Success", "type": "boolean" } }, "title": "InterruptedToolCallResult", "type": "object" }, "InterruptV1SessionPart": { "properties": { "client_meta": { "anyOf": [ { "additionalProperties": true, "type": "object" }, { "type": "null" } ], "title": "Client Meta" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "kind": { "const": "INTERRUPT_V1", "default": "INTERRUPT_V1", "title": "Kind", "type": "string" }, "summary": { "title": "Summary", "type": "string" } }, "required": [ "id", "summary" ], "title": "InterruptV1SessionPart", "type": "object" }, "LegacyApiRequestProcessingStatusSchema": { "enum": [ "completed", "failed", "unknown" ], "title": "LegacyApiRequestProcessingStatusSchema", "type": "string" }, "LegacyCreateNoteRequestSchema": { "properties": { "add_to_collections": { "anyOf": [ { "items": { "anyOf": [ { "type": "string" }, { "format": "uuid", "type": "string" } ] }, "type": "array" }, { "type": "null" } ], "description": "Array of strings representing collection titles or IDs to add the note to. If a collection doesn't exist, a new one will be created.\n\nExamples:\n• [\"Meetings\", \"Product\", \"Q2 Planning\"]\n• [\"8a7b6c5d-4e3f-2a1b-0c9d-8e7f6a5b4c3d\", \"Marketing\"]", "title": "Add To Collections" }, "apply_template": { "anyOf": [ { "type": "string" }, { "format": "uuid", "type": "string" }, { "type": "null" } ], "description": "String representing a template title or ID to apply to the note content.", "examples": [ "Meeting Notes", "8a7b6c5d-4e3f-2a1b-0c9d-8e7f6a5b4c3d" ], "title": "Apply Template" }, "auto_format": { "anyOf": [ { "type": "boolean" }, { "type": "string" }, { "type": "null" } ], "description": "Boolean or string that controls automatic formatting. If true, Mem will automatically format the note content. If a string is provided, it will be used as custom formatting instructions.\n\nExamples:\n• True\n• \"Use bullet points throughout and highlight key action items\"", "title": "Auto Format" }, "auto_organize": { "anyOf": [ { "type": "boolean" }, { "type": "string" }, { "type": "null" } ], "description": "Boolean or string that controls automatic organization. If true, Mem will automatically organize the note into relevant collections. If a string is provided, it will be used as custom organization instructions.\n\nExamples:\n• True\n• \"Add this note to exactly one of my Marketing, Sales, or Recruiting collections\"", "title": "Auto Organize" }, "content": { "description": "Markdown formatted string representing the note content. The first line is automatically interpreted as the title.", "examples": [ "# Meeting with Product Team\n\nDiscussion Topics:\n- Roadmap updates\n- Feature prioritization\n\nAction Items:\n- Schedule follow-up with design\n- Share Q2 priorities document" ], "title": "Content", "type": "string" }, "created_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "When this note was created (ISO 8601 datetime string). Defaults to the current date and time.\n\nExample:\n• \"2025-04-01T14:30:45Z\"\n• \"2023-12-15T09:45:30+01:00\"", "title": "Created At" }, "id": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "description": "Optional UUID for the note. If provided, Mem will create a new note with the given ID.\n\nExamples:\n• \"123e4567-e89b-12d3-a456-426614174000\"", "title": "Id" }, "updated_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "description": "When this note was last updated (ISO 8601 datetime string). Defaults to the same as created_at.\n\nExamples:\n• \"2025-04-02T09:15:22Z\"\n• \"2023-12-15T09:45:30+01:00\"", "title": "Updated At" } }, "required": [ "content" ], "title": "LegacyCreateNoteRequestSchema", "type": "object" }, "LegacyCreateNoteResponseSchema": { "example": { "content": "# Sales Call with Acme Corp\n\nContact: John Smith (john@acme.com)\n\nInterested in enterprise plan. Follow up next week.\n\n## Action Items\n- Schedule follow-up call next week\n- Send enterprise pricing information\n\n## Key Points\n- Interested in enterprise plan\n- Contact: John Smith (john@acme.com)", "created_at": "2025-04-11T04:47:14.457Z", "id": "5e29c8a2-c73b-476b-9311-e2579712d4b1", "operations": [ { "collection_id": "3e4f5a6b-7c8d-9e0f-1a2b-3c4d5e6f7a8b", "collection_title": "Acme Corp", "collection_url": "https://mem.ai/collections/3e4f5a6b-7c8d-9e0f-1a2b-3c4d5e6f7a8b", "type": "created-collection" }, { "collection_id": "3e4f5a6b-7c8d-9e0f-1a2b-3c4d5e6f7a8b", "collection_title": "Acme Corp", "collection_url": "https://mem.ai/collections/3e4f5a6b-7c8d-9e0f-1a2b-3c4d5e6f7a8b", "note_id": "5e29c8a2-c73b-476b-9311-e2579712d4b1", "note_title": "Sales Call with Acme Corp", "note_url": "https://mem.ai/notes/5e29c8a2-c73b-476b-9311-e2579712d4b1", "type": "added-note-to-collection" }, "..." ], "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522", "status": "completed", "title": "Sales Call with Acme Corp", "updated_at": "2025-04-11T04:47:19.702Z", "url": "https://mem.ai/notes/5e29c8a2-c73b-476b-9311-e2579712d4b1" }, "properties": { "content": { "title": "Content", "type": "string" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "operations": { "items": { "anyOf": [ { "$ref": "#/components/schemas/CreatedNoteSessionOperationSchema" }, { "$ref": "#/components/schemas/CreatedCollectionSessionOperationSchema" }, { "$ref": "#/components/schemas/AddedNoteToCollectionSessionOperationSchema" }, { "$ref": "#/components/schemas/DeletedNoteSessionOperationSchema" } ] }, "title": "Operations", "type": "array" }, "request_id": { "title": "Request Id", "type": "string" }, "status": { "$ref": "#/components/schemas/LegacyApiRequestProcessingStatusSchema" }, "title": { "title": "Title", "type": "string" }, "updated_at": { "format": "date-time", "title": "Updated At", "type": "string" }, "url": { "title": "Url", "type": "string" } }, "required": [ "request_id", "id", "url", "title", "created_at", "updated_at", "content", "operations", "status" ], "title": "LegacyCreateNoteResponseSchema", "type": "object" }, "LegacyDeleteNoteResponseSchema": { "example": { "operations": [ { "note_id": "5e29c8a2-c73b-476b-9311-e2579712d4b1", "type": "deleted-note" } ], "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522", "status": "completed" }, "properties": { "operations": { "items": { "anyOf": [ { "$ref": "#/components/schemas/CreatedNoteSessionOperationSchema" }, { "$ref": "#/components/schemas/CreatedCollectionSessionOperationSchema" }, { "$ref": "#/components/schemas/AddedNoteToCollectionSessionOperationSchema" }, { "$ref": "#/components/schemas/DeletedNoteSessionOperationSchema" } ] }, "title": "Operations", "type": "array" }, "request_id": { "title": "Request Id", "type": "string" }, "status": { "$ref": "#/components/schemas/LegacyApiRequestProcessingStatusSchema" } }, "required": [ "request_id", "operations", "status" ], "title": "LegacyDeleteNoteResponseSchema", "type": "object" }, "LegacyMemItRequestSchema": { "properties": { "context": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "description": "Additional background information that helps Mem understand how this input relates to your existing knowledge.\n\nExamples:\n• \"This is related to my Project Alpha research\"\n• \"This is from the quarterly planning meeting\"\n• \"This is a follow-up to our discussion yesterday\"", "title": "Context" }, "input": { "description": "Any raw content you want to remember - web pages, emails, transcripts, articles, or simple text.\n\nCommon Use Cases:\n• HTML from a webpage\n• Email text (including headers)\n• Meeting transcript\n• Text from a document\n• Simple notes or thoughts\n\nExamples:\n• \"