{
  "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"
      },
      "BackgroundSessionEventNotificationOrigin": {
        "properties": {
          "kind": {
            "const": "BACKGROUND",
            "default": "BACKGROUND",
            "title": "Kind",
            "type": "string"
          }
        },
        "title": "BackgroundSessionEventNotificationOrigin",
        "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"
      },
      "CommercialMeterKey": {
        "description": "Stable customer-facing capacity dimensions.\n\nThe serialized values are shared contract keys. Product copy may use more\ndescriptive labels without changing these identifiers.",
        "enum": [
          "user_requests",
          "new_notes",
          "active_notes",
          "open_tasks_projects",
          "active_custom_routines",
          "routine_executions",
          "active_connections",
          "voice_mode_hours"
        ],
        "title": "CommercialMeterKey",
        "type": "string"
      },
      "CommercialUsageLimitRejection": {
        "description": "Provider-neutral outcome returned by every commercial usage gate.\n\n``accepted`` distinguishes a rejected foreground mutation from a fail-open\nmutation such as saving an existing note while proactive work is paused.\nClients use the typed recovery actions instead of interpreting prose.",
        "properties": {
          "accepted": {
            "title": "Accepted",
            "type": "boolean"
          },
          "code": {
            "const": "COMMERCIAL_USAGE_LIMIT_REACHED",
            "default": "COMMERCIAL_USAGE_LIMIT_REACHED",
            "title": "Code",
            "type": "string"
          },
          "meter_key": {
            "$ref": "#/components/schemas/CommercialMeterKey"
          },
          "recovery_actions": {
            "items": {
              "$ref": "#/components/schemas/CommercialUsageRecoveryAction"
            },
            "minItems": 1,
            "title": "Recovery Actions",
            "type": "array"
          }
        },
        "required": [
          "meter_key",
          "recovery_actions",
          "accepted"
        ],
        "title": "CommercialUsageLimitRejection",
        "type": "object"
      },
      "CommercialUsageRecoveryAction": {
        "description": "Stable client actions for recovering from unavailable capacity.",
        "enum": [
          "review_plans",
          "review_extra_usage",
          "reduce_usage",
          "retry_after_reset"
        ],
        "title": "CommercialUsageRecoveryAction",
        "type": "string"
      },
      "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__AcceptRoutineShareLinkResponseSchema": {
        "properties": {
          "accepted_routine_id": {
            "format": "uuid",
            "title": "Accepted Routine Id",
            "type": "string"
          },
          "adaptation_work_item_id": {
            "format": "uuid",
            "title": "Adaptation Work Item Id",
            "type": "string"
          },
          "already_accepted": {
            "title": "Already Accepted",
            "type": "boolean"
          },
          "link": {
            "$ref": "#/components/schemas/CoreApi__RoutineShareLinkResponseSchema"
          }
        },
        "required": [
          "link",
          "accepted_routine_id",
          "adaptation_work_item_id",
          "already_accepted"
        ],
        "title": "AcceptRoutineShareLinkResponseSchema",
        "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__AcceptSharedMemAgentSkillResponseSchema": {
        "additionalProperties": false,
        "properties": {
          "accepted_skill_id": {
            "format": "uuid",
            "title": "Accepted Skill Id",
            "type": "string"
          },
          "adaptation_work_item_id": {
            "format": "uuid",
            "title": "Adaptation Work Item Id",
            "type": "string"
          },
          "already_accepted": {
            "title": "Already Accepted",
            "type": "boolean"
          }
        },
        "required": [
          "accepted_skill_id",
          "adaptation_work_item_id",
          "already_accepted"
        ],
        "title": "AcceptSharedMemAgentSkillResponseSchema",
        "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__AgentTrialAppleFinalizeRequestSchema": {
        "properties": {
          "state": {
            "minLength": 1,
            "title": "State",
            "type": "string"
          }
        },
        "required": [
          "state"
        ],
        "title": "AgentTrialAppleFinalizeRequestSchema",
        "type": "object"
      },
      "CoreApi__AgentTrialArtifactPreviewSchema": {
        "properties": {
          "artifact_id": {
            "format": "uuid",
            "title": "Artifact Id",
            "type": "string"
          },
          "kind": {
            "const": "note",
            "title": "Kind",
            "type": "string"
          },
          "markdown_content": {
            "title": "Markdown Content",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "artifact_id",
          "kind",
          "title",
          "markdown_content"
        ],
        "title": "AgentTrialArtifactPreviewSchema",
        "type": "object"
      },
      "CoreApi__AgentTrialAuthorizationUrlResponseSchema": {
        "properties": {
          "authorization_url": {
            "title": "Authorization Url",
            "type": "string"
          }
        },
        "required": [
          "authorization_url"
        ],
        "title": "AgentTrialAuthorizationUrlResponseSchema",
        "type": "object"
      },
      "CoreApi__AgentTrialClaimResponseSchema": {
        "properties": {
          "account_id": {
            "format": "uuid",
            "title": "Account Id",
            "type": "string"
          },
          "oauth_access_token": {
            "title": "Oauth Access Token",
            "type": "string"
          },
          "outcome": {
            "enum": [
              "claimed_new",
              "existing_discarded"
            ],
            "title": "Outcome",
            "type": "string"
          },
          "session_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Session Id"
          }
        },
        "required": [
          "account_id",
          "oauth_access_token",
          "outcome",
          "session_id"
        ],
        "title": "AgentTrialClaimResponseSchema",
        "type": "object"
      },
      "CoreApi__AgentTrialErrorDetailSchema": {
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "message": {
            "title": "Message",
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ],
        "title": "AgentTrialErrorDetailSchema",
        "type": "object"
      },
      "CoreApi__AgentTrialErrorResponseSchema": {
        "properties": {
          "detail": {
            "$ref": "#/components/schemas/CoreApi__AgentTrialErrorDetailSchema"
          }
        },
        "required": [
          "detail"
        ],
        "title": "AgentTrialErrorResponseSchema",
        "type": "object"
      },
      "CoreApi__AgentTrialGoogleFinalizeRequestSchema": {
        "properties": {
          "oauth_code": {
            "title": "Oauth Code",
            "type": "string"
          },
          "state": {
            "minLength": 1,
            "title": "State",
            "type": "string"
          }
        },
        "required": [
          "state",
          "oauth_code"
        ],
        "title": "AgentTrialGoogleFinalizeRequestSchema",
        "type": "object"
      },
      "CoreApi__AgentTrialInputModality": {
        "enum": [
          "text",
          "voice"
        ],
        "title": "AgentTrialInputModality",
        "type": "string"
      },
      "CoreApi__AgentTrialPrerecordedTranscriptionResponseSchema": {
        "properties": {
          "transcript": {
            "title": "Transcript",
            "type": "string"
          }
        },
        "required": [
          "transcript"
        ],
        "title": "AgentTrialPrerecordedTranscriptionResponseSchema",
        "type": "object"
      },
      "CoreApi__AgentTrialProactiveAccessSchema": {
        "properties": {
          "delivery_mode": {
            "const": "native_chat_only",
            "default": "native_chat_only",
            "title": "Delivery Mode",
            "type": "string"
          },
          "expires_at": {
            "format": "date-time",
            "title": "Expires At",
            "type": "string"
          },
          "status": {
            "enum": [
              "active",
              "inactive"
            ],
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "status",
          "expires_at"
        ],
        "title": "AgentTrialProactiveAccessSchema",
        "type": "object"
      },
      "CoreApi__AgentTrialPusherAuthRequestSchema": {
        "properties": {
          "channel_name": {
            "title": "Channel Name",
            "type": "string"
          },
          "socket_id": {
            "title": "Socket Id",
            "type": "string"
          }
        },
        "required": [
          "channel_name",
          "socket_id"
        ],
        "title": "AgentTrialPusherAuthRequestSchema",
        "type": "object"
      },
      "CoreApi__AgentTrialPusherAuthResponseSchema": {
        "properties": {
          "auth": {
            "title": "Auth",
            "type": "string"
          }
        },
        "required": [
          "auth"
        ],
        "title": "AgentTrialPusherAuthResponseSchema",
        "type": "object"
      },
      "CoreApi__AgentTrialSnapshot": {
        "properties": {
          "assistant_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assistant Id"
          },
          "claim_outcome": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Claim Outcome"
          },
          "events": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__SessionEventResponseSchema"
            },
            "title": "Events",
            "type": "array"
          },
          "expires_at": {
            "format": "date-time",
            "title": "Expires At",
            "type": "string"
          },
          "proactive_access": {
            "$ref": "#/components/schemas/CoreApi__AgentTrialProactiveAccessSchema"
          },
          "send_count": {
            "title": "Send Count",
            "type": "integer"
          },
          "sends_remaining": {
            "title": "Sends Remaining",
            "type": "integer"
          },
          "session_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Session Id"
          },
          "session_status": {
            "$ref": "#/components/schemas/CoreApi__SessionStatus"
          },
          "state": {
            "$ref": "#/components/schemas/CoreApi__AgentTrialState"
          }
        },
        "required": [
          "state",
          "expires_at",
          "send_count",
          "sends_remaining",
          "session_id",
          "assistant_id",
          "session_status",
          "events",
          "proactive_access",
          "claim_outcome"
        ],
        "title": "AgentTrialSnapshot",
        "type": "object"
      },
      "CoreApi__AgentTrialState": {
        "enum": [
          "unprovisioned",
          "provisioning",
          "active",
          "claiming",
          "claimed",
          "expired",
          "discarded"
        ],
        "title": "AgentTrialState",
        "type": "string"
      },
      "CoreApi__AgentTrialTranscriptionTokenRequestSchema": {
        "properties": {
          "recording_id": {
            "format": "uuid",
            "title": "Recording Id",
            "type": "string"
          }
        },
        "required": [
          "recording_id"
        ],
        "title": "AgentTrialTranscriptionTokenRequestSchema",
        "type": "object"
      },
      "CoreApi__AgentTrialTranscriptionTokenResponseSchema": {
        "properties": {
          "expires_at": {
            "format": "date-time",
            "title": "Expires At",
            "type": "string"
          },
          "token": {
            "title": "Token",
            "type": "string"
          }
        },
        "required": [
          "token",
          "expires_at"
        ],
        "title": "AgentTrialTranscriptionTokenResponseSchema",
        "type": "object"
      },
      "CoreApi__AiAgentToolCallJson": {
        "properties": {
          "args": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Args"
          },
          "completed_at": {
            "title": "Completed At",
            "type": "string"
          },
          "error": {
            "title": "Error",
            "type": "string"
          },
          "invoked_at": {
            "title": "Invoked At",
            "type": "string"
          },
          "result": {
            "title": "Result"
          },
          "tool": {
            "title": "Tool",
            "type": "string"
          },
          "tool_call_id": {
            "title": "Tool Call Id",
            "type": "string"
          }
        },
        "title": "AiAgentToolCallJson",
        "type": "object"
      },
      "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__AppleIntroductoryOfferResponseSchema": {
        "properties": {
          "compact_jws": {
            "title": "Compact Jws",
            "type": "string"
          },
          "offer_kind": {
            "const": "introductory",
            "title": "Offer Kind",
            "type": "string"
          },
          "product_id": {
            "title": "Product Id",
            "type": "string"
          }
        },
        "required": [
          "offer_kind",
          "product_id",
          "compact_jws"
        ],
        "title": "AppleIntroductoryOfferResponseSchema",
        "type": "object"
      },
      "CoreApi__AppleInvalidStateResponse": {
        "properties": {
          "error": {
            "const": "invalid_state",
            "title": "Error",
            "type": "string"
          }
        },
        "required": [
          "error"
        ],
        "title": "AppleInvalidStateResponse",
        "type": "object"
      },
      "CoreApi__AppleNoOfferResponseSchema": {
        "properties": {
          "offer_kind": {
            "const": "none",
            "title": "Offer Kind",
            "type": "string"
          },
          "reason": {
            "$ref": "#/components/schemas/CoreApi__AppleOfferNoneReason"
          }
        },
        "required": [
          "offer_kind",
          "reason"
        ],
        "title": "AppleNoOfferResponseSchema",
        "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__AppleOfferNoneReason": {
        "enum": [
          "already_proactive",
          "ineligible"
        ],
        "title": "AppleOfferNoneReason",
        "type": "string"
      },
      "CoreApi__ApplePromotionalOfferResponseSchema": {
        "properties": {
          "compact_jws": {
            "title": "Compact Jws",
            "type": "string"
          },
          "offer_identifier": {
            "title": "Offer Identifier",
            "type": "string"
          },
          "offer_kind": {
            "const": "promotional",
            "title": "Offer Kind",
            "type": "string"
          },
          "product_id": {
            "title": "Product Id",
            "type": "string"
          }
        },
        "required": [
          "offer_kind",
          "product_id",
          "offer_identifier",
          "compact_jws"
        ],
        "title": "ApplePromotionalOfferResponseSchema",
        "type": "object"
      },
      "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"
          },
          "include_native_chat_onboarding": {
            "default": true,
            "title": "Include Native Chat Onboarding",
            "type": "boolean"
          },
          "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__AppleStandardOfferResponseSchema": {
        "properties": {
          "offer_kind": {
            "const": "standard",
            "title": "Offer Kind",
            "type": "string"
          }
        },
        "required": [
          "offer_kind"
        ],
        "title": "AppleStandardOfferResponseSchema",
        "type": "object"
      },
      "CoreApi__ApplyCommercialPlanChangeRequestSchema": {
        "properties": {
          "confirms_allowance_changes": {
            "default": false,
            "title": "Confirms Allowance Changes",
            "type": "boolean"
          },
          "confirms_one_way_legacy_exit": {
            "default": false,
            "title": "Confirms One Way Legacy Exit",
            "type": "boolean"
          },
          "migration_consent_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Migration Consent Version"
          },
          "paid_extra_usage_blocks": {
            "default": 0,
            "minimum": 0,
            "title": "Paid Extra Usage Blocks",
            "type": "integer"
          },
          "target_plan_key": {
            "$ref": "#/components/schemas/CoreApi__CommercialPlanKey"
          }
        },
        "required": [
          "target_plan_key"
        ],
        "title": "ApplyCommercialPlanChangeRequestSchema",
        "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__AssignIntentOnboardingRequestSchema": {
        "properties": {
          "has_fresh_web_signup_receipt": {
            "default": false,
            "title": "Has Fresh Web Signup Receipt",
            "type": "boolean"
          },
          "platform": {
            "title": "Platform",
            "type": "string"
          },
          "surface": {
            "title": "Surface",
            "type": "string"
          }
        },
        "required": [
          "platform",
          "surface"
        ],
        "title": "AssignIntentOnboardingRequestSchema",
        "type": "object"
      },
      "CoreApi__AssistantConnectionActivationResponseSchema": {
        "properties": {
          "activation_message": {
            "title": "Activation Message",
            "type": "string"
          },
          "activation_url": {
            "title": "Activation Url",
            "type": "string"
          },
          "expires_at": {
            "title": "Expires At",
            "type": "string"
          }
        },
        "required": [
          "activation_url",
          "activation_message",
          "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__BackgroundSessionEventNotificationOrigin": {
        "properties": {
          "kind": {
            "const": "BACKGROUND",
            "default": "BACKGROUND",
            "title": "Kind",
            "type": "string"
          }
        },
        "title": "BackgroundSessionEventNotificationOrigin",
        "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_api_v2_agent_trials_voice_transcribe_create": {
        "properties": {
          "audio": {
            "contentMediaType": "application/octet-stream",
            "title": "Audio",
            "type": "string"
          },
          "duration_ms": {
            "maximum": 120000,
            "minimum": 1,
            "title": "Duration Ms",
            "type": "integer"
          },
          "recording_id": {
            "format": "uuid",
            "title": "Recording Id",
            "type": "string"
          }
        },
        "required": [
          "audio",
          "recording_id",
          "duration_ms"
        ],
        "title": "Body_api_v2_agent_trials_voice_transcribe_create",
        "type": "object"
      },
      "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"
          },
          "show_calendar_events_with_no_attendees": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Show Calendar Events With No Attendees"
          }
        },
        "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",
            "description": "Audio capture origin for this turn. local_microphone means the recording device's microphone; system_audio means audio captured from the recording device's system output; unknown means not reliably classified."
          },
          "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__ClaimIMessageLeadConnectionRequestSchema": {
        "properties": {
          "claim_token": {
            "maxLength": 128,
            "minLength": 1,
            "title": "Claim Token",
            "type": "string"
          }
        },
        "required": [
          "claim_token"
        ],
        "title": "ClaimIMessageLeadConnectionRequestSchema",
        "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__CollectionListSmartCardResponseSchema": {
        "properties": {
          "copied_from_smart_card_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Copied From Smart Card Id"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "COLLECTION_LIST",
            "title": "Kind",
            "type": "string"
          },
          "originated_from_find_more": {
            "title": "Originated From Find More",
            "type": "boolean"
          },
          "smart_view_id": {
            "format": "uuid",
            "title": "Smart View Id",
            "type": "string"
          },
          "sort_key": {
            "title": "Sort Key",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/CoreApi__CollectionListValueSchema"
          }
        },
        "required": [
          "id",
          "smart_view_id",
          "sort_key",
          "kind",
          "copied_from_smart_card_id",
          "originated_from_find_more",
          "value"
        ],
        "title": "CollectionListSmartCardResponseSchema",
        "type": "object"
      },
      "CoreApi__CollectionListValueSchema": {
        "properties": {
          "internal_reason_for_selection": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Reason For Selection"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__CollectionSmartCardItem"
            },
            "title": "Items",
            "type": "array"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "required": [
          "items"
        ],
        "title": "CollectionListValueSchema",
        "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__CollectionSmartCardItem": {
        "properties": {
          "collection_id": {
            "format": "uuid",
            "title": "Collection Id",
            "type": "string"
          },
          "internal_reason_for_selection": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Reason For Selection"
          },
          "kind": {
            "const": "COLLECTION",
            "default": "COLLECTION",
            "title": "Kind",
            "type": "string"
          },
          "primary_label": {
            "title": "Primary Label",
            "type": "string"
          },
          "secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secondary Label"
          },
          "sort_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sort Key"
          }
        },
        "required": [
          "primary_label",
          "secondary_label",
          "collection_id"
        ],
        "title": "CollectionSmartCardItem",
        "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__CommercialAllowanceComparisonResponseSchema": {
        "properties": {
          "current_amount": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Current Amount"
          },
          "current_kind": {
            "$ref": "#/components/schemas/CoreApi__CommercialAllowanceKind"
          },
          "is_reduction": {
            "title": "Is Reduction",
            "type": "boolean"
          },
          "meter_key": {
            "$ref": "#/components/schemas/CoreApi__mem__billing_engine_client__models__core__CommercialMeterKey"
          },
          "target_amount": {
            "title": "Target Amount",
            "type": "number"
          }
        },
        "required": [
          "meter_key",
          "current_kind",
          "target_amount",
          "is_reduction"
        ],
        "title": "CommercialAllowanceComparisonResponseSchema",
        "type": "object"
      },
      "CoreApi__CommercialAllowanceKind": {
        "enum": [
          "limited",
          "unlimited",
          "unknown"
        ],
        "title": "CommercialAllowanceKind",
        "type": "string"
      },
      "CoreApi__CommercialCatalogEnrollmentResponseSchema": {
        "additionalProperties": false,
        "properties": {
          "enrolled": {
            "title": "Enrolled",
            "type": "boolean"
          }
        },
        "required": [
          "enrolled"
        ],
        "title": "CommercialCatalogEnrollmentResponseSchema",
        "type": "object"
      },
      "CoreApi__CommercialPlanChangePreviewResponseSchema": {
        "properties": {
          "allowance_comparisons": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__CommercialAllowanceComparisonResponseSchema"
            },
            "title": "Allowance Comparisons",
            "type": "array"
          },
          "amount_due_now_cents": {
            "title": "Amount Due Now Cents",
            "type": "integer"
          },
          "currency": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Currency"
          },
          "current_paid_extra_usage_blocks": {
            "title": "Current Paid Extra Usage Blocks",
            "type": "integer"
          },
          "current_plan_key": {
            "title": "Current Plan Key",
            "type": "string"
          },
          "current_recurring_amount_cents": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Current Recurring Amount Cents"
          },
          "effective_at": {
            "format": "date-time",
            "title": "Effective At",
            "type": "string"
          },
          "is_legacy_migration": {
            "title": "Is Legacy Migration",
            "type": "boolean"
          },
          "one_way_legacy_exit": {
            "title": "One Way Legacy Exit",
            "type": "boolean"
          },
          "provider_invoice_total_cents": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provider Invoice Total Cents"
          },
          "required_migration_consent_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Required Migration Consent Version"
          },
          "target_paid_extra_usage_blocks": {
            "title": "Target Paid Extra Usage Blocks",
            "type": "integer"
          },
          "target_plan_key": {
            "$ref": "#/components/schemas/CoreApi__CommercialPlanKey"
          },
          "target_recurring_amount_cents": {
            "title": "Target Recurring Amount Cents",
            "type": "integer"
          },
          "timing": {
            "$ref": "#/components/schemas/CoreApi__CommercialPlanChangeTiming"
          }
        },
        "required": [
          "current_plan_key",
          "target_plan_key",
          "timing",
          "effective_at",
          "current_paid_extra_usage_blocks",
          "target_paid_extra_usage_blocks",
          "target_recurring_amount_cents",
          "amount_due_now_cents",
          "is_legacy_migration",
          "one_way_legacy_exit",
          "allowance_comparisons"
        ],
        "title": "CommercialPlanChangePreviewResponseSchema",
        "type": "object"
      },
      "CoreApi__CommercialPlanChangeResponseSchema": {
        "properties": {
          "preview": {
            "$ref": "#/components/schemas/CoreApi__CommercialPlanChangePreviewResponseSchema"
          },
          "provider_subscription_id": {
            "title": "Provider Subscription Id",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/CoreApi__CommercialPlanChangeStatus"
          }
        },
        "required": [
          "status",
          "preview",
          "provider_subscription_id"
        ],
        "title": "CommercialPlanChangeResponseSchema",
        "type": "object"
      },
      "CoreApi__CommercialPlanChangeStatus": {
        "enum": [
          "applied",
          "pending_payment",
          "scheduled",
          "unchanged"
        ],
        "title": "CommercialPlanChangeStatus",
        "type": "string"
      },
      "CoreApi__CommercialPlanChangeTiming": {
        "enum": [
          "immediate",
          "renewal",
          "unchanged"
        ],
        "title": "CommercialPlanChangeTiming",
        "type": "string"
      },
      "CoreApi__CommercialPlanKey": {
        "enum": [
          "mem_free_v1",
          "mem_plus_monthly_v1",
          "mem_pro_monthly_v1",
          "mem_pro_2x_monthly_v1",
          "mem_pro_5x_monthly_v1",
          "mem_pro_10x_monthly_v1",
          "mem_pro_20x_monthly_v1"
        ],
        "title": "CommercialPlanKey",
        "type": "string"
      },
      "CoreApi__CommercialUsageLimitRejection": {
        "description": "Provider-neutral outcome returned by every commercial usage gate.\n\n``accepted`` distinguishes a rejected foreground mutation from a fail-open\nmutation such as saving an existing note while proactive work is paused.\nClients use the typed recovery actions instead of interpreting prose.",
        "properties": {
          "accepted": {
            "title": "Accepted",
            "type": "boolean"
          },
          "code": {
            "const": "COMMERCIAL_USAGE_LIMIT_REACHED",
            "default": "COMMERCIAL_USAGE_LIMIT_REACHED",
            "title": "Code",
            "type": "string"
          },
          "meter_key": {
            "$ref": "#/components/schemas/CoreApi__mem__usage_quota_client__commercial_capacity__CommercialMeterKey"
          },
          "recovery_actions": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__CommercialUsageRecoveryAction"
            },
            "minItems": 1,
            "title": "Recovery Actions",
            "type": "array"
          }
        },
        "required": [
          "meter_key",
          "recovery_actions",
          "accepted"
        ],
        "title": "CommercialUsageLimitRejection",
        "type": "object"
      },
      "CoreApi__CommercialUsageRecoveryAction": {
        "description": "Stable client actions for recovering from unavailable capacity.",
        "enum": [
          "review_plans",
          "review_extra_usage",
          "reduce_usage",
          "retry_after_reset"
        ],
        "title": "CommercialUsageRecoveryAction",
        "type": "string"
      },
      "CoreApi__CompleteNonSkippableTrialOnboardingRequest": {
        "additionalProperties": false,
        "properties": {
          "assignment_id": {
            "format": "uuid",
            "title": "Assignment Id",
            "type": "string"
          }
        },
        "required": [
          "assignment_id"
        ],
        "title": "CompleteNonSkippableTrialOnboardingRequest",
        "type": "object"
      },
      "CoreApi__CompleteOnboardingTasksRequestSchema": {
        "properties": {
          "task_ids": {
            "items": {
              "type": "string"
            },
            "title": "Task Ids",
            "type": "array"
          }
        },
        "required": [
          "task_ids"
        ],
        "title": "CompleteOnboardingTasksRequestSchema",
        "type": "object"
      },
      "CoreApi__CompleteOnboardingTasksResponseSchema": {
        "properties": {
          "onboarding_info": {
            "additionalProperties": true,
            "description": "Updated onboarding info",
            "title": "Onboarding Info",
            "type": "object"
          }
        },
        "required": [
          "onboarding_info"
        ],
        "title": "CompleteOnboardingTasksResponseSchema",
        "type": "object"
      },
      "CoreApi__ComponentStatus": {
        "properties": {
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "ComponentStatus",
        "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__CorrectMemoryClaimRequestSchema": {
        "properties": {
          "display_value": {
            "maxLength": 2000,
            "minLength": 1,
            "title": "Display Value",
            "type": "string"
          },
          "property_key": {
            "maxLength": 120,
            "minLength": 1,
            "title": "Property Key",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/CoreApi__JsonValue"
          }
        },
        "required": [
          "property_key",
          "value",
          "display_value"
        ],
        "title": "CorrectMemoryClaimRequestSchema",
        "type": "object"
      },
      "CoreApi__CreateAgentTrialRequestSchema": {
        "properties": {
          "marketing_attribution": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Marketing Attribution"
          }
        },
        "title": "CreateAgentTrialRequestSchema",
        "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__CreateComposioMcpConnectionRequestSchema": {
        "additionalProperties": false,
        "properties": {
          "toolkit": {
            "enum": [
              "gmail",
              "googledocs",
              "googlesheets",
              "notion",
              "slack",
              "todoist"
            ],
            "title": "Toolkit",
            "type": "string"
          }
        },
        "required": [
          "toolkit"
        ],
        "title": "CreateComposioMcpConnectionRequestSchema",
        "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__CreateIMessageLeadActivationRequestSchema": {
        "properties": {
          "cta_intent": {
            "anyOf": [
              {
                "maxLength": 64,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cta Intent"
          },
          "cta_text": {
            "anyOf": [
              {
                "maxLength": 128,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cta Text"
          },
          "marketing_attribution": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Marketing Attribution"
          },
          "phone_number": {
            "anyOf": [
              {
                "maxLength": 32,
                "minLength": 3,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone Number"
          },
          "source_url": {
            "anyOf": [
              {
                "maxLength": 2048,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Url"
          }
        },
        "title": "CreateIMessageLeadActivationRequestSchema",
        "type": "object"
      },
      "CoreApi__CreateMcpConnectionRequestSchema": {
        "additionalProperties": false,
        "properties": {
          "server_url": {
            "maxLength": 2048,
            "minLength": 1,
            "title": "Server Url",
            "type": "string"
          }
        },
        "required": [
          "server_url"
        ],
        "title": "CreateMcpConnectionRequestSchema",
        "type": "object"
      },
      "CoreApi__CreateMemoryManifestRequestSchema": {
        "properties": {
          "description": {
            "maxLength": 2000,
            "minLength": 1,
            "title": "Description",
            "type": "string"
          },
          "display_name": {
            "maxLength": 160,
            "minLength": 1,
            "title": "Display Name",
            "type": "string"
          },
          "identity_rules": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Identity Rules",
            "type": "object"
          },
          "instructions": {
            "maxLength": 12000,
            "minLength": 1,
            "title": "Instructions",
            "type": "string"
          },
          "key": {
            "maxLength": 100,
            "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
            "title": "Key",
            "type": "string"
          },
          "root_view_key": {
            "title": "Root View Key",
            "type": "string"
          },
          "start_backfill": {
            "default": true,
            "title": "Start Backfill",
            "type": "boolean"
          },
          "types": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemoryTypeDefinitionRequestSchema"
            },
            "minItems": 1,
            "title": "Types",
            "type": "array"
          },
          "views": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemoryViewDefinitionRequestSchema"
            },
            "minItems": 1,
            "title": "Views",
            "type": "array"
          }
        },
        "required": [
          "key",
          "display_name",
          "description",
          "instructions",
          "types",
          "views",
          "root_view_key"
        ],
        "title": "CreateMemoryManifestRequestSchema",
        "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__CreateRoutineShareLinkRequestSchema": {
        "properties": {
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "source_routine_id": {
            "format": "uuid",
            "title": "Source Routine Id",
            "type": "string"
          }
        },
        "required": [
          "source_routine_id"
        ],
        "title": "CreateRoutineShareLinkRequestSchema",
        "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": {
          "allow_proactive_standard_price": {
            "default": false,
            "title": "Allow Proactive Standard Price",
            "type": "boolean"
          },
          "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"
          },
          "commercial_plan_key": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CoreApi__CommercialPlanKey"
              },
              {
                "type": "null"
              }
            ]
          },
          "extra_usage_blocks": {
            "default": 0,
            "minimum": 0,
            "title": "Extra Usage Blocks",
            "type": "integer"
          },
          "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"
          },
          "proactive_trial_granted": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Proactive Trial Granted"
          },
          "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__CurrentAccountEmailPasswordAuthenticationRequest": {
        "properties": {
          "password": {
            "maxLength": 128,
            "minLength": 8,
            "title": "Password",
            "type": "string"
          }
        },
        "required": [
          "password"
        ],
        "title": "CurrentAccountEmailPasswordAuthenticationRequest",
        "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__DesktopCriticalMinimumVersionSchema": {
        "properties": {
          "darwin": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Darwin"
          },
          "win32": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Win32"
          }
        },
        "required": [
          "darwin",
          "win32"
        ],
        "title": "DesktopCriticalMinimumVersionSchema",
        "type": "object"
      },
      "CoreApi__DesktopServiceInfoSchema": {
        "properties": {
          "critical_minimum_version": {
            "$ref": "#/components/schemas/CoreApi__DesktopCriticalMinimumVersionSchema"
          }
        },
        "required": [
          "critical_minimum_version"
        ],
        "title": "DesktopServiceInfoSchema",
        "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__EmailPasswordAuthenticationResponse": {
        "properties": {
          "account_id": {
            "format": "uuid",
            "title": "Account Id",
            "type": "string"
          },
          "email_address": {
            "format": "email",
            "title": "Email Address",
            "type": "string"
          }
        },
        "required": [
          "account_id",
          "email_address"
        ],
        "title": "EmailPasswordAuthenticationResponse",
        "type": "object"
      },
      "CoreApi__EmailPasswordEmailRequest": {
        "properties": {
          "email_address": {
            "format": "email",
            "title": "Email Address",
            "type": "string"
          }
        },
        "required": [
          "email_address"
        ],
        "title": "EmailPasswordEmailRequest",
        "type": "object"
      },
      "CoreApi__EmailPasswordLoginRequest": {
        "properties": {
          "email_address": {
            "format": "email",
            "title": "Email Address",
            "type": "string"
          },
          "include_native_chat_onboarding": {
            "default": true,
            "title": "Include Native Chat Onboarding",
            "type": "boolean"
          },
          "password": {
            "minLength": 1,
            "title": "Password",
            "type": "string"
          }
        },
        "required": [
          "email_address",
          "password"
        ],
        "title": "EmailPasswordLoginRequest",
        "type": "object"
      },
      "CoreApi__EmailPasswordResetRequest": {
        "properties": {
          "email_address": {
            "format": "email",
            "title": "Email Address",
            "type": "string"
          },
          "password": {
            "maxLength": 128,
            "minLength": 8,
            "title": "Password",
            "type": "string"
          },
          "token": {
            "format": "uuid",
            "title": "Token",
            "type": "string"
          }
        },
        "required": [
          "email_address",
          "token",
          "password"
        ],
        "title": "EmailPasswordResetRequest",
        "type": "object"
      },
      "CoreApi__EmailPasswordSignupRequest": {
        "properties": {
          "email_address": {
            "format": "email",
            "title": "Email Address",
            "type": "string"
          },
          "password": {
            "maxLength": 128,
            "minLength": 8,
            "title": "Password",
            "type": "string"
          },
          "profile_display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Profile Display Name"
          },
          "profile_photo_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "format": "uri",
            "title": "Profile Photo Url"
          }
        },
        "required": [
          "email_address",
          "password"
        ],
        "title": "EmailPasswordSignupRequest",
        "type": "object"
      },
      "CoreApi__EmailPasswordSignupResponse": {
        "properties": {
          "email_address": {
            "format": "email",
            "title": "Email Address",
            "type": "string"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "email_address"
        ],
        "title": "EmailPasswordSignupResponse",
        "type": "object"
      },
      "CoreApi__EmailPasswordSuccessResponse": {
        "properties": {
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "EmailPasswordSuccessResponse",
        "type": "object"
      },
      "CoreApi__EmailPasswordTokenRequest": {
        "properties": {
          "email_address": {
            "format": "email",
            "title": "Email Address",
            "type": "string"
          },
          "token": {
            "format": "uuid",
            "title": "Token",
            "type": "string"
          }
        },
        "required": [
          "email_address",
          "token"
        ],
        "title": "EmailPasswordTokenRequest",
        "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__EventSmartEntitySmartCardItem": {
        "properties": {
          "associated_datetime": {
            "format": "date-time",
            "title": "Associated Datetime",
            "type": "string"
          },
          "event_smart_entity_id": {
            "format": "uuid",
            "title": "Event Smart Entity Id",
            "type": "string"
          },
          "internal_reason_for_selection": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Reason For Selection"
          },
          "kind": {
            "const": "EVENT_SMART_ENTITY",
            "default": "EVENT_SMART_ENTITY",
            "title": "Kind",
            "type": "string"
          },
          "linked_note_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Linked Note Id"
          },
          "linked_note_primary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Linked Note Primary Label"
          },
          "primary_label": {
            "title": "Primary Label",
            "type": "string"
          },
          "secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secondary Label"
          },
          "sort_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sort Key"
          }
        },
        "required": [
          "primary_label",
          "secondary_label",
          "event_smart_entity_id",
          "associated_datetime"
        ],
        "title": "EventSmartEntitySmartCardItem",
        "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__ForegroundSessionEventNotificationOrigin": {
        "properties": {
          "kind": {
            "const": "FOREGROUND",
            "default": "FOREGROUND",
            "title": "Kind",
            "type": "string"
          },
          "sync_client_group_id": {
            "format": "uuid",
            "title": "Sync Client Group Id",
            "type": "string"
          }
        },
        "required": [
          "sync_client_group_id"
        ],
        "title": "ForegroundSessionEventNotificationOrigin",
        "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__GenerateMeetingBriefingSmartViewRequestSchema": {
        "properties": {
          "connected_calendar_event_id": {
            "format": "uuid",
            "title": "Connected Calendar Event Id",
            "type": "string"
          },
          "context": {
            "$ref": "#/components/schemas/CoreApi__SmartContextPayloadValue"
          },
          "force_generate": {
            "default": false,
            "title": "Force Generate",
            "type": "boolean"
          },
          "force_regenerate": {
            "default": false,
            "title": "Force Regenerate",
            "type": "boolean"
          }
        },
        "required": [
          "context",
          "connected_calendar_event_id"
        ],
        "title": "GenerateMeetingBriefingSmartViewRequestSchema",
        "type": "object"
      },
      "CoreApi__GeneratePulseSmartViewRequestSchema": {
        "properties": {
          "active_collection_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Active Collection Id"
          },
          "query": {
            "maxLength": 512,
            "minLength": 1,
            "title": "Query",
            "type": "string"
          }
        },
        "required": [
          "query"
        ],
        "title": "GeneratePulseSmartViewRequestSchema",
        "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__GetOrGenerateSmartViewRequestSchema": {
        "properties": {
          "context": {
            "$ref": "#/components/schemas/CoreApi__SmartContextPayloadValue"
          }
        },
        "required": [
          "context"
        ],
        "title": "GetOrGenerateSmartViewRequestSchema",
        "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"
          },
          "include_native_chat_onboarding": {
            "default": true,
            "title": "Include Native Chat Onboarding",
            "type": "boolean"
          },
          "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"
          },
          "include_native_chat_onboarding": {
            "default": true,
            "title": "Include Native Chat Onboarding",
            "type": "boolean"
          },
          "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__IMessageLeadActivationResponseSchema": {
        "properties": {
          "activation_id": {
            "title": "Activation Id",
            "type": "string"
          },
          "activation_message": {
            "title": "Activation Message",
            "type": "string"
          },
          "activation_url": {
            "title": "Activation Url",
            "type": "string"
          },
          "expires_at": {
            "title": "Expires At",
            "type": "string"
          },
          "status_token": {
            "title": "Status Token",
            "type": "string"
          }
        },
        "required": [
          "activation_id",
          "activation_url",
          "activation_message",
          "expires_at",
          "status_token"
        ],
        "title": "IMessageLeadActivationResponseSchema",
        "type": "object"
      },
      "CoreApi__IMessageLeadActivationStatusResponseSchema": {
        "properties": {
          "status": {
            "enum": [
              "pending",
              "message_sent",
              "expired",
              "claimed"
            ],
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "IMessageLeadActivationStatusResponseSchema",
        "type": "object"
      },
      "CoreApi__IMessageLeadClaimResponseSchema": {
        "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": "IMessageLeadClaimResponseSchema",
        "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__IntentOnboardingResponseSchema": {
        "properties": {
          "onboarding_info": {
            "$ref": "#/components/schemas/CoreApi__PlatformInfoOnboarding"
          }
        },
        "required": [
          "onboarding_info"
        ],
        "title": "IntentOnboardingResponseSchema",
        "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__JsonValue": {},
      "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__LiveEntryFeedbackRequestSchema": {
        "properties": {
          "comment": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Comment"
          },
          "entry_id": {
            "title": "Entry Id",
            "type": "string"
          },
          "response": {
            "title": "Response",
            "type": "string"
          }
        },
        "required": [
          "entry_id",
          "response"
        ],
        "title": "LiveEntryFeedbackRequestSchema",
        "type": "object"
      },
      "CoreApi__LiveEntryFeedbackResponseSchema": {
        "properties": {
          "entry_id": {
            "title": "Entry Id",
            "type": "string"
          },
          "feedback_response": {
            "title": "Feedback Response",
            "type": "string"
          },
          "smart_card_id": {
            "format": "uuid",
            "title": "Smart Card Id",
            "type": "string"
          }
        },
        "required": [
          "smart_card_id",
          "entry_id",
          "feedback_response"
        ],
        "title": "LiveEntryFeedbackResponseSchema",
        "type": "object"
      },
      "CoreApi__LiveGenerateRequestSchema": {
        "properties": {
          "context": {
            "$ref": "#/components/schemas/CoreApi__SmartContextPayloadValue"
          },
          "recording_started_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recording Started At"
          },
          "transcript_array": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CoreApi__mem__core_api_service__routers__voice__schemas__CapturedAudioTranscriptArrayInputItem"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Array"
          },
          "transcript_text": {
            "minLength": 1,
            "title": "Transcript Text",
            "type": "string"
          }
        },
        "required": [
          "transcript_text",
          "context"
        ],
        "title": "LiveGenerateRequestSchema",
        "type": "object"
      },
      "CoreApi__LiveNoteSmartCardItem": {
        "properties": {
          "added_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Added At"
          },
          "entry_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Entry Id"
          },
          "feedback_at": {
            "anyOf": [
              {
                "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"
          },
          "insight": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Insight"
          },
          "internal_reason_for_selection": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Reason For Selection"
          },
          "justification": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Justification"
          },
          "kind": {
            "const": "LIVE_NOTE",
            "default": "LIVE_NOTE",
            "title": "Kind",
            "type": "string"
          },
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          },
          "note_title": {
            "title": "Note Title",
            "type": "string"
          },
          "primary_label": {
            "title": "Primary Label",
            "type": "string"
          },
          "quote": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Quote"
          },
          "recording_offset_seconds": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recording Offset Seconds"
          },
          "secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secondary Label"
          },
          "sort_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sort Key"
          },
          "timing_seconds": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timing Seconds"
          },
          "tool_calls": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CoreApi__AiAgentToolCallJson"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tool Calls"
          },
          "topic": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Topic"
          },
          "transcript_tail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Transcript Tail"
          }
        },
        "required": [
          "primary_label",
          "secondary_label",
          "note_id",
          "note_title"
        ],
        "title": "LiveNoteSmartCardItem",
        "type": "object"
      },
      "CoreApi__LiveSmartCardResponseSchema": {
        "properties": {
          "copied_from_smart_card_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Copied From Smart Card Id"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "LIVE",
            "title": "Kind",
            "type": "string"
          },
          "originated_from_find_more": {
            "title": "Originated From Find More",
            "type": "boolean"
          },
          "smart_view_id": {
            "format": "uuid",
            "title": "Smart View Id",
            "type": "string"
          },
          "sort_key": {
            "title": "Sort Key",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/CoreApi__LiveValueSchema"
          }
        },
        "required": [
          "id",
          "smart_view_id",
          "sort_key",
          "kind",
          "copied_from_smart_card_id",
          "originated_from_find_more",
          "value"
        ],
        "title": "LiveSmartCardResponseSchema",
        "type": "object"
      },
      "CoreApi__LiveValueSchema": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__LiveNoteSmartCardItem"
            },
            "title": "Items",
            "type": "array"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "required": [
          "items"
        ],
        "title": "LiveValueSchema",
        "type": "object"
      },
      "CoreApi__MarkdownSmartCardResponseSchema": {
        "properties": {
          "copied_from_smart_card_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Copied From Smart Card Id"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "MARKDOWN",
            "title": "Kind",
            "type": "string"
          },
          "originated_from_find_more": {
            "title": "Originated From Find More",
            "type": "boolean"
          },
          "smart_view_id": {
            "format": "uuid",
            "title": "Smart View Id",
            "type": "string"
          },
          "sort_key": {
            "title": "Sort Key",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/CoreApi__MarkdownValueSchema"
          }
        },
        "required": [
          "id",
          "smart_view_id",
          "sort_key",
          "kind",
          "copied_from_smart_card_id",
          "originated_from_find_more",
          "value"
        ],
        "title": "MarkdownSmartCardResponseSchema",
        "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__MarkdownValueSchema": {
        "properties": {
          "markdown": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Markdown"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "title": "MarkdownValueSchema",
        "type": "object"
      },
      "CoreApi__McpConnectionRefreshResponseSchema": {
        "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": "McpConnectionRefreshResponseSchema",
        "type": "object"
      },
      "CoreApi__McpConnectionResponseSchema": {
        "properties": {
          "access_mode": {
            "const": "read",
            "title": "Access Mode",
            "type": "string"
          },
          "auth_method": {
            "enum": [
              "none",
              "oauth"
            ],
            "title": "Auth Method",
            "type": "string"
          },
          "authorization_expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Authorization Expires At"
          },
          "authorization_health": {
            "anyOf": [
              {
                "enum": [
                  "unknown",
                  "active",
                  "expiring",
                  "expired"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Authorization Health"
          },
          "authorization_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Authorization Url"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "error_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Kind"
          },
          "error_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Message"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "last_refreshed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Refreshed At"
          },
          "provider": {
            "anyOf": [
              {
                "const": "composio",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provider"
          },
          "provider_app_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provider App Id"
          },
          "resource_url": {
            "title": "Resource Url",
            "type": "string"
          },
          "server_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Server Name"
          },
          "server_url": {
            "title": "Server Url",
            "type": "string"
          },
          "status": {
            "enum": [
              "authorizing",
              "connected",
              "needs_attention"
            ],
            "title": "Status",
            "type": "string"
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__McpConnectionToolResponseSchema"
            },
            "title": "Tools",
            "type": "array"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "server_url",
          "resource_url",
          "server_name",
          "status",
          "auth_method",
          "access_mode",
          "tools",
          "error_kind",
          "error_message",
          "last_refreshed_at",
          "created_at",
          "updated_at"
        ],
        "title": "McpConnectionResponseSchema",
        "type": "object"
      },
      "CoreApi__McpConnectionToolResponseSchema": {
        "properties": {
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "title": "McpConnectionToolResponseSchema",
        "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__MeetingBriefingSmartCardResponseSchema": {
        "properties": {
          "copied_from_smart_card_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Copied From Smart Card Id"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "MEETING_BRIEFING",
            "title": "Kind",
            "type": "string"
          },
          "originated_from_find_more": {
            "title": "Originated From Find More",
            "type": "boolean"
          },
          "smart_view_id": {
            "format": "uuid",
            "title": "Smart View Id",
            "type": "string"
          },
          "sort_key": {
            "title": "Sort Key",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/CoreApi__MeetingBriefingValueSchema"
          }
        },
        "required": [
          "id",
          "smart_view_id",
          "sort_key",
          "kind",
          "copied_from_smart_card_id",
          "originated_from_find_more",
          "value"
        ],
        "title": "MeetingBriefingSmartCardResponseSchema",
        "type": "object"
      },
      "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__MeetingBriefingValueSchema": {
        "properties": {
          "connected_calendar_event_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Connected Calendar Event Id"
          },
          "markdown": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Markdown"
          },
          "note_items": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/CoreApi__NoteSmartCardItem"
            },
            "title": "Note Items",
            "type": "array"
          },
          "reasoning": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reasoning"
          },
          "timing": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timing"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          },
          "tool_calls": {
            "default": [],
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Tool Calls",
            "type": "array"
          }
        },
        "title": "MeetingBriefingValueSchema",
        "type": "object"
      },
      "CoreApi__mem__billing_engine_client__models__core__CommercialMeterKey": {
        "enum": [
          "user_requests",
          "new_notes",
          "active_notes",
          "open_tasks_projects",
          "active_custom_routines",
          "routine_executions",
          "active_connections",
          "voice_mode_hours"
        ],
        "title": "CommercialMeterKey",
        "type": "string"
      },
      "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",
            "description": "Audio capture origin for this turn. local_microphone means the recording device's microphone; system_audio means audio captured from the recording device's system output; unknown means not reliably classified."
          },
          "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",
            "description": "Audio capture origin for this turn. local_microphone means the recording device's microphone; system_audio means audio captured from the recording device's system output; unknown means not reliably classified."
          },
          "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__usage_quota_client__commercial_capacity__CommercialMeterKey": {
        "description": "Stable customer-facing capacity dimensions.\n\nThe serialized values are shared contract keys. Product copy may use more\ndescriptive labels without changing these identifiers.",
        "enum": [
          "user_requests",
          "new_notes",
          "active_notes",
          "open_tasks_projects",
          "active_custom_routines",
          "routine_executions",
          "active_connections",
          "voice_mode_hours"
        ],
        "title": "CommercialMeterKey",
        "type": "string"
      },
      "CoreApi__MemAgentActivityDetailSchema": {
        "additionalProperties": false,
        "properties": {
          "activity_type": {
            "title": "Activity Type",
            "type": "string"
          },
          "display": {
            "$ref": "#/components/schemas/CoreApi__MemAgentActivityDisplaySchema"
          },
          "generated_at": {
            "format": "date-time",
            "title": "Generated At",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "item_count": {
            "title": "Item Count",
            "type": "integer"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemAgentActivityItemSchema"
            },
            "title": "Items",
            "type": "array"
          },
          "occurred_at": {
            "format": "date-time",
            "title": "Occurred At",
            "type": "string"
          },
          "references": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemAgentActivityReferenceSchema"
            },
            "title": "References",
            "type": "array"
          },
          "source": {
            "$ref": "#/components/schemas/CoreApi__MemAgentActivitySourceSchema"
          }
        },
        "required": [
          "id",
          "activity_type",
          "occurred_at",
          "generated_at",
          "display",
          "source",
          "item_count"
        ],
        "title": "MemAgentActivityDetailSchema",
        "type": "object"
      },
      "CoreApi__MemAgentActivityDisplaySchema": {
        "additionalProperties": false,
        "properties": {
          "icon": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Icon"
          },
          "primary_text": {
            "title": "Primary Text",
            "type": "string"
          },
          "secondary_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secondary Text"
          }
        },
        "required": [
          "primary_text"
        ],
        "title": "MemAgentActivityDisplaySchema",
        "type": "object"
      },
      "CoreApi__MemAgentActivityItemSchema": {
        "additionalProperties": false,
        "properties": {
          "display": {
            "$ref": "#/components/schemas/CoreApi__MemAgentActivityDisplaySchema"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "occurred_at": {
            "format": "date-time",
            "title": "Occurred At",
            "type": "string"
          },
          "position": {
            "title": "Position",
            "type": "integer"
          },
          "references": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemAgentActivityReferenceSchema"
            },
            "title": "References",
            "type": "array"
          }
        },
        "required": [
          "id",
          "position",
          "kind",
          "occurred_at",
          "display"
        ],
        "title": "MemAgentActivityItemSchema",
        "type": "object"
      },
      "CoreApi__MemAgentActivityReferenceSchema": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "role": {
            "title": "Role",
            "type": "string"
          }
        },
        "required": [
          "role",
          "kind",
          "id"
        ],
        "title": "MemAgentActivityReferenceSchema",
        "type": "object"
      },
      "CoreApi__MemAgentActivitySourceSchema": {
        "properties": {
          "key": {
            "title": "Key",
            "type": "string"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "reference": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CoreApi__MemAgentActivityReferenceSchema"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "kind",
          "key"
        ],
        "title": "MemAgentActivitySourceSchema",
        "type": "object"
      },
      "CoreApi__MemAgentActivitySummarySchema": {
        "additionalProperties": false,
        "properties": {
          "activity_type": {
            "title": "Activity Type",
            "type": "string"
          },
          "display": {
            "$ref": "#/components/schemas/CoreApi__MemAgentActivityDisplaySchema"
          },
          "generated_at": {
            "format": "date-time",
            "title": "Generated At",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "item_count": {
            "title": "Item Count",
            "type": "integer"
          },
          "occurred_at": {
            "format": "date-time",
            "title": "Occurred At",
            "type": "string"
          },
          "references": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemAgentActivityReferenceSchema"
            },
            "title": "References",
            "type": "array"
          },
          "source": {
            "$ref": "#/components/schemas/CoreApi__MemAgentActivitySourceSchema"
          }
        },
        "required": [
          "id",
          "activity_type",
          "occurred_at",
          "generated_at",
          "display",
          "source",
          "item_count"
        ],
        "title": "MemAgentActivitySummarySchema",
        "type": "object"
      },
      "CoreApi__MemAgentGoalSchema": {
        "additionalProperties": false,
        "properties": {
          "child_goal_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Child Goal Ids",
            "type": "array"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "parent_goal_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Goal Id"
          },
          "project_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Project Ids",
            "type": "array"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "terminal_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Terminal At"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "id",
          "title",
          "description",
          "status",
          "terminal_at",
          "parent_goal_id"
        ],
        "title": "MemAgentGoalSchema",
        "type": "object"
      },
      "CoreApi__MemAgentInformationItemSchema": {
        "additionalProperties": false,
        "properties": {
          "archived_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Archived At"
          },
          "connection_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Connection Id"
          },
          "descriptor": {
            "title": "Descriptor",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "lifecycle": {
            "title": "Lifecycle",
            "type": "string"
          },
          "lifecycle_confidence": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lifecycle Confidence"
          },
          "lifecycle_rationale": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lifecycle Rationale"
          },
          "locator": {
            "title": "Locator",
            "type": "string"
          },
          "observed_version": {
            "title": "Observed Version",
            "type": "string"
          },
          "task_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Task Ids",
            "type": "array"
          },
          "url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Url"
          }
        },
        "required": [
          "id",
          "connection_id",
          "kind",
          "locator",
          "url",
          "descriptor",
          "observed_version",
          "lifecycle",
          "lifecycle_rationale",
          "lifecycle_confidence",
          "archived_at"
        ],
        "title": "MemAgentInformationItemSchema",
        "type": "object"
      },
      "CoreApi__MemAgentIntentGraphSchema": {
        "additionalProperties": false,
        "properties": {
          "generation_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Generation Id"
          },
          "goals": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemAgentGoalSchema"
            },
            "title": "Goals",
            "type": "array"
          },
          "information_items": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemAgentInformationItemSchema"
            },
            "title": "Information Items",
            "type": "array"
          },
          "project_goal_links": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemAgentProjectGoalLinkSchema"
            },
            "title": "Project Goal Links",
            "type": "array"
          },
          "project_hierarchy_links": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemAgentProjectHierarchyLinkSchema"
            },
            "title": "Project Hierarchy Links",
            "type": "array"
          },
          "tasks": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemAgentIntentTaskSchema"
            },
            "title": "Tasks",
            "type": "array"
          }
        },
        "required": [
          "generation_id"
        ],
        "title": "MemAgentIntentGraphSchema",
        "type": "object"
      },
      "CoreApi__MemAgentIntentTaskSchema": {
        "additionalProperties": false,
        "properties": {
          "child_task_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Child Task Ids",
            "type": "array"
          },
          "deadline_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deadline At"
          },
          "deadline_provenance": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deadline Provenance"
          },
          "duration_provenance": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Duration Provenance"
          },
          "estimated_duration_minutes": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Estimated Duration Minutes"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "ideal_completion_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ideal Completion At"
          },
          "ideal_completion_provenance": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ideal Completion Provenance"
          },
          "information_item_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Information Item Ids",
            "type": "array"
          },
          "next_wake_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Wake At"
          },
          "parent_task_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Task Id"
          },
          "priority": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Priority"
          },
          "priority_provenance": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Priority Provenance"
          },
          "remind_by_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Remind By At"
          },
          "repercussions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Repercussions"
          },
          "repercussions_provenance": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Repercussions Provenance"
          },
          "staleness_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Staleness At"
          },
          "staleness_provenance": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Staleness Provenance"
          },
          "task_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Task Type"
          },
          "terminal_disposition": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Terminal Disposition"
          }
        },
        "required": [
          "id",
          "task_type",
          "priority",
          "priority_provenance",
          "ideal_completion_at",
          "ideal_completion_provenance",
          "deadline_at",
          "deadline_provenance",
          "staleness_at",
          "staleness_provenance",
          "repercussions",
          "repercussions_provenance",
          "estimated_duration_minutes",
          "duration_provenance",
          "parent_task_id",
          "next_wake_at",
          "remind_by_at",
          "terminal_disposition"
        ],
        "title": "MemAgentIntentTaskSchema",
        "type": "object"
      },
      "CoreApi__MemAgentProjectGoalLinkSchema": {
        "additionalProperties": false,
        "properties": {
          "goal_id": {
            "format": "uuid",
            "title": "Goal Id",
            "type": "string"
          },
          "project_id": {
            "format": "uuid",
            "title": "Project Id",
            "type": "string"
          }
        },
        "required": [
          "project_id",
          "goal_id"
        ],
        "title": "MemAgentProjectGoalLinkSchema",
        "type": "object"
      },
      "CoreApi__MemAgentProjectHierarchyLinkSchema": {
        "additionalProperties": false,
        "properties": {
          "parent_project_id": {
            "format": "uuid",
            "title": "Parent Project Id",
            "type": "string"
          },
          "project_id": {
            "format": "uuid",
            "title": "Project Id",
            "type": "string"
          }
        },
        "required": [
          "project_id",
          "parent_project_id"
        ],
        "title": "MemAgentProjectHierarchyLinkSchema",
        "type": "object"
      },
      "CoreApi__MemAgentSettingsPatch": {
        "properties": {
          "hold_to_talk_is_enabled": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hold To Talk Is Enabled"
          },
          "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"
          },
          "proactive_trial_banner_is_dismissed": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Proactive Trial Banner Is Dismissed"
          },
          "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__MemAgentSkillShareResponseSchema": {
        "additionalProperties": false,
        "properties": {
          "public_id": {
            "format": "uuid",
            "title": "Public Id",
            "type": "string"
          },
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "public_id",
          "url"
        ],
        "title": "MemAgentSkillShareResponseSchema",
        "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__MemoryClaimResponseSchema": {
        "properties": {
          "confidence": {
            "title": "Confidence",
            "type": "number"
          },
          "display_value": {
            "title": "Display Value",
            "type": "string"
          },
          "evidence": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemoryEvidenceResponseSchema"
            },
            "title": "Evidence",
            "type": "array"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "property_key": {
            "title": "Property Key",
            "type": "string"
          },
          "provenance": {
            "$ref": "#/components/schemas/CoreApi__MemoryValueProvenance"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/CoreApi__JsonValue"
          }
        },
        "required": [
          "id",
          "property_key",
          "value",
          "display_value",
          "confidence",
          "provenance",
          "evidence",
          "updated_at"
        ],
        "title": "MemoryClaimResponseSchema",
        "type": "object"
      },
      "CoreApi__MemoryEntityDetailResponseSchema": {
        "properties": {
          "claims": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemoryClaimResponseSchema"
            },
            "title": "Claims",
            "type": "array"
          },
          "entity": {
            "$ref": "#/components/schemas/CoreApi__MemoryEntityListItemSchema"
          },
          "evidence": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemoryEvidenceResponseSchema"
            },
            "title": "Evidence",
            "type": "array"
          },
          "relationships": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemoryRelationshipResponseSchema"
            },
            "title": "Relationships",
            "type": "array"
          }
        },
        "required": [
          "entity",
          "claims",
          "relationships",
          "evidence"
        ],
        "title": "MemoryEntityDetailResponseSchema",
        "type": "object"
      },
      "CoreApi__MemoryEntityListItemSchema": {
        "properties": {
          "aliases": {
            "items": {
              "type": "string"
            },
            "title": "Aliases",
            "type": "array"
          },
          "display_name": {
            "title": "Display Name",
            "type": "string"
          },
          "evidence_count": {
            "title": "Evidence Count",
            "type": "integer"
          },
          "first_seen_at": {
            "format": "date-time",
            "title": "First Seen At",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "last_seen_at": {
            "format": "date-time",
            "title": "Last Seen At",
            "type": "string"
          },
          "properties": {
            "additionalProperties": {
              "$ref": "#/components/schemas/CoreApi__JsonValue"
            },
            "title": "Properties",
            "type": "object"
          },
          "related_entity_count": {
            "title": "Related Entity Count",
            "type": "integer"
          },
          "related_entity_type_counts": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemoryRelatedEntityTypeCountSchema"
            },
            "title": "Related Entity Type Counts",
            "type": "array"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "type_display_name": {
            "title": "Type Display Name",
            "type": "string"
          },
          "type_id": {
            "format": "uuid",
            "title": "Type Id",
            "type": "string"
          },
          "type_key": {
            "title": "Type Key",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "type_id",
          "type_key",
          "type_display_name",
          "display_name",
          "summary",
          "aliases",
          "properties",
          "evidence_count",
          "related_entity_count",
          "related_entity_type_counts",
          "first_seen_at",
          "last_seen_at",
          "updated_at"
        ],
        "title": "MemoryEntityListItemSchema",
        "type": "object"
      },
      "CoreApi__MemoryEvidenceResponseSchema": {
        "properties": {
          "confidence": {
            "title": "Confidence",
            "type": "number"
          },
          "excerpt": {
            "title": "Excerpt",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "source_id": {
            "format": "uuid",
            "title": "Source Id",
            "type": "string"
          },
          "source_kind": {
            "title": "Source Kind",
            "type": "string"
          },
          "source_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Title"
          },
          "source_updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Updated At"
          }
        },
        "required": [
          "id",
          "excerpt",
          "confidence",
          "source_kind",
          "source_id",
          "source_title",
          "source_updated_at"
        ],
        "title": "MemoryEvidenceResponseSchema",
        "type": "object"
      },
      "CoreApi__MemoryManifestResponseSchema": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "display_name": {
            "title": "Display Name",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "latest_run": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CoreApi__MemoryRunResponseSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "root_view_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Root View Id"
          },
          "status": {
            "$ref": "#/components/schemas/CoreApi__MemoryManifestStatus"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "key",
          "display_name",
          "description",
          "status",
          "root_view_id",
          "latest_run",
          "created_at",
          "updated_at"
        ],
        "title": "MemoryManifestResponseSchema",
        "type": "object"
      },
      "CoreApi__MemoryManifestStatus": {
        "enum": [
          "draft",
          "active",
          "paused",
          "archived"
        ],
        "title": "MemoryManifestStatus",
        "type": "string"
      },
      "CoreApi__MemoryOverviewResponseSchema": {
        "properties": {
          "manifests": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemoryManifestResponseSchema"
            },
            "title": "Manifests",
            "type": "array"
          },
          "pinned_views": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemoryViewResponseSchema"
            },
            "title": "Pinned Views",
            "type": "array"
          },
          "types": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemoryTypeResponseSchema"
            },
            "title": "Types",
            "type": "array"
          },
          "views": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemoryViewResponseSchema"
            },
            "title": "Views",
            "type": "array"
          }
        },
        "required": [
          "manifests",
          "pinned_views",
          "views",
          "types"
        ],
        "title": "MemoryOverviewResponseSchema",
        "type": "object"
      },
      "CoreApi__MemoryRelatedEntityTypeCountSchema": {
        "properties": {
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "type_display_name": {
            "title": "Type Display Name",
            "type": "string"
          },
          "type_id": {
            "format": "uuid",
            "title": "Type Id",
            "type": "string"
          },
          "type_key": {
            "title": "Type Key",
            "type": "string"
          },
          "type_plural_display_name": {
            "title": "Type Plural Display Name",
            "type": "string"
          }
        },
        "required": [
          "type_id",
          "type_key",
          "type_display_name",
          "type_plural_display_name",
          "count"
        ],
        "title": "MemoryRelatedEntityTypeCountSchema",
        "type": "object"
      },
      "CoreApi__MemoryRelationshipResponseSchema": {
        "properties": {
          "confidence": {
            "title": "Confidence",
            "type": "number"
          },
          "direction": {
            "title": "Direction",
            "type": "string"
          },
          "evidence": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemoryEvidenceResponseSchema"
            },
            "title": "Evidence",
            "type": "array"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "properties": {
            "additionalProperties": {
              "$ref": "#/components/schemas/CoreApi__JsonValue"
            },
            "title": "Properties",
            "type": "object"
          },
          "related_entity": {
            "$ref": "#/components/schemas/CoreApi__MemoryEntityListItemSchema"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "type_display_name": {
            "title": "Type Display Name",
            "type": "string"
          },
          "type_id": {
            "format": "uuid",
            "title": "Type Id",
            "type": "string"
          },
          "type_key": {
            "title": "Type Key",
            "type": "string"
          }
        },
        "required": [
          "id",
          "type_id",
          "type_key",
          "type_display_name",
          "direction",
          "related_entity",
          "summary",
          "properties",
          "confidence",
          "evidence"
        ],
        "title": "MemoryRelationshipResponseSchema",
        "type": "object"
      },
      "CoreApi__MemoryRunKind": {
        "enum": [
          "backfill",
          "incremental",
          "repair"
        ],
        "title": "MemoryRunKind",
        "type": "string"
      },
      "CoreApi__MemoryRunPhase": {
        "enum": [
          "compiling",
          "discovering",
          "mapping",
          "reducing",
          "publishing",
          "complete"
        ],
        "title": "MemoryRunPhase",
        "type": "string"
      },
      "CoreApi__MemoryRunResponseSchema": {
        "properties": {
          "completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Completed At"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "error_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error Message"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/CoreApi__MemoryRunKind"
          },
          "manifest_id": {
            "format": "uuid",
            "title": "Manifest Id",
            "type": "string"
          },
          "phase": {
            "$ref": "#/components/schemas/CoreApi__MemoryRunPhase"
          },
          "progress_current": {
            "title": "Progress Current",
            "type": "integer"
          },
          "progress_total": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Progress Total"
          },
          "started_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Started At"
          },
          "status": {
            "$ref": "#/components/schemas/CoreApi__MemoryRunStatus"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "manifest_id",
          "kind",
          "status",
          "phase",
          "progress_current",
          "progress_total",
          "created_at",
          "updated_at",
          "started_at",
          "completed_at",
          "error_message"
        ],
        "title": "MemoryRunResponseSchema",
        "type": "object"
      },
      "CoreApi__MemoryRunStatus": {
        "enum": [
          "queued",
          "running",
          "completed",
          "failed",
          "cancelled"
        ],
        "title": "MemoryRunStatus",
        "type": "string"
      },
      "CoreApi__MemoryTypeDefinitionRequestSchema": {
        "properties": {
          "description": {
            "maxLength": 2000,
            "minLength": 1,
            "title": "Description",
            "type": "string"
          },
          "display_name": {
            "maxLength": 120,
            "minLength": 1,
            "title": "Display Name",
            "type": "string"
          },
          "icon": {
            "anyOf": [
              {
                "maxLength": 64,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Icon"
          },
          "key": {
            "maxLength": 100,
            "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
            "title": "Key",
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/CoreApi__MemoryTypeKind"
          },
          "parent_type_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Type Key"
          },
          "plural_display_name": {
            "maxLength": 120,
            "minLength": 1,
            "title": "Plural Display Name",
            "type": "string"
          },
          "property_schema": {
            "additionalProperties": {
              "$ref": "#/components/schemas/CoreApi__JsonValue"
            },
            "title": "Property Schema",
            "type": "object"
          },
          "source_type_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Type Key"
          },
          "target_type_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Target Type Key"
          }
        },
        "required": [
          "key",
          "display_name",
          "plural_display_name",
          "description",
          "kind"
        ],
        "title": "MemoryTypeDefinitionRequestSchema",
        "type": "object"
      },
      "CoreApi__MemoryTypeKind": {
        "enum": [
          "entity",
          "relationship"
        ],
        "title": "MemoryTypeKind",
        "type": "string"
      },
      "CoreApi__MemoryTypeResponseSchema": {
        "properties": {
          "description": {
            "title": "Description",
            "type": "string"
          },
          "display_name": {
            "title": "Display Name",
            "type": "string"
          },
          "entity_count": {
            "default": 0,
            "title": "Entity Count",
            "type": "integer"
          },
          "icon": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Icon"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/CoreApi__MemoryTypeKind"
          },
          "parent_type_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Type Id"
          },
          "plural_display_name": {
            "title": "Plural Display Name",
            "type": "string"
          },
          "property_schema": {
            "additionalProperties": {
              "$ref": "#/components/schemas/CoreApi__JsonValue"
            },
            "title": "Property Schema",
            "type": "object"
          },
          "source_type_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Type Id"
          },
          "target_type_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Target Type Id"
          }
        },
        "required": [
          "id",
          "key",
          "display_name",
          "plural_display_name",
          "description",
          "kind",
          "icon",
          "parent_type_id",
          "source_type_id",
          "target_type_id",
          "property_schema"
        ],
        "title": "MemoryTypeResponseSchema",
        "type": "object"
      },
      "CoreApi__MemoryValueProvenance": {
        "enum": [
          "extracted",
          "user",
          "agent"
        ],
        "title": "MemoryValueProvenance",
        "type": "string"
      },
      "CoreApi__MemoryViewDefinitionRequestSchema": {
        "properties": {
          "child_view_keys": {
            "items": {
              "type": "string"
            },
            "title": "Child View Keys",
            "type": "array"
          },
          "description": {
            "maxLength": 2000,
            "minLength": 1,
            "title": "Description",
            "type": "string"
          },
          "display_name": {
            "maxLength": 160,
            "minLength": 1,
            "title": "Display Name",
            "type": "string"
          },
          "is_pinned": {
            "default": false,
            "title": "Is Pinned",
            "type": "boolean"
          },
          "key": {
            "maxLength": 100,
            "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
            "title": "Key",
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/CoreApi__MemoryViewKind"
          },
          "presentation": {
            "additionalProperties": {
              "$ref": "#/components/schemas/CoreApi__JsonValue"
            },
            "title": "Presentation",
            "type": "object"
          },
          "query": {
            "additionalProperties": {
              "$ref": "#/components/schemas/CoreApi__JsonValue"
            },
            "title": "Query",
            "type": "object"
          }
        },
        "required": [
          "key",
          "display_name",
          "description",
          "kind"
        ],
        "title": "MemoryViewDefinitionRequestSchema",
        "type": "object"
      },
      "CoreApi__MemoryViewKind": {
        "enum": [
          "type",
          "filtered",
          "ranked",
          "composite",
          "relationship",
          "narrative",
          "timeline"
        ],
        "title": "MemoryViewKind",
        "type": "string"
      },
      "CoreApi__MemoryViewResponseSchema": {
        "properties": {
          "child_view_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Child View Ids",
            "type": "array"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "display_name": {
            "title": "Display Name",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "is_pinned": {
            "title": "Is Pinned",
            "type": "boolean"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/CoreApi__MemoryViewKind"
          },
          "manifest_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Manifest Id"
          },
          "presentation": {
            "additionalProperties": {
              "$ref": "#/components/schemas/CoreApi__JsonValue"
            },
            "title": "Presentation",
            "type": "object"
          },
          "query": {
            "additionalProperties": {
              "$ref": "#/components/schemas/CoreApi__JsonValue"
            },
            "title": "Query",
            "type": "object"
          }
        },
        "required": [
          "id",
          "manifest_id",
          "key",
          "display_name",
          "description",
          "kind",
          "query",
          "presentation",
          "is_pinned"
        ],
        "title": "MemoryViewResponseSchema",
        "type": "object"
      },
      "CoreApi__MemoryViewResultsResponseSchema": {
        "properties": {
          "children": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemoryViewResponseSchema"
            },
            "title": "Children",
            "type": "array"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemoryEntityListItemSchema"
            },
            "title": "Items",
            "type": "array"
          },
          "limit": {
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "title": "Offset",
            "type": "integer"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          },
          "view": {
            "$ref": "#/components/schemas/CoreApi__MemoryViewResponseSchema"
          }
        },
        "required": [
          "view",
          "children",
          "items",
          "total",
          "limit",
          "offset"
        ],
        "title": "MemoryViewResultsResponseSchema",
        "type": "object"
      },
      "CoreApi__MentionedBySmartCardResponseSchema": {
        "properties": {
          "copied_from_smart_card_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Copied From Smart Card Id"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "MENTIONED_BY_NOTES_LIST",
            "title": "Kind",
            "type": "string"
          },
          "originated_from_find_more": {
            "title": "Originated From Find More",
            "type": "boolean"
          },
          "smart_view_id": {
            "format": "uuid",
            "title": "Smart View Id",
            "type": "string"
          },
          "sort_key": {
            "title": "Sort Key",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/CoreApi__MentionedByValueSchema"
          }
        },
        "required": [
          "id",
          "smart_view_id",
          "sort_key",
          "kind",
          "copied_from_smart_card_id",
          "originated_from_find_more",
          "value"
        ],
        "title": "MentionedBySmartCardResponseSchema",
        "type": "object"
      },
      "CoreApi__MentionedByValueSchema": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__NoteSmartCardItem"
            },
            "title": "Items",
            "type": "array"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "required": [
          "items"
        ],
        "title": "MentionedByValueSchema",
        "type": "object"
      },
      "CoreApi__MergeMemoryEntityRequestSchema": {
        "properties": {
          "source_entity_id": {
            "format": "uuid",
            "title": "Source Entity Id",
            "type": "string"
          }
        },
        "required": [
          "source_entity_id"
        ],
        "title": "MergeMemoryEntityRequestSchema",
        "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__NativeChatOnboardingPromptNotificationPayload": {
        "properties": {
          "kind": {
            "const": "NATIVE_CHAT_ONBOARDING_PROMPT",
            "default": "NATIVE_CHAT_ONBOARDING_PROMPT",
            "title": "Kind",
            "type": "string"
          }
        },
        "title": "NativeChatOnboardingPromptNotificationPayload",
        "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__NoteListSmartCardResponseSchema": {
        "properties": {
          "copied_from_smart_card_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Copied From Smart Card Id"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "NOTE_LIST",
            "title": "Kind",
            "type": "string"
          },
          "originated_from_find_more": {
            "title": "Originated From Find More",
            "type": "boolean"
          },
          "smart_view_id": {
            "format": "uuid",
            "title": "Smart View Id",
            "type": "string"
          },
          "sort_key": {
            "title": "Sort Key",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/CoreApi__NoteListValueSchema"
          }
        },
        "required": [
          "id",
          "smart_view_id",
          "sort_key",
          "kind",
          "copied_from_smart_card_id",
          "originated_from_find_more",
          "value"
        ],
        "title": "NoteListSmartCardResponseSchema",
        "type": "object"
      },
      "CoreApi__NoteListValueSchema": {
        "properties": {
          "internal_reason_for_selection": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Reason For Selection"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__NoteSmartCardItem"
            },
            "title": "Items",
            "type": "array"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "required": [
          "items"
        ],
        "title": "NoteListValueSchema",
        "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__NoteSmartCardItem": {
        "properties": {
          "internal_reason_for_selection": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Reason For Selection"
          },
          "kind": {
            "const": "NOTE",
            "default": "NOTE",
            "title": "Kind",
            "type": "string"
          },
          "note_id": {
            "format": "uuid",
            "title": "Note Id",
            "type": "string"
          },
          "primary_label": {
            "title": "Primary Label",
            "type": "string"
          },
          "secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secondary Label"
          },
          "sort_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sort Key"
          }
        },
        "required": [
          "primary_label",
          "secondary_label",
          "note_id"
        ],
        "title": "NoteSmartCardItem",
        "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__PlatformCommercialAllowanceChange": {
        "properties": {
          "change_kind": {
            "title": "Change Kind",
            "type": "string"
          },
          "current_display": {
            "title": "Current Display",
            "type": "string"
          },
          "meter_key": {
            "title": "Meter Key",
            "type": "string"
          },
          "new_allowance": {
            "minimum": 0,
            "title": "New Allowance",
            "type": "number"
          }
        },
        "required": [
          "meter_key",
          "current_display",
          "new_allowance",
          "change_kind"
        ],
        "title": "PlatformCommercialAllowanceChange",
        "type": "object"
      },
      "CoreApi__PlatformCommercialBillingPeriod": {
        "properties": {
          "ends_at": {
            "format": "date-time",
            "title": "Ends At",
            "type": "string"
          },
          "starts_at": {
            "format": "date-time",
            "title": "Starts At",
            "type": "string"
          }
        },
        "required": [
          "starts_at",
          "ends_at"
        ],
        "title": "PlatformCommercialBillingPeriod",
        "type": "object"
      },
      "CoreApi__PlatformCommercialBlockPolicy": {
        "properties": {
          "available": {
            "title": "Available",
            "type": "boolean"
          },
          "complimentary_blocks": {
            "minimum": 0,
            "title": "Complimentary Blocks",
            "type": "integer"
          },
          "max_paid_blocks": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Paid Blocks"
          },
          "mode": {
            "title": "Mode",
            "type": "string"
          },
          "paid_blocks": {
            "minimum": 0,
            "title": "Paid Blocks",
            "type": "integer"
          },
          "price_cents": {
            "exclusiveMinimum": 0,
            "title": "Price Cents",
            "type": "integer"
          }
        },
        "required": [
          "available",
          "price_cents",
          "paid_blocks",
          "complimentary_blocks",
          "mode"
        ],
        "title": "PlatformCommercialBlockPolicy",
        "type": "object"
      },
      "CoreApi__PlatformCommercialCatalog": {
        "properties": {
          "extra_usage_available": {
            "default": false,
            "title": "Extra Usage Available",
            "type": "boolean"
          },
          "extra_usage_block": {
            "$ref": "#/components/schemas/CoreApi__PlatformCommercialExtraUsageBlock"
          },
          "generation": {
            "title": "Generation",
            "type": "string"
          },
          "plan_management_available": {
            "default": false,
            "title": "Plan Management Available",
            "type": "boolean"
          },
          "plans": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__PlatformCommercialPlanCatalogEntry"
            },
            "title": "Plans",
            "type": "array"
          },
          "usage_enforcement_enabled": {
            "default": false,
            "title": "Usage Enforcement Enabled",
            "type": "boolean"
          }
        },
        "required": [
          "generation",
          "plans",
          "extra_usage_block"
        ],
        "title": "PlatformCommercialCatalog",
        "type": "object"
      },
      "CoreApi__PlatformCommercialCurrentPlan": {
        "properties": {
          "currency": {
            "default": "usd",
            "title": "Currency",
            "type": "string"
          },
          "display_name": {
            "title": "Display Name",
            "type": "string"
          },
          "is_legacy": {
            "title": "Is Legacy",
            "type": "boolean"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "monthly_price_cents": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Monthly Price Cents"
          }
        },
        "required": [
          "key",
          "display_name",
          "is_legacy"
        ],
        "title": "PlatformCommercialCurrentPlan",
        "type": "object"
      },
      "CoreApi__PlatformCommercialExtraUsageBlock": {
        "properties": {
          "display_name": {
            "title": "Display Name",
            "type": "string"
          },
          "increments": {
            "$ref": "#/components/schemas/CoreApi__PlatformCommercialUsageAmounts"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "monthly_price_cents": {
            "exclusiveMinimum": 0,
            "title": "Monthly Price Cents",
            "type": "integer"
          }
        },
        "required": [
          "key",
          "display_name",
          "monthly_price_cents",
          "increments"
        ],
        "title": "PlatformCommercialExtraUsageBlock",
        "type": "object"
      },
      "CoreApi__PlatformCommercialMeterSnapshot": {
        "properties": {
          "allowance": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Allowance"
          },
          "current": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Current"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "peak": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Peak"
          },
          "reset_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reset At"
          },
          "used": {
            "minimum": 0,
            "title": "Used",
            "type": "number"
          }
        },
        "required": [
          "kind",
          "used"
        ],
        "title": "PlatformCommercialMeterSnapshot",
        "type": "object"
      },
      "CoreApi__PlatformCommercialMigration": {
        "properties": {
          "can_return": {
            "default": false,
            "title": "Can Return",
            "type": "boolean"
          },
          "changed_allowances": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__PlatformCommercialAllowanceChange"
            },
            "title": "Changed Allowances",
            "type": "array"
          },
          "eligible": {
            "title": "Eligible",
            "type": "boolean"
          },
          "limiting_meter_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Limiting Meter Key"
          },
          "recommended_paid_extra_usage_blocks": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recommended Paid Extra Usage Blocks"
          },
          "recommended_plan_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recommended Plan Key"
          },
          "source_monthly_price_cents": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Monthly Price Cents"
          },
          "source_plan_display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Plan Display Name"
          },
          "state": {
            "title": "State",
            "type": "string"
          }
        },
        "required": [
          "state",
          "eligible"
        ],
        "title": "PlatformCommercialMigration",
        "type": "object"
      },
      "CoreApi__PlatformCommercialPausedWorkingMemoryItem": {
        "properties": {
          "item_id": {
            "format": "uuid",
            "title": "Item Id",
            "type": "string"
          },
          "item_kind": {
            "enum": [
              "assistant_task",
              "assistant_project"
            ],
            "title": "Item Kind",
            "type": "string"
          }
        },
        "required": [
          "item_kind",
          "item_id"
        ],
        "title": "PlatformCommercialPausedWorkingMemoryItem",
        "type": "object"
      },
      "CoreApi__PlatformCommercialPendingChange": {
        "properties": {
          "destination_plan_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Destination Plan Key"
          },
          "effective_at": {
            "format": "date-time",
            "title": "Effective At",
            "type": "string"
          },
          "paid_extra_usage_blocks": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Paid Extra Usage Blocks"
          },
          "status": {
            "enum": [
              "pending_payment",
              "scheduled"
            ],
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "status",
          "effective_at"
        ],
        "title": "PlatformCommercialPendingChange",
        "type": "object"
      },
      "CoreApi__PlatformCommercialPlanCatalogEntry": {
        "properties": {
          "allowances": {
            "$ref": "#/components/schemas/CoreApi__PlatformCommercialUsageAmounts"
          },
          "checkout_available": {
            "default": false,
            "title": "Checkout Available",
            "type": "boolean"
          },
          "display_name": {
            "title": "Display Name",
            "type": "string"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "monthly_price_cents": {
            "minimum": 0,
            "title": "Monthly Price Cents",
            "type": "integer"
          },
          "position": {
            "minimum": 0,
            "title": "Position",
            "type": "integer"
          },
          "supports_paid_extra_usage": {
            "title": "Supports Paid Extra Usage",
            "type": "boolean"
          }
        },
        "required": [
          "key",
          "display_name",
          "monthly_price_cents",
          "position",
          "allowances",
          "supports_paid_extra_usage"
        ],
        "title": "PlatformCommercialPlanCatalogEntry",
        "type": "object"
      },
      "CoreApi__PlatformCommercialPlanSnapshot": {
        "properties": {
          "block_policy": {
            "$ref": "#/components/schemas/CoreApi__PlatformCommercialBlockPolicy"
          },
          "catalog_generation": {
            "title": "Catalog Generation",
            "type": "string"
          },
          "current_plan": {
            "$ref": "#/components/schemas/CoreApi__PlatformCommercialCurrentPlan"
          },
          "meters": {
            "additionalProperties": {
              "$ref": "#/components/schemas/CoreApi__PlatformCommercialMeterSnapshot"
            },
            "title": "Meters",
            "type": "object"
          },
          "migration": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CoreApi__PlatformCommercialMigration"
              },
              {
                "type": "null"
              }
            ]
          },
          "paused_connection_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Paused Connection Ids",
            "type": "array"
          },
          "paused_working_memory_items": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__PlatformCommercialPausedWorkingMemoryItem"
            },
            "title": "Paused Working Memory Items",
            "type": "array"
          },
          "pending_change": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CoreApi__PlatformCommercialPendingChange"
              },
              {
                "type": "null"
              }
            ]
          },
          "period": {
            "$ref": "#/components/schemas/CoreApi__PlatformCommercialBillingPeriod"
          }
        },
        "required": [
          "catalog_generation",
          "current_plan",
          "period",
          "meters",
          "block_policy"
        ],
        "title": "PlatformCommercialPlanSnapshot",
        "type": "object"
      },
      "CoreApi__PlatformCommercialUsageAmounts": {
        "properties": {
          "active_connections": {
            "minimum": 0,
            "title": "Active Connections",
            "type": "integer"
          },
          "active_custom_routines": {
            "minimum": 0,
            "title": "Active Custom Routines",
            "type": "integer"
          },
          "active_notes": {
            "minimum": 0,
            "title": "Active Notes",
            "type": "integer"
          },
          "new_notes": {
            "minimum": 0,
            "title": "New Notes",
            "type": "integer"
          },
          "open_tasks_projects": {
            "minimum": 0,
            "title": "Open Tasks Projects",
            "type": "integer"
          },
          "routine_executions": {
            "minimum": 0,
            "title": "Routine Executions",
            "type": "integer"
          },
          "user_requests": {
            "minimum": 0,
            "title": "User Requests",
            "type": "integer"
          },
          "voice_mode_hours": {
            "minimum": 0,
            "title": "Voice Mode Hours",
            "type": "number"
          }
        },
        "required": [
          "user_requests",
          "new_notes",
          "active_notes",
          "open_tasks_projects",
          "active_custom_routines",
          "routine_executions",
          "active_connections",
          "voice_mode_hours"
        ],
        "title": "PlatformCommercialUsageAmounts",
        "type": "object"
      },
      "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"
          },
          "commercial_catalog": {
            "$ref": "#/components/schemas/CoreApi__PlatformCommercialCatalog"
          },
          "commercial_plan_snapshot": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CoreApi__PlatformCommercialPlanSnapshot"
              },
              {
                "type": "null"
              }
            ]
          },
          "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"
          },
          "proactive_trial_eligibility": {
            "$ref": "#/components/schemas/CoreApi__PlatformProactiveTrialEligibility"
          },
          "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",
          "proactive_trial_eligibility",
          "commercial_catalog"
        ],
        "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"
          },
          "intent_onboarding_completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Intent Onboarding Completed At"
          },
          "onboarding_checklist_is_relevant": {
            "title": "Onboarding Checklist Is Relevant",
            "type": "boolean"
          },
          "onboarding_flow_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Onboarding Flow Version"
          },
          "onboarding_intent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Onboarding Intent"
          },
          "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__PlatformProactiveTrialEligibility": {
        "properties": {
          "apple_offer_eligible": {
            "title": "Apple Offer Eligible",
            "type": "boolean"
          },
          "reservation_expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reservation Expires At"
          },
          "reserved_provider": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CoreApi__ProviderEnum"
              },
              {
                "type": "null"
              }
            ]
          },
          "stripe_trial_eligible": {
            "title": "Stripe Trial Eligible",
            "type": "boolean"
          }
        },
        "required": [
          "apple_offer_eligible",
          "stripe_trial_eligible"
        ],
        "title": "PlatformProactiveTrialEligibility",
        "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"
              }
            ]
          },
          "provider_subscription_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provider Subscription Id"
          },
          "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__PrepareAppleOfferRequestSchema": {
        "properties": {
          "app_transaction_id": {
            "anyOf": [
              {
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "App Transaction Id"
          }
        },
        "title": "PrepareAppleOfferRequestSchema",
        "type": "object"
      },
      "CoreApi__PreviewCommercialPlanChangeRequestSchema": {
        "properties": {
          "paid_extra_usage_blocks": {
            "default": 0,
            "minimum": 0,
            "title": "Paid Extra Usage Blocks",
            "type": "integer"
          },
          "target_plan_key": {
            "$ref": "#/components/schemas/CoreApi__CommercialPlanKey"
          }
        },
        "required": [
          "target_plan_key"
        ],
        "title": "PreviewCommercialPlanChangeRequestSchema",
        "type": "object"
      },
      "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__RequestNoteReviewNowResponseSchema": {
        "properties": {
          "status": {
            "const": "requested",
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "RequestNoteReviewNowResponseSchema",
        "type": "object"
      },
      "CoreApi__ResetMemoryRequestSchema": {
        "properties": {
          "confirmation": {
            "const": "RESET",
            "title": "Confirmation",
            "type": "string"
          }
        },
        "required": [
          "confirmation"
        ],
        "title": "ResetMemoryRequestSchema",
        "type": "object"
      },
      "CoreApi__ResetMemoryResponseSchema": {
        "properties": {
          "total_deleted": {
            "title": "Total Deleted",
            "type": "integer"
          }
        },
        "required": [
          "total_deleted"
        ],
        "title": "ResetMemoryResponseSchema",
        "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__RoutineShareLinkResponseSchema": {
        "properties": {
          "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"
          },
          "revoked_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Revoked At"
          },
          "routine": {
            "$ref": "#/components/schemas/CoreApi__RoutineShareRoutineSnapshotSchema"
          },
          "share_path": {
            "title": "Share Path",
            "type": "string"
          },
          "source_routine_id": {
            "format": "uuid",
            "title": "Source Routine Id",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "verification_token": {
            "format": "uuid",
            "title": "Verification Token",
            "type": "string"
          }
        },
        "required": [
          "id",
          "verification_token",
          "share_path",
          "source_routine_id",
          "routine",
          "expires_at",
          "revoked_at",
          "created_at",
          "updated_at"
        ],
        "title": "RoutineShareLinkResponseSchema",
        "type": "object"
      },
      "CoreApi__RoutineShareOwnerSchema": {
        "properties": {
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "photo_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Photo Url"
          }
        },
        "required": [
          "display_name",
          "photo_url"
        ],
        "title": "RoutineShareOwnerSchema",
        "type": "object"
      },
      "CoreApi__RoutineSharePreviewResponseSchema": {
        "properties": {
          "link": {
            "$ref": "#/components/schemas/CoreApi__RoutineShareLinkResponseSchema"
          },
          "owner": {
            "$ref": "#/components/schemas/CoreApi__RoutineShareOwnerSchema"
          }
        },
        "required": [
          "link",
          "owner"
        ],
        "title": "RoutineSharePreviewResponseSchema",
        "type": "object"
      },
      "CoreApi__RoutineShareRoutineSnapshotSchema": {
        "properties": {
          "description": {
            "title": "Description",
            "type": "string"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          }
        },
        "required": [
          "label",
          "description",
          "kind"
        ],
        "title": "RoutineShareRoutineSnapshotSchema",
        "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__SearchMemAgentActivitiesRequestSchema": {
        "additionalProperties": false,
        "properties": {
          "cursor": {
            "anyOf": [
              {
                "maxLength": 500,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cursor"
          },
          "entity_kind": {
            "anyOf": [
              {
                "maxLength": 50,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Entity Kind"
          },
          "exclude_activity_types": {
            "anyOf": [
              {
                "items": {
                  "maxLength": 100,
                  "minLength": 1,
                  "type": "string"
                },
                "maxItems": 50,
                "minItems": 1,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exclude Activity Types"
          },
          "exclude_item_kinds": {
            "anyOf": [
              {
                "items": {
                  "maxLength": 100,
                  "minLength": 1,
                  "type": "string"
                },
                "maxItems": 50,
                "minItems": 1,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exclude Item Kinds"
          },
          "include_activity_types": {
            "anyOf": [
              {
                "items": {
                  "maxLength": 100,
                  "minLength": 1,
                  "type": "string"
                },
                "maxItems": 50,
                "minItems": 1,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Include Activity Types"
          },
          "include_item_kinds": {
            "anyOf": [
              {
                "items": {
                  "maxLength": 100,
                  "minLength": 1,
                  "type": "string"
                },
                "maxItems": 50,
                "minItems": 1,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Include Item Kinds"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "title": "Limit",
            "type": "integer"
          },
          "project_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Id"
          },
          "query": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Query"
          },
          "routine_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Routine Id"
          },
          "task_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Task Id"
          }
        },
        "title": "SearchMemAgentActivitiesRequestSchema",
        "type": "object"
      },
      "CoreApi__SearchMemAgentActivitiesResponseSchema": {
        "additionalProperties": false,
        "properties": {
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__MemAgentActivitySummarySchema"
            },
            "title": "Results",
            "type": "array"
          }
        },
        "title": "SearchMemAgentActivitiesResponseSchema",
        "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__SendAgentTrialMessageRequestSchema": {
        "properties": {
          "content": {
            "maxLength": 100000,
            "minLength": 1,
            "title": "Content",
            "type": "string"
          },
          "idempotency_key": {
            "maxLength": 128,
            "minLength": 8,
            "title": "Idempotency Key",
            "type": "string"
          },
          "input_modality": {
            "$ref": "#/components/schemas/CoreApi__AgentTrialInputModality"
          },
          "session_event_id": {
            "format": "uuid",
            "title": "Session Event Id",
            "type": "string"
          }
        },
        "required": [
          "idempotency_key",
          "session_event_id",
          "content",
          "input_modality"
        ],
        "title": "SendAgentTrialMessageRequestSchema",
        "type": "object"
      },
      "CoreApi__SendAgentTrialMessageResponseSchema": {
        "properties": {
          "accepted_send_ordinal": {
            "title": "Accepted Send Ordinal",
            "type": "integer"
          },
          "snapshot": {
            "$ref": "#/components/schemas/CoreApi__AgentTrialSnapshot"
          }
        },
        "required": [
          "accepted_send_ordinal",
          "snapshot"
        ],
        "title": "SendAgentTrialMessageResponseSchema",
        "type": "object"
      },
      "CoreApi__ServiceInfoResponseSchema": {
        "properties": {
          "chrome_extension": {
            "$ref": "#/components/schemas/CoreApi__ChromeExtensionServiceInfoSchema"
          },
          "desktop": {
            "$ref": "#/components/schemas/CoreApi__DesktopServiceInfoSchema"
          },
          "supported_settings": {
            "$ref": "#/components/schemas/CoreApi__SupportedSettingsSchema"
          }
        },
        "required": [
          "chrome_extension",
          "desktop",
          "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"
          },
          "notification_origin": {
            "anyOf": [
              {
                "discriminator": {
                  "mapping": {
                    "BACKGROUND": "#/components/schemas/CoreApi__BackgroundSessionEventNotificationOrigin",
                    "FOREGROUND": "#/components/schemas/CoreApi__ForegroundSessionEventNotificationOrigin"
                  },
                  "propertyName": "kind"
                },
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CoreApi__BackgroundSessionEventNotificationOrigin"
                  },
                  {
                    "$ref": "#/components/schemas/CoreApi__ForegroundSessionEventNotificationOrigin"
                  }
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Notification Origin"
          },
          "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"
              },
              {
                "$ref": "#/components/schemas/CoreApi__NativeChatOnboardingPromptNotificationPayload"
              }
            ],
            "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",
          "NATIVE_CHAT_ONBOARDING_PROMPT"
        ],
        "title": "SessionSystemNotificationKind",
        "type": "string"
      },
      "CoreApi__SetIntentOnboardingIntentRequestSchema": {
        "properties": {
          "intent": {
            "title": "Intent",
            "type": "string"
          }
        },
        "required": [
          "intent"
        ],
        "title": "SetIntentOnboardingIntentRequestSchema",
        "type": "object"
      },
      "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__SharedMemAgentSkillResponseSchema": {
        "additionalProperties": false,
        "properties": {
          "instructions": {
            "title": "Instructions",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "own_skill_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Own Skill Id"
          },
          "sharer_display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sharer Display Name"
          },
          "when_to_use": {
            "title": "When To Use",
            "type": "string"
          }
        },
        "required": [
          "name",
          "when_to_use",
          "instructions",
          "sharer_display_name",
          "own_skill_id"
        ],
        "title": "SharedMemAgentSkillResponseSchema",
        "type": "object"
      },
      "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__SmartContextPayloadValue": {
        "properties": {
          "active_collection_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Active Collection Id"
          },
          "active_note_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Active Note Id"
          },
          "continuation_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Continuation Id"
          },
          "query": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Query"
          },
          "smart_view_kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CoreApi__SmartViewKind"
              },
              {
                "type": "null"
              }
            ]
          },
          "space_account_id": {
            "format": "uuid",
            "title": "Space Account Id",
            "type": "string"
          }
        },
        "required": [
          "space_account_id"
        ],
        "title": "SmartContextPayloadValue",
        "type": "object"
      },
      "CoreApi__SmartViewKind": {
        "enum": [
          "HEADS_UP",
          "PULSE",
          "UNKNOWN"
        ],
        "title": "SmartViewKind",
        "type": "string"
      },
      "CoreApi__SmartViewResponseSchema": {
        "properties": {
          "associated_continuation_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated Continuation Id"
          },
          "associated_space_account_id": {
            "format": "uuid",
            "title": "Associated Space Account Id",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "generated_new_continuation": {
            "title": "Generated New Continuation",
            "type": "boolean"
          },
          "has_found_more": {
            "title": "Has Found More",
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "refreshed_at": {
            "format": "date-time",
            "title": "Refreshed At",
            "type": "string"
          },
          "smart_cards": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/CoreApi__NoteListSmartCardResponseSchema"
                },
                {
                  "$ref": "#/components/schemas/CoreApi__MentionedBySmartCardResponseSchema"
                },
                {
                  "$ref": "#/components/schemas/CoreApi__CollectionListSmartCardResponseSchema"
                },
                {
                  "$ref": "#/components/schemas/CoreApi__TimelineSmartCardResponseSchema"
                },
                {
                  "$ref": "#/components/schemas/CoreApi__LiveSmartCardResponseSchema"
                },
                {
                  "$ref": "#/components/schemas/CoreApi__MarkdownSmartCardResponseSchema"
                },
                {
                  "$ref": "#/components/schemas/CoreApi__MeetingBriefingSmartCardResponseSchema"
                },
                {
                  "$ref": "#/components/schemas/CoreApi__UnknownSmartCardResponseSchema"
                }
              ]
            },
            "title": "Smart Cards",
            "type": "array"
          },
          "smart_context_id": {
            "format": "uuid",
            "title": "Smart Context Id",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "value_json": {
            "additionalProperties": true,
            "title": "Value Json",
            "type": "object"
          }
        },
        "required": [
          "id",
          "associated_space_account_id",
          "smart_context_id",
          "associated_continuation_id",
          "generated_new_continuation",
          "value_json",
          "created_at",
          "updated_at",
          "refreshed_at",
          "has_found_more",
          "smart_cards"
        ],
        "title": "SmartViewResponseSchema",
        "type": "object"
      },
      "CoreApi__SmokeTestHealthCheckResponse": {
        "properties": {
          "api": {
            "$ref": "#/components/schemas/CoreApi__ComponentStatus"
          },
          "postgres": {
            "$ref": "#/components/schemas/CoreApi__ComponentStatus"
          },
          "redis": {
            "$ref": "#/components/schemas/CoreApi__ComponentStatus"
          }
        },
        "required": [
          "api",
          "postgres",
          "redis"
        ],
        "title": "SmokeTestHealthCheckResponse",
        "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__TimelineSmartCardResponseSchema": {
        "properties": {
          "copied_from_smart_card_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Copied From Smart Card Id"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "EVENT_TIMELINE",
            "title": "Kind",
            "type": "string"
          },
          "originated_from_find_more": {
            "title": "Originated From Find More",
            "type": "boolean"
          },
          "smart_view_id": {
            "format": "uuid",
            "title": "Smart View Id",
            "type": "string"
          },
          "sort_key": {
            "title": "Sort Key",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/CoreApi__TimelineValueSchema"
          }
        },
        "required": [
          "id",
          "smart_view_id",
          "sort_key",
          "kind",
          "copied_from_smart_card_id",
          "originated_from_find_more",
          "value"
        ],
        "title": "TimelineSmartCardResponseSchema",
        "type": "object"
      },
      "CoreApi__TimelineValueSchema": {
        "properties": {
          "internal_reason_for_selection": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Reason For Selection"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/CoreApi__EventSmartEntitySmartCardItem"
            },
            "title": "Items",
            "type": "array"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "required": [
          "items"
        ],
        "title": "TimelineValueSchema",
        "type": "object"
      },
      "CoreApi__ToolCallOrigin": {
        "enum": [
          "MODEL",
          "USER"
        ],
        "title": "ToolCallOrigin",
        "type": "string"
      },
      "CoreApi__TrackCustomerIntelligenceRequestSchema": {
        "properties": {
          "force_rebuild": {
            "default": false,
            "title": "Force Rebuild",
            "type": "boolean"
          }
        },
        "title": "TrackCustomerIntelligenceRequestSchema",
        "type": "object"
      },
      "CoreApi__TrackMemoryResponseSchema": {
        "properties": {
          "created": {
            "title": "Created",
            "type": "boolean"
          },
          "manifest": {
            "$ref": "#/components/schemas/CoreApi__MemoryManifestResponseSchema"
          },
          "run": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CoreApi__MemoryRunResponseSchema"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "manifest",
          "run",
          "created"
        ],
        "title": "TrackMemoryResponseSchema",
        "type": "object"
      },
      "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__UnknownSmartCardResponseSchema": {
        "properties": {
          "copied_from_smart_card_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Copied From Smart Card Id"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "kind": {
            "const": "UNKNOWN",
            "title": "Kind",
            "type": "string"
          },
          "originated_from_find_more": {
            "title": "Originated From Find More",
            "type": "boolean"
          },
          "smart_view_id": {
            "format": "uuid",
            "title": "Smart View Id",
            "type": "string"
          },
          "sort_key": {
            "title": "Sort Key",
            "type": "string"
          },
          "value": {
            "additionalProperties": true,
            "title": "Value",
            "type": "object"
          }
        },
        "required": [
          "id",
          "smart_view_id",
          "sort_key",
          "kind",
          "copied_from_smart_card_id",
          "originated_from_find_more",
          "value"
        ],
        "title": "UnknownSmartCardResponseSchema",
        "type": "object"
      },
      "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__UpdateMemoryEntityRequestSchema": {
        "properties": {
          "display_name": {
            "anyOf": [
              {
                "maxLength": 240,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "properties": {
            "anyOf": [
              {
                "additionalProperties": {
                  "$ref": "#/components/schemas/CoreApi__JsonValue"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Properties"
          },
          "summary": {
            "anyOf": [
              {
                "maxLength": 12000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Summary"
          }
        },
        "title": "UpdateMemoryEntityRequestSchema",
        "type": "object"
      },
      "CoreApi__UpdateMemoryManifestRequestSchema": {
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CoreApi__MemoryManifestStatus"
          }
        },
        "required": [
          "status"
        ],
        "title": "UpdateMemoryManifestRequestSchema",
        "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__UserActionInputModality": {
        "enum": [
          "text",
          "voice",
          "web_clip"
        ],
        "title": "UserActionInputModality",
        "type": "string"
      },
      "CoreApi__UserActionSurface": {
        "enum": [
          "floating_mem",
          "ios_share_extension"
        ],
        "title": "UserActionSurface",
        "type": "string"
      },
      "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"
          },
          "input_modality": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CoreApi__UserActionInputModality"
              },
              {
                "type": "null"
              }
            ]
          },
          "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"
          },
          "surface": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CoreApi__UserActionSurface"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "UserActionV1SessionEventContext",
        "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__WhatsAppInitiation": {
        "enum": [
          "agent_initiated",
          "inbound_reply",
          "connection_message",
          "unknown"
        ],
        "title": "WhatsAppInitiation",
        "type": "string"
      },
      "CoreApi__WhatsAppSendMode": {
        "enum": [
          "template",
          "freeform",
          "unknown"
        ],
        "title": "WhatsAppSendMode",
        "type": "string"
      },
      "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",
          "created_at_asc",
          "updated_at_asc",
          "scheduled_for_asc"
        ],
        "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",
                  "created_at_asc",
                  "updated_at_asc",
                  "scheduled_for_asc"
                ],
                "title": "FollowUpListOrderBy",
                "type": "string"
              }
            ],
            "default": "scheduled_for",
            "description": "Sort key for pagination boundaries. Use `scheduled_for` (default) for latest-scheduled-first follow-up feeds, `scheduled_for_asc` for soonest-scheduled-first pending sweeps, `updated_at` or `updated_at_asc` for recency/staleness feeds, and `created_at` or `created_at_asc` 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"
      },
      "ForegroundSessionEventNotificationOrigin": {
        "properties": {
          "kind": {
            "const": "FOREGROUND",
            "default": "FOREGROUND",
            "title": "Kind",
            "type": "string"
          },
          "sync_client_group_id": {
            "format": "uuid",
            "title": "Sync Client Group Id",
            "type": "string"
          }
        },
        "required": [
          "sync_client_group_id"
        ],
        "title": "ForegroundSessionEventNotificationOrigin",
        "type": "object"
      },
      "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• \"<!DOCTYPE html><html><head><title>AI Trends 2025</title>...</html>\"\n• \"[08:47:19] Kevin: Hello...[09:15:22] Meeting ended.\"\n• \"Check out Atomic Habits by James Clear - recommended by Sarah\"",
            "title": "Input",
            "type": "string"
          },
          "instructions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional guidance on how you want this information processed or remembered.\n\nExamples:\n• \"Extract the key findings and save as a research note\"\n• \"Create a summary with action items and decisions\"\n• \"Add to my reading list\"",
            "title": "Instructions"
          },
          "timestamp": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When this information was encountered or 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": "Timestamp"
          }
        },
        "required": [
          "input"
        ],
        "title": "LegacyMemItRequestSchema",
        "type": "object"
      },
      "LegacyMemItResponseSchema": {
        "example": {
          "operations": [
            {
              "note_id": "01234567-89ab-cdef-0123-456789abcdef",
              "title": "AI Trends 2025 - Key Findings",
              "type": "created-note",
              "url": "https://app.mem.ai/m/01234567-89ab-cdef-0123-456789abcdef"
            }
          ],
          "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": "LegacyMemItResponseSchema",
        "type": "object"
      },
      "ListCalendarConnectionsResponseSchema": {
        "properties": {
          "connections": {
            "items": {
              "$ref": "#/components/schemas/ConnectionItemSchema"
            },
            "title": "Connections",
            "type": "array"
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "connections"
        ],
        "title": "ListCalendarConnectionsResponseSchema",
        "type": "object"
      },
      "ListCalendarEventsQuerySchema": {
        "properties": {
          "calendar_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Filter by external calendar ID (provider calendar ID).",
            "title": "Calendar Id"
          },
          "end_time": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Filter events starting at or before this time.",
            "title": "End Time"
          },
          "limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Maximum number of events to return.",
            "title": "Limit"
          },
          "start_time": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Filter events ending at or after this time.",
            "title": "Start Time"
          }
        },
        "title": "ListCalendarEventsQuerySchema",
        "type": "object"
      },
      "ListCalendarEventsResponseSchema": {
        "properties": {
          "events": {
            "items": {
              "$ref": "#/components/schemas/CalendarEventItemSchema"
            },
            "title": "Events",
            "type": "array"
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "request_id",
          "events",
          "total"
        ],
        "title": "ListCalendarEventsResponseSchema",
        "type": "object"
      },
      "ListCalendarsResponseSchema": {
        "properties": {
          "calendars": {
            "items": {
              "$ref": "#/components/schemas/CalendarItemSchema"
            },
            "title": "Calendars",
            "type": "array"
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "calendars"
        ],
        "title": "ListCalendarsResponseSchema",
        "type": "object"
      },
      "MarkdownV1SessionPart": {
        "properties": {
          "attachment_references": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/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"
      },
      "McpInitializeRequestSchema": {
        "properties": {
          "client_name": {
            "description": "MCP clientInfo.name value from initialize.",
            "minLength": 1,
            "title": "Client Name",
            "type": "string"
          },
          "client_version": {
            "description": "MCP clientInfo.version value from initialize.",
            "minLength": 1,
            "title": "Client Version",
            "type": "string"
          }
        },
        "required": [
          "client_name",
          "client_version"
        ],
        "title": "McpInitializeRequestSchema",
        "type": "object"
      },
      "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"
      },
      "MemItRequestSchema": {
        "properties": {
          "context": {
            "anyOf": [
              {
                "maxLength": 10000,
                "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\"\n\nMaximum of ~10k characters.",
            "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• \"<!DOCTYPE html><html><head><title>AI Trends 2025</title>...</html>\"\n• \"[08:47:19] Kevin: Hello...[09:15:22] Meeting ended.\"\n• \"Check out Atomic Habits by James Clear - recommended by Sarah\"\n\nMaximum of ~1M characters (~1 MB).",
            "maxLength": 1000000,
            "title": "Input",
            "type": "string"
          },
          "instructions": {
            "anyOf": [
              {
                "maxLength": 10000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional guidance on how you want this information processed or remembered.\n\nExamples:\n• \"Extract the key findings and save as a research note\"\n• \"Create a summary with action items and decisions\"\n• \"Add to my reading list\"\n\nMaximum size: approximately 10 KB.",
            "title": "Instructions"
          },
          "timestamp": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "When this information was encountered or 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\"\n\nMaximum of ~10k characters.",
            "title": "Timestamp"
          }
        },
        "required": [
          "input"
        ],
        "title": "MemItRequestSchema",
        "type": "object"
      },
      "MemItResponseSchema": {
        "example": {
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522"
        },
        "properties": {
          "request_id": {
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id"
        ],
        "title": "MemItResponseSchema",
        "type": "object"
      },
      "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/TextSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ChipSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ImageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/FileSessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                }
              ]
            },
            "title": "Parts",
            "type": "array"
          }
        },
        "required": [
          "parts"
        ],
        "title": "MessageSessionPart",
        "type": "object"
      },
      "MessageUserToolCallArgs": {
        "properties": {
          "message": {
            "title": "Message",
            "type": "string"
          }
        },
        "required": [
          "message"
        ],
        "title": "MessageUserToolCallArgs",
        "type": "object"
      },
      "MessageUserToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "MessageUserToolCallResult",
        "type": "object"
      },
      "MoveNoteRequestSchema": {
        "properties": {
          "target_collection_id": {
            "description": "UUID of the collection that should receive the note.\nThe caller must be able to add the note to this collection.",
            "examples": [
              "01961d40-7c70-7ed8-8cd4-bd99203de422"
            ],
            "format": "uuid",
            "title": "Target Collection Id",
            "type": "string"
          }
        },
        "required": [
          "target_collection_id"
        ],
        "title": "MoveNoteRequestSchema",
        "type": "object"
      },
      "MoveNoteResponseSchema": {
        "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": "MoveNoteResponseSchema",
        "type": "object"
      },
      "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"
      },
      "MoveNoteToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "MoveNoteToolCallResult",
        "type": "object"
      },
      "NativeChatOnboardingPromptNotificationPayload": {
        "properties": {
          "kind": {
            "const": "NATIVE_CHAT_ONBOARDING_PROMPT",
            "default": "NATIVE_CHAT_ONBOARDING_PROMPT",
            "title": "Kind",
            "type": "string"
          }
        },
        "title": "NativeChatOnboardingPromptNotificationPayload",
        "type": "object"
      },
      "NoteAttachmentMetadataResponseSchema": {
        "properties": {
          "attachment_id": {
            "description": "UUID of the note attachment. Use this ID with note attachment tools.",
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "attachment_kind": {
            "description": "Attachment kind. Use this with attachment tools that need kind-specific handling.",
            "enum": [
              "pdf",
              "image"
            ],
            "title": "Attachment Kind",
            "type": "string"
          },
          "image_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Detected image type for image attachments, when available.",
            "title": "Image Type"
          },
          "ocr_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Extracted OCR text for image attachments, when available.",
            "title": "Ocr Text"
          },
          "page_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Number of pages for PDF attachments, or null for image attachments.",
            "title": "Page Count"
          },
          "suggested_search": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Suggested query text for searching within the attachment, when available.",
            "title": "Suggested Search"
          },
          "summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Compact extracted summary for the attachment, when available.",
            "title": "Summary"
          },
          "visual_description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Visual description for image attachments, when available.",
            "title": "Visual Description"
          }
        },
        "required": [
          "attachment_kind",
          "attachment_id"
        ],
        "title": "NoteAttachmentMetadataResponseSchema",
        "type": "object"
      },
      "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"
      },
      "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"
      },
      "NoteListItemResponseSchema": {
        "properties": {
          "audio_recording_ids": {
            "description": "Audio Recording UUIDs currently associated with the note.",
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Audio Recording Ids",
            "type": "array"
          },
          "collection_ids": {
            "description": "Collection UUIDs currently associated with the note.",
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Collection Ids",
            "type": "array"
          },
          "content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Full markdown content for the note.\nIncluded only when `include_note_content=true` is requested.",
            "title": "Content"
          },
          "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 note.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "snippet": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional derived preview text for quick display and ranking context.\nIt may be truncated and is not guaranteed to contain full note context.",
            "title": "Snippet"
          },
          "title": {
            "description": "Current title of the note.",
            "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"
          }
        },
        "required": [
          "id",
          "title",
          "collection_ids",
          "audio_recording_ids",
          "created_at",
          "updated_at"
        ],
        "title": "NoteListItemResponseSchema",
        "type": "object"
      },
      "NoteListOrderBy": {
        "enum": [
          "created_at",
          "updated_at"
        ],
        "title": "NoteListOrderBy",
        "type": "string"
      },
      "NoteListQuerySchema": {
        "properties": {
          "collection_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional collection filter by UUID.\nWhen set, only notes linked to this collection are returned.",
            "title": "Collection Id"
          },
          "contains_files": {
            "default": false,
            "description": "When true, include notes that contain file-like attachments\n(including file and PDF kinds).\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
            "title": "Contains Files",
            "type": "boolean"
          },
          "contains_images": {
            "default": false,
            "description": "When true, include notes that contain image media\n(including image and GIF kinds).\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
            "title": "Contains Images",
            "type": "boolean"
          },
          "contains_open_tasks": {
            "default": false,
            "description": "When true, include notes that contain at least one open task item.\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
            "title": "Contains Open Tasks",
            "type": "boolean"
          },
          "contains_tasks": {
            "default": false,
            "description": "When true, include notes that contain at least one task item\n(open or closed).\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
            "title": "Contains Tasks",
            "type": "boolean"
          },
          "filter_by_created_after": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional inclusive lower bound for note 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 note 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 note 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 note update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "title": "Filter By Updated Before"
          },
          "include_note_content": {
            "default": false,
            "description": "When true, include full markdown content for each returned note.\nIMPORTANT: This increases payload size and can increase latency.",
            "title": "Include Note Content",
            "type": "boolean"
          },
          "limit": {
            "anyOf": [
              {
                "maximum": 100,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 50,
            "description": "Maximum number of notes 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": "NoteListOrderBy",
                "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": "NoteListQuerySchema",
        "type": "object"
      },
      "NoteListResponseSchema": {
        "example": {
          "next_page": "eyJpZCI6IjAxOGY4ZDBkLTVhM2MtN2FmYy04MzIxLTJmNmY2ZTBmZWZhYiIsIm9yZGVyX2J5IjoidXBkYXRlZF9hdCIsInJlcXVlc3RfZmluZ2VycHJpbnQiOiJkZjk4MDI5YjhhZGI0M2Q4NmI5YTRkYjQ3ZTZhYWE4NjkyZjUzZGFiZDQ4ZDg0MjYxZWI2YjY2MDVhODI2N2Q4IiwidmFsdWUiOiIyMDI1LTA1LTA0VDE0OjIwOjExWiJ9",
          "request_id": "api-request-018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
          "results": [
            {
              "audio_recording_ids": [
                "78ff64bc-09e3-4fd7-a4b9-53c258f35619"
              ],
              "collection_ids": [
                "59508b41-8770-4855-aa37-302b1e09aee7",
                "026b426c-14fb-4f22-8d98-7a9121bfaec8"
              ],
              "content": "# Weekly Planning\n\n## Priorities\n- Customer interviews\n- Ship timeline view\n",
              "created_at": "2025-05-01T10:05:45Z",
              "id": "018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
              "snippet": "Quarterly kickoff prep",
              "title": "Weekly Planning",
              "updated_at": "2025-05-04T14:20:11Z"
            }
          ],
          "total": 12
        },
        "properties": {
          "next_page": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Opaque cursor for the next page of results.\nOmitted 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 note results matching the requested filters and sort.",
            "items": {
              "$ref": "#/components/schemas/NoteListItemResponseSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "description": "Total number of matching notes before pagination is applied.",
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "request_id",
          "results",
          "total"
        ],
        "title": "NoteListResponseSchema",
        "type": "object"
      },
      "NoteResultsConfigSchema": {
        "properties": {
          "include_note_content": {
            "default": false,
            "description": "When true, include full markdown content for each returned note.\nKeep false for lightweight metadata/snippet responses.",
            "title": "Include Note Content",
            "type": "boolean"
          }
        },
        "title": "NoteResultsConfigSchema",
        "type": "object"
      },
      "NoteSearchItemResponseSchema": {
        "properties": {
          "audio_recording_ids": {
            "description": "Audio Recording UUIDs currently associated with the note.",
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Audio Recording Ids",
            "type": "array"
          },
          "collection_ids": {
            "description": "Collection UUIDs currently associated with the note.",
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Collection Ids",
            "type": "array"
          },
          "content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Full markdown content for the note.\nIncluded only when `config.include_note_content=true` is requested.",
            "title": "Content"
          },
          "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 note.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "snippet": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional derived preview text for quick display and ranking context.\nIt may be truncated and is not guaranteed to contain full note context.",
            "title": "Snippet"
          },
          "title": {
            "description": "Current title of the note.",
            "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"
          }
        },
        "required": [
          "id",
          "title",
          "collection_ids",
          "audio_recording_ids",
          "created_at",
          "updated_at"
        ],
        "title": "NoteSearchItemResponseSchema",
        "type": "object"
      },
      "NoteSearchQuerySchema": {
        "properties": {
          "limit": {
            "anyOf": [
              {
                "maximum": 50,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 20,
            "description": "Maximum number of notes in this search page.\nUse smaller values for lower latency.\nDefault is 20; valid range is 1 to 50.",
            "title": "Limit"
          },
          "offset": {
            "default": 0,
            "description": "Number of matching notes to skip before returning results.\nThis value is zero-based.",
            "minimum": 0,
            "title": "Offset",
            "type": "integer"
          },
          "snapshot_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Opaque search snapshot identifier returned by a previous search page.\nRequired when requesting later pages with `offset > 0`.",
            "title": "Snapshot Id"
          }
        },
        "title": "NoteSearchQuerySchema",
        "type": "object"
      },
      "NoteSearchRequestSchema": {
        "properties": {
          "config": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NoteResultsConfigSchema"
              }
            ],
            "description": "Configuration flags controlling search response payload shape."
          },
          "filter_by_collection_ids": {
            "anyOf": [
              {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional collection UUID filters.\nWhen provided, results are limited to notes in any listed collection.",
            "title": "Filter By Collection Ids"
          },
          "filter_by_contains_files": {
            "default": false,
            "description": "When true, include notes that contain file-like attachments\n(including file and PDF kinds).",
            "title": "Filter By Contains Files",
            "type": "boolean"
          },
          "filter_by_contains_images": {
            "default": false,
            "description": "When true, include notes that contain image media\n(including image and GIF kinds).",
            "title": "Filter By Contains Images",
            "type": "boolean"
          },
          "filter_by_contains_open_tasks": {
            "default": false,
            "description": "When true, include notes that contain at least one open task item.",
            "title": "Filter By Contains Open Tasks",
            "type": "boolean"
          },
          "filter_by_contains_tasks": {
            "default": false,
            "description": "When true, include notes that contain at least one task item\n(open or closed).",
            "title": "Filter By Contains Tasks",
            "type": "boolean"
          },
          "filter_by_created_after": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional inclusive lower bound for note 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 note 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 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"
          },
          "query": {
            "description": "Required text query for relevance matching.\nThe query must contain at least one non-whitespace character.\nThis endpoint does not provide exhaustive chronological pagination; for that, use\n`GET /v2/notes`.",
            "minLength": 1,
            "title": "Query",
            "type": "string"
          }
        },
        "required": [
          "query"
        ],
        "title": "NoteSearchRequestSchema",
        "type": "object"
      },
      "NoteSearchResponseSchema": {
        "example": {
          "has_next_page": true,
          "limit": 1,
          "offset": 0,
          "request_id": "api-request-018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
          "results": [
            {
              "audio_recording_ids": [
                "78ff64bc-09e3-4fd7-a4b9-53c258f35619"
              ],
              "collection_ids": [
                "59508b41-8770-4855-aa37-302b1e09aee7"
              ],
              "content": "# Recipe Notes\n\n- Lemon pasta\n- Chili oil dumplings\n",
              "created_at": "2025-03-18T11:00:00Z",
              "id": "018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
              "snippet": "Dinner ideas",
              "title": "Recipe Notes",
              "updated_at": "2025-04-22T16:12:34Z"
            }
          ],
          "snapshot_id": "fd233b1f-25ac-4c0d-94db-4fa0843084ff",
          "total": 12
        },
        "properties": {
          "has_next_page": {
            "description": "Whether another request within the 100-result search window can return more matching notes.",
            "title": "Has Next Page",
            "type": "boolean"
          },
          "limit": {
            "description": "Limit applied to this search page.",
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "description": "Zero-based offset applied before returning results.",
            "title": "Offset",
            "type": "integer"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "results": {
            "description": "Relevance-ranked note results matching the search request.",
            "items": {
              "$ref": "#/components/schemas/NoteSearchItemResponseSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "snapshot_id": {
            "description": "Opaque snapshot identifier to reuse for deterministic later pages.",
            "format": "uuid",
            "title": "Snapshot Id",
            "type": "string"
          },
          "total": {
            "description": "Number of matching notes captured in the bounded search snapshot, capped by the 100-result search window.",
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "request_id",
          "results",
          "total",
          "offset",
          "limit",
          "has_next_page",
          "snapshot_id"
        ],
        "title": "NoteSearchResponseSchema",
        "type": "object"
      },
      "NoteSessionMention": {
        "description": "Value class for note mentions in sessions.\nContains metadata specific to note mentions.",
        "properties": {
          "kind": {
            "allOf": [
              {
                "$ref": "#/components/schemas/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"
      },
      "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"
      },
      "ProjectListOrderBy": {
        "enum": [
          "created_at",
          "updated_at",
          "created_at_asc",
          "updated_at_asc"
        ],
        "title": "ProjectListOrderBy",
        "type": "string"
      },
      "ProjectListQuerySchema": {
        "properties": {
          "limit": {
            "anyOf": [
              {
                "maximum": 100,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 50,
            "description": "Maximum number of projects in this page.\nDefault is 50; valid range is 1 to 100.",
            "title": "Limit"
          },
          "order_by": {
            "allOf": [
              {
                "enum": [
                  "created_at",
                  "updated_at",
                  "created_at_asc",
                  "updated_at_asc"
                ],
                "title": "ProjectListOrderBy",
                "type": "string"
              }
            ],
            "default": "updated_at",
            "description": "Sort key for pagination boundaries. Use `updated_at` (default) for newest-updated-first recency feeds, `updated_at_asc` for oldest-updated-first staleness sweeps, `created_at` for newest-created-first views, or `created_at_asc` for oldest-created-first 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` and `status` values.",
            "title": "Page"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ProjectStatusInput"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional filter by project status."
          }
        },
        "title": "ProjectListQuerySchema",
        "type": "object"
      },
      "ProjectListResponseSchema": {
        "properties": {
          "next_page": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Opaque cursor for the next page of project 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 project results matching the requested filters and sort.",
            "items": {
              "$ref": "#/components/schemas/ProjectResponseItemSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "description": "Total number of matching projects before pagination is applied.",
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "request_id",
          "results",
          "total"
        ],
        "title": "ProjectListResponseSchema",
        "type": "object"
      },
      "ProjectResponseItemSchema": {
        "properties": {
          "created_at": {
            "description": "Creation timestamp for the project in ISO 8601 format.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional longer description currently stored on the project.",
            "title": "Description"
          },
          "id": {
            "description": "UUID of the project.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "last_activity_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Most recent activity timestamp on the project, if any.",
            "title": "Last Activity At"
          },
          "status": {
            "description": "Current project status (`active`, `resolved`, or `archived`).",
            "title": "Status",
            "type": "string"
          },
          "title": {
            "description": "Current title of the project.",
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "description": "Last modification timestamp for the project in ISO 8601 format.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "title",
          "description",
          "status",
          "last_activity_at",
          "created_at",
          "updated_at"
        ],
        "title": "ProjectResponseItemSchema",
        "type": "object"
      },
      "ProjectStatusInput": {
        "enum": [
          "active",
          "resolved",
          "archived"
        ],
        "title": "ProjectStatusInput",
        "type": "string"
      },
      "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"
      },
      "ReadAttachmentRequestSchema": {
        "properties": {
          "attachment_id": {
            "description": "UUID of the attachment to read. 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 read. For note attachment metadata returned by\n`GET /v2/notes/{note_id}`, pass the `attachment_kind` value directly."
          },
          "content_limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Maximum content characters to return. Defaults to 10,000 and is capped at 20,000.",
            "title": "Content Limit"
          },
          "content_offset": {
            "default": 0,
            "description": "Zero-based character offset for audio, calendar, and email content.",
            "minimum": 0,
            "title": "Content Offset",
            "type": "integer"
          },
          "page_limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Maximum number of PDF pages to return. Defaults to 5 and is capped at 20.",
            "title": "Page Limit"
          },
          "page_offset": {
            "default": 0,
            "description": "Zero-based page offset for PDF attachments.",
            "minimum": 0,
            "title": "Page Offset",
            "type": "integer"
          }
        },
        "required": [
          "attachment_kind",
          "attachment_id"
        ],
        "title": "ReadAttachmentRequestSchema",
        "type": "object"
      },
      "ReadAttachmentResponseSchema": {
        "example": {
          "attachment_id": "2511691e-cfd2-47bc-a4b6-0104234ee1af",
          "attachment_kind": "pdf",
          "audio_recording": null,
          "calendar_event": null,
          "email": null,
          "image": null,
          "pdf": {
            "filename": "product-spec.pdf",
            "has_more": true,
            "mime_type": "application/pdf",
            "page_count": 7,
            "page_limit": 5,
            "page_offset": 0,
            "pages": [
              {
                "key_entities": [
                  "Launch"
                ],
                "page_number": 1,
                "plain_text": "Launch requirements...",
                "suggested_search": "launch requirements",
                "summary": "Overview of launch requirements."
              }
            ],
            "suggested_search": "product launch requirements",
            "summary": "Product requirements and launch milestones."
          },
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522"
        },
        "properties": {
          "attachment_id": {
            "format": "uuid",
            "title": "Attachment Id",
            "type": "string"
          },
          "attachment_kind": {
            "$ref": "#/components/schemas/AttachmentType"
          },
          "audio_recording": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AudioRecordingAttachmentResponseSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "calendar_event": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CalendarEventAttachmentResponseSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "email": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EmailAttachmentResponseSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "image": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AttachmentImageResponseSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "pdf": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AttachmentPdfResponseSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "attachment_kind",
          "attachment_id"
        ],
        "title": "ReadAttachmentResponseSchema",
        "type": "object"
      },
      "ReadAudioRecordingQuerySchema": {
        "properties": {
          "transcript_speaker_labels": {
            "default": true,
            "description": "When true (default), transcript turns are prefixed with available speaker\nlabels. Labels may be participant names, generic diarization labels such as\n`[Speaker 1]`, or app channel labels such as `[Speaker]` and\n`[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.\nWhen false, the same transcript content is returned without speaker labels.",
            "title": "Transcript Speaker Labels",
            "type": "boolean"
          }
        },
        "title": "ReadAudioRecordingQuerySchema",
        "type": "object"
      },
      "ReadAudioRecordingResponseSchema": {
        "example": {
          "associated_note_id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
          "created_at": "2025-04-11T04:47:14.457Z",
          "duration_seconds": 123,
          "id": "78ff64bc-09e3-4fd7-a4b9-53c258f35619",
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522",
          "transcript": "[Speaker 1] Thanks for joining the call.\n\n[Speaker 2] Happy to be here.\n\n[Speaker 1] Let's review the launch plan.",
          "updated_at": "2025-04-11T04:47:19.702Z"
        },
        "properties": {
          "associated_note_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "UUID of the note directly associated with this audio recording, if any.",
            "title": "Associated Note Id"
          },
          "created_at": {
            "description": "Creation timestamp for the audio recording in ISO 8601 format.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "duration_seconds": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Audio duration in seconds when available.",
            "title": "Duration Seconds"
          },
          "id": {
            "description": "UUID of the requested audio recording.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "transcript": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Transcript text for the audio recording when available.\nBy default, transcript turns are returned with available speaker labels,\nincluding participant names, generic diarization labels such as\n`[Speaker 1]`, and app channel labels such as `[Speaker]` and\n`[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.\nWhen `transcript_speaker_labels=false` is requested, speaker labels are\nomitted.\nNull means the recording exists but transcript data is not available yet.",
            "title": "Transcript"
          },
          "updated_at": {
            "description": "Last modification timestamp for the audio recording in ISO 8601 format.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "id",
          "created_at",
          "updated_at"
        ],
        "title": "ReadAudioRecordingResponseSchema",
        "type": "object"
      },
      "ReadCalendarEventResponseSchema": {
        "properties": {
          "event": {
            "$ref": "#/components/schemas/CalendarEventItemSchema"
          },
          "request_id": {
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "event"
        ],
        "title": "ReadCalendarEventResponseSchema",
        "type": "object"
      },
      "ReadCollectionResponseSchema": {
        "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",
          "note_count": 12,
          "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 requested collection.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "note_count": {
            "description": "Current number of notes in the collection.",
            "title": "Note Count",
            "type": "integer"
          },
          "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",
          "note_count",
          "created_at",
          "updated_at"
        ],
        "title": "ReadCollectionResponseSchema",
        "type": "object"
      },
      "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"
      },
      "ReadCollectionToolCallResult": {
        "properties": {
          "collection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/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/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"
      },
      "ReadEventResponseSchema": {
        "properties": {
          "data": {
            "additionalProperties": true,
            "title": "Data",
            "type": "object"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "occurred_at": {
            "format": "date-time",
            "title": "Occurred At",
            "type": "string"
          },
          "primary_entity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EventPrimaryEntityResponseSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "sequence": {
            "title": "Sequence",
            "type": "integer"
          },
          "subject": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject"
          },
          "type": {
            "$ref": "#/components/schemas/ExternalEventType"
          }
        },
        "required": [
          "request_id",
          "id",
          "sequence",
          "type",
          "occurred_at",
          "subject",
          "primary_entity",
          "data"
        ],
        "title": "ReadEventResponseSchema",
        "type": "object"
      },
      "ReadFollowUpResponseSchema": {
        "properties": {
          "follow_up": {
            "$ref": "#/components/schemas/FollowUpResponseItemSchema"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "follow_up"
        ],
        "title": "ReadFollowUpResponseSchema",
        "type": "object"
      },
      "ReadNoteResponseSchema": {
        "example": {
          "attachment_metadata": [
            {
              "attachment_id": "2511691e-cfd2-47bc-a4b6-0104234ee1af",
              "attachment_kind": "pdf",
              "image_type": null,
              "ocr_text": null,
              "page_count": 7,
              "suggested_search": "product launch requirements",
              "summary": "Product requirements and launch milestones.",
              "visual_description": null
            }
          ],
          "audio_recording_ids": [
            "78ff64bc-09e3-4fd7-a4b9-53c258f35619"
          ],
          "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",
          "trashed_at": null,
          "updated_at": "2025-04-11T04:47:19.702Z",
          "version": 4
        },
        "properties": {
          "attachment_metadata": {
            "description": "Compact metadata for PDF and image attachments embedded in this note.\nUse `attachment_id` with `GET /v2/note-attachments/{attachment_id}/download-url`.",
            "items": {
              "$ref": "#/components/schemas/NoteAttachmentMetadataResponseSchema"
            },
            "title": "Attachment Metadata",
            "type": "array"
          },
          "audio_recording_ids": {
            "description": "Audio Recording UUIDs currently associated with this note.",
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Audio Recording Ids",
            "type": "array"
          },
          "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 requested 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.",
            "title": "Title",
            "type": "string"
          },
          "trashed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Timestamp for when the note was moved to trash, or null when the note is active.\nTrashed notes are still returned by `GET /v2/notes/{note_id}`.",
            "title": "Trashed At"
          },
          "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.",
            "title": "Version",
            "type": "integer"
          }
        },
        "required": [
          "request_id",
          "id",
          "title",
          "content",
          "version",
          "collection_ids",
          "audio_recording_ids",
          "attachment_metadata",
          "trashed_at",
          "created_at",
          "updated_at"
        ],
        "title": "ReadNoteResponseSchema",
        "type": "object"
      },
      "ReadNoteToolCallArgs": {
        "properties": {
          "note_id": {
            "title": "Note Id",
            "type": "string"
          },
          "version": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Version"
          }
        },
        "required": [
          "note_id"
        ],
        "title": "ReadNoteToolCallArgs",
        "type": "object"
      },
      "ReadNoteToolCallResult": {
        "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": "ReadNoteToolCallResult",
        "type": "object"
      },
      "ReadProjectResponseSchema": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "last_activity_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Activity At"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "id",
          "title",
          "description",
          "status",
          "last_activity_at",
          "created_at",
          "updated_at"
        ],
        "title": "ReadProjectResponseSchema",
        "type": "object"
      },
      "ReadTaskResponseSchema": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due At"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "project_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Id"
          },
          "request_id": {
            "description": "Identifier for this API request. Useful for tracing and support.",
            "title": "Request Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "request_id",
          "id",
          "title",
          "description",
          "status",
          "project_id",
          "due_at",
          "created_at",
          "updated_at"
        ],
        "title": "ReadTaskResponseSchema",
        "type": "object"
      },
      "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/TextSessionPart"
            },
            "title": "Parts",
            "type": "array"
          }
        },
        "required": [
          "parts"
        ],
        "title": "ReasoningSessionPart",
        "type": "object"
      },
      "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"
      },
      "ReconcileCalendarRequestSchema": {
        "properties": {
          "calendar_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "External calendar ID (provider calendar ID). If omitted, the primary/default enabled calendar is used.",
            "title": "Calendar Id"
          },
          "provider": {
            "description": "Calendar provider ('google' or 'outlook').",
            "title": "Provider",
            "type": "string"
          },
          "subject_id": {
            "description": "Provider subject ID of the account.",
            "title": "Subject Id",
            "type": "string"
          }
        },
        "required": [
          "provider",
          "subject_id"
        ],
        "title": "ReconcileCalendarRequestSchema",
        "type": "object"
      },
      "ReconcileCalendarResponseSchema": {
        "properties": {
          "request_id": {
            "title": "Request Id",
            "type": "string"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "request_id",
          "success"
        ],
        "title": "ReconcileCalendarResponseSchema",
        "type": "object"
      },
      "RelatedNoteCollectionResponseSchema": {
        "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": "Current collection description, if one is set.",
            "title": "Description"
          },
          "id": {
            "description": "UUID of the collection.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "is_shared": {
            "description": "Whether this collection is shared with other accounts.",
            "title": "Is Shared",
            "type": "boolean"
          },
          "note_count": {
            "description": "Number of active notes currently linked to the collection.",
            "title": "Note Count",
            "type": "integer"
          },
          "title": {
            "description": "Current collection title.",
            "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",
          "note_count",
          "is_shared",
          "created_at",
          "updated_at"
        ],
        "title": "RelatedNoteCollectionResponseSchema",
        "type": "object"
      },
      "RelatedNoteItemResponseSchema": {
        "properties": {
          "collection_ids": {
            "description": "Accessible collection UUIDs currently associated with the note.",
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Collection Ids",
            "type": "array"
          },
          "collections": {
            "description": "Accessible collection context for the related note.",
            "items": {
              "$ref": "#/components/schemas/RelatedNoteCollectionResponseSchema"
            },
            "title": "Collections",
            "type": "array"
          },
          "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 related note.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "preview": {
            "description": "Truncated markdown preview of the related note's current content.\nUse `GET /v2/notes/{note_id}` for the full note body.",
            "title": "Preview",
            "type": "string"
          },
          "score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "Similarity score returned by the note vector index.",
            "title": "Score"
          },
          "snippet": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional derived note snippet for quick display.",
            "title": "Snippet"
          },
          "title": {
            "description": "Current title of the related note.",
            "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"
          }
        },
        "required": [
          "id",
          "title",
          "preview",
          "collection_ids",
          "collections",
          "created_at",
          "updated_at"
        ],
        "title": "RelatedNoteItemResponseSchema",
        "type": "object"
      },
      "RemoveNoteFromCollectionResponseSchema": {
        "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": "RemoveNoteFromCollectionResponseSchema",
        "type": "object"
      },
      "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"
      },
      "RemoveNoteFromCollectionToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "RemoveNoteFromCollectionToolCallResult",
        "type": "object"
      },
      "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"
      },
      "RenameCollectionToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "RenameCollectionToolCallResult",
        "type": "object"
      },
      "RestoreNoteResponseSchema": {
        "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": "RestoreNoteResponseSchema",
        "type": "object"
      },
      "RestoreNoteToolCallArgs": {
        "properties": {
          "note_id": {
            "title": "Note Id",
            "type": "string"
          }
        },
        "required": [
          "note_id"
        ],
        "title": "RestoreNoteToolCallArgs",
        "type": "object"
      },
      "RestoreNoteToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "RestoreNoteToolCallResult",
        "type": "object"
      },
      "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"
      },
      "RetrieveDocumentPagesToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "pages": {
            "items": {
              "$ref": "#/components/schemas/DocumentPageContent"
            },
            "title": "Pages",
            "type": "array"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          },
          "truncated": {
            "default": false,
            "title": "Truncated",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "RetrieveDocumentPagesToolCallResult",
        "type": "object"
      },
      "SearchChatGPTRequestSchema": {
        "additionalProperties": false,
        "properties": {
          "kinds": {
            "description": "Resource kinds to search. Defaults to ['note'].",
            "items": {
              "type": "string"
            },
            "title": "Kinds",
            "type": "array"
          },
          "limit": {
            "default": 10,
            "description": "Maximum number of records to return.",
            "maximum": 50,
            "minimum": 1,
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "default": 0,
            "description": "Offset into the result set.",
            "minimum": 0,
            "title": "Offset",
            "type": "integer"
          },
          "query": {
            "description": "Free-text search string.",
            "minLength": 1,
            "title": "Query",
            "type": "string"
          }
        },
        "required": [
          "query"
        ],
        "title": "SearchChatGPTRequestSchema",
        "type": "object"
      },
      "SearchChatGPTResponseSchema": {
        "additionalProperties": false,
        "properties": {
          "limit": {
            "minimum": 1,
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "minimum": 0,
            "title": "Offset",
            "type": "integer"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/SearchChatGPTResultSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "minimum": 0,
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "results",
          "total",
          "limit",
          "offset"
        ],
        "title": "SearchChatGPTResponseSchema",
        "type": "object"
      },
      "SearchChatGPTResultSchema": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Creation timestamp for the resource.",
            "title": "Created At"
          },
          "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"
          },
          "primary_label": {
            "description": "Primary display label.",
            "title": "Primary Label",
            "type": "string"
          },
          "secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Supplemental label shown beneath the primary label.",
            "title": "Secondary Label"
          },
          "snippet": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Preview text snippet matching the query.",
            "title": "Snippet"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Last modification timestamp for the resource.",
            "title": "Updated At"
          }
        },
        "required": [
          "kind",
          "id",
          "primary_label"
        ],
        "title": "SearchChatGPTResultSchema",
        "type": "object"
      },
      "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"
      },
      "SearchForCollectionsToolCallResult": {
        "properties": {
          "collections": {
            "items": {
              "$ref": "#/components/schemas/AgentCollectionSearchResultModel"
            },
            "title": "Collections",
            "type": "array"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "SearchForCollectionsToolCallResult",
        "type": "object"
      },
      "SearchNotesAiToolSortBy": {
        "enum": [
          "RELEVANCE",
          "DATE"
        ],
        "title": "SearchNotesAiToolSortBy",
        "type": "string"
      },
      "SearchNotesByTimeRangeSessionMention": {
        "description": "Value class for search notes by time range mentions in sessions.\nContains metadata specific to search notes by time range mentions.",
        "properties": {
          "end_time": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "End Time"
          },
          "kind": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SessionMentionKind"
              }
            ],
            "default": "SEARCH_NOTES_BY_TIME_RANGE"
          },
          "start_time": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start Time"
          }
        },
        "title": "SearchNotesByTimeRangeSessionMention",
        "type": "object"
      },
      "SearchNotesRequestSchema": {
        "properties": {
          "limit": {
            "default": 10,
            "description": "Maximum number of notes to return.",
            "maximum": 50,
            "minimum": 1,
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "default": 0,
            "description": "Number of matching notes to skip before returning results.",
            "minimum": 0,
            "title": "Offset",
            "type": "integer"
          },
          "query": {
            "description": "Free-text query used to search across the caller's notes.",
            "minLength": 1,
            "title": "Query",
            "type": "string"
          }
        },
        "required": [
          "query"
        ],
        "title": "SearchNotesRequestSchema",
        "type": "object"
      },
      "SearchNotesResponseSchema": {
        "properties": {
          "limit": {
            "description": "Limit applied to the search results.",
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "description": "Offset applied before returning results.",
            "title": "Offset",
            "type": "integer"
          },
          "results": {
            "description": "Matching notes ordered by relevance.",
            "items": {
              "$ref": "#/components/schemas/SearchNotesResultSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "description": "Total number of matching notes before pagination.",
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "total",
          "limit",
          "offset"
        ],
        "title": "SearchNotesResponseSchema",
        "type": "object"
      },
      "SearchNotesResultSchema": {
        "properties": {
          "created_at": {
            "description": "Timestamp representing when the note was created.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "Unique identifier of the note.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "primary_label": {
            "description": "Primary label or title associated with the note.",
            "title": "Primary Label",
            "type": "string"
          },
          "secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Secondary label for the note if available.",
            "title": "Secondary Label"
          },
          "snippet": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional snippet derived from the note content.",
            "title": "Snippet"
          },
          "updated_at": {
            "description": "Timestamp representing when the note was last updated.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "primary_label",
          "created_at",
          "updated_at"
        ],
        "title": "SearchNotesResultSchema",
        "type": "object"
      },
      "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"
      },
      "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/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"
      },
      "SearchSessionEventsRequestSchema": {
        "properties": {
          "limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 50,
            "title": "Limit"
          },
          "offset": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Offset"
          },
          "session_id": {
            "format": "uuid",
            "title": "Session Id",
            "type": "string"
          }
        },
        "required": [
          "session_id"
        ],
        "title": "SearchSessionEventsRequestSchema",
        "type": "object"
      },
      "SearchSessionEventsResponseSchema": {
        "properties": {
          "results": {
            "items": {
              "$ref": "#/components/schemas/SessionEventResponseSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "results",
          "total"
        ],
        "title": "SearchSessionEventsResponseSchema",
        "type": "object"
      },
      "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"
      },
      "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"
      },
      "SessionArtifactPartKind": {
        "enum": [
          "NOTE_CREATED_V1",
          "NOTE_UPDATED_V1"
        ],
        "title": "SessionArtifactPartKind",
        "type": "string"
      },
      "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"
      },
      "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"
      },
      "SessionEventAgentActionV1EventDataSchema": {
        "properties": {
          "kind": {
            "const": "AGENT_ACTION_V1",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionEventAgentActionV1Value"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentCommonActionV1Value"
              }
            ],
            "title": "Value"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SessionEventAgentActionV1EventDataSchema",
        "type": "object"
      },
      "SessionEventAgentActionV1Value": {
        "description": "V1 version of agent tool invocation events.\nRepresents an action taken by the agent.",
        "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/MessageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/InterruptV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ArtifactSessionPartV1"
                },
                {
                  "$ref": "#/components/schemas/FactCardV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/DraftNoteV1SessionPart"
                }
              ]
            },
            "title": "Parts",
            "type": "array"
          },
          "tool_call_args": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CreateNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/UpdateNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/CreateCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/AddNoteToCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/RemoveNoteFromCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/MoveNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/SearchForCollectionsToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/SearchNotesToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/FindRelatedNotesToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/FindRelatedNotesToolCallArgsLegacy"
              },
              {
                "$ref": "#/components/schemas/MessageUserToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/ReadNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/RenameCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/UpdateCollectionDescriptionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/ReadCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/DeleteCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/TrashNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/RestoreNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/ViewImageToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/CreateFactCardToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/CreateDraftNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/GetHelpCenterInfoToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/GetUserAccountStatisticsToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/SearchWithinDocumentToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/RetrieveDocumentPagesToolCallArgs"
              }
            ],
            "title": "Tool Call Args"
          },
          "tool_call_id": {
            "title": "Tool Call Id",
            "type": "string"
          },
          "tool_call_kind": {
            "$ref": "#/components/schemas/AgentToolCallKind"
          },
          "tool_call_origin": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ToolCallOrigin"
              },
              {
                "type": "null"
              }
            ]
          },
          "tool_call_result": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/InterruptedToolCallResult"
              },
              {
                "$ref": "#/components/schemas/CreateNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/UpdateNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/CreateCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/AddNoteToCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/RemoveNoteFromCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/MoveNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/SearchForCollectionsToolCallResult"
              },
              {
                "$ref": "#/components/schemas/SearchNotesToolCallResult"
              },
              {
                "$ref": "#/components/schemas/FindRelatedNotesToolCallResult"
              },
              {
                "$ref": "#/components/schemas/MessageUserToolCallResult"
              },
              {
                "$ref": "#/components/schemas/ReadNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/UpdateCollectionDescriptionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/ReadCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/DeleteCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/TrashNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/RestoreNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/RenameCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/ViewImageToolCallResult"
              },
              {
                "$ref": "#/components/schemas/CreateFactCardToolCallResult"
              },
              {
                "$ref": "#/components/schemas/CreateDraftNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/GetHelpCenterInfoToolCallResult"
              },
              {
                "$ref": "#/components/schemas/GetUserAccountStatisticsToolCallResult"
              },
              {
                "$ref": "#/components/schemas/SearchWithinDocumentToolCallResult"
              },
              {
                "$ref": "#/components/schemas/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"
      },
      "SessionEventAgentCommonActionV1Value": {
        "description": "Agent action event for BaseAiAgent-backed common tools.\n\nUnlike SessionEventAgentActionV1Value, this stores the common tool name and\nraw JSON args/results directly so V2 chat session history does not need to\nmap back through legacy AgentToolCallKind aliases.",
        "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/MessageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/InterruptV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ArtifactSessionPartV1"
                },
                {
                  "$ref": "#/components/schemas/FactCardV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/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/ToolCallOrigin"
              },
              {
                "type": "null"
              }
            ]
          },
          "tool_call_result": {
            "anyOf": [
              {},
              {
                "type": "null"
              }
            ],
            "title": "Tool Call Result"
          },
          "tool_call_status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/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"
      },
      "SessionEventAgentDigestV1EventDataSchema": {
        "properties": {
          "kind": {
            "const": "AGENT_DIGEST_V1",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SessionEventAgentDigestV1Value"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SessionEventAgentDigestV1EventDataSchema",
        "type": "object"
      },
      "SessionEventAgentDigestV1Value": {
        "description": "V1 version of agent digest events.",
        "properties": {
          "parts": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MessageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/InterruptV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ArtifactSessionPartV1"
                },
                {
                  "$ref": "#/components/schemas/FactCardV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/DraftNoteV1SessionPart"
                }
              ]
            },
            "title": "Parts",
            "type": "array"
          }
        },
        "required": [
          "parts"
        ],
        "title": "SessionEventAgentDigestV1Value",
        "type": "object"
      },
      "SessionEventAgentOutputEventDataSchema": {
        "properties": {
          "kind": {
            "const": "AGENT_OUTPUT",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SessionEventAgentOutputValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SessionEventAgentOutputEventDataSchema",
        "type": "object"
      },
      "SessionEventAgentOutputValue": {
        "description": "Represents the thoughts associated with an agent at that point in time.\n\n(Often thoughts are associated with a specific tool call, but sometimes the agent\njust outputs tokens that we want to track for historical context purposes.)",
        "properties": {
          "parts": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MessageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/InterruptV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ArtifactSessionPartV1"
                },
                {
                  "$ref": "#/components/schemas/FactCardV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/DraftNoteV1SessionPart"
                }
              ]
            },
            "title": "Parts",
            "type": "array"
          }
        },
        "required": [
          "parts"
        ],
        "title": "SessionEventAgentOutputValue",
        "type": "object"
      },
      "SessionEventAgentPlanningV1EventDataSchema": {
        "properties": {
          "kind": {
            "const": "AGENT_PLANNING_V1",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SessionEventAgentPlanningV1Value"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SessionEventAgentPlanningV1EventDataSchema",
        "type": "object"
      },
      "SessionEventAgentPlanningV1Value": {
        "description": "V1 version of agent output events.\nRepresents the thoughts/outputs associated with an agent at that point in time.",
        "properties": {
          "internal_parts": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MessageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/InterruptV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ArtifactSessionPartV1"
                },
                {
                  "$ref": "#/components/schemas/FactCardV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/DraftNoteV1SessionPart"
                }
              ]
            },
            "title": "Internal Parts",
            "type": "array"
          },
          "parts": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MessageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/InterruptV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ArtifactSessionPartV1"
                },
                {
                  "$ref": "#/components/schemas/FactCardV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/DraftNoteV1SessionPart"
                }
              ]
            },
            "title": "Parts",
            "type": "array"
          }
        },
        "required": [
          "parts"
        ],
        "title": "SessionEventAgentPlanningV1Value",
        "type": "object"
      },
      "SessionEventAgentToolInvocationEventDataSchema": {
        "properties": {
          "kind": {
            "const": "AGENT_TOOL_INVOCATION",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SessionEventAgentToolInvocationValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SessionEventAgentToolInvocationEventDataSchema",
        "type": "object"
      },
      "SessionEventAgentToolInvocationValue": {
        "description": "Roughly maps to Pydantic's ToolCallPart and ToolReturnPart.\n\nhttps://ai.dev/api/messages\n\nRepresents an action taken by the agent.\nNote that multiple actions can be performed at the same time.\n\nThis is created immediately after invocation, and then updated upon completion.\nNote that it may complete with an error - you'll need to look at the \"tool_call_result\"\nfield to determine if it was successful.",
        "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/MessageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/InterruptV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ArtifactSessionPartV1"
                },
                {
                  "$ref": "#/components/schemas/FactCardV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/DraftNoteV1SessionPart"
                }
              ]
            },
            "title": "Parts",
            "type": "array"
          },
          "tool_call_args": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CreateNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/UpdateNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/CreateCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/AddNoteToCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/RemoveNoteFromCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/MoveNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/SearchForCollectionsToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/SearchNotesToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/FindRelatedNotesToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/FindRelatedNotesToolCallArgsLegacy"
              },
              {
                "$ref": "#/components/schemas/MessageUserToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/ReadNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/RenameCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/UpdateCollectionDescriptionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/ReadCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/DeleteCollectionToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/TrashNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/RestoreNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/ViewImageToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/CreateFactCardToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/CreateDraftNoteToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/GetHelpCenterInfoToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/GetUserAccountStatisticsToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/SearchWithinDocumentToolCallArgs"
              },
              {
                "$ref": "#/components/schemas/RetrieveDocumentPagesToolCallArgs"
              }
            ],
            "title": "Tool Call Args"
          },
          "tool_call_id": {
            "title": "Tool Call Id",
            "type": "string"
          },
          "tool_call_kind": {
            "$ref": "#/components/schemas/AgentToolCallKind"
          },
          "tool_call_result": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/InterruptedToolCallResult"
              },
              {
                "$ref": "#/components/schemas/CreateNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/UpdateNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/CreateCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/AddNoteToCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/RemoveNoteFromCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/MoveNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/SearchForCollectionsToolCallResult"
              },
              {
                "$ref": "#/components/schemas/SearchNotesToolCallResult"
              },
              {
                "$ref": "#/components/schemas/FindRelatedNotesToolCallResult"
              },
              {
                "$ref": "#/components/schemas/MessageUserToolCallResult"
              },
              {
                "$ref": "#/components/schemas/ReadNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/UpdateCollectionDescriptionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/ReadCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/DeleteCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/TrashNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/RestoreNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/RenameCollectionToolCallResult"
              },
              {
                "$ref": "#/components/schemas/ViewImageToolCallResult"
              },
              {
                "$ref": "#/components/schemas/CreateFactCardToolCallResult"
              },
              {
                "$ref": "#/components/schemas/CreateDraftNoteToolCallResult"
              },
              {
                "$ref": "#/components/schemas/GetHelpCenterInfoToolCallResult"
              },
              {
                "$ref": "#/components/schemas/GetUserAccountStatisticsToolCallResult"
              },
              {
                "$ref": "#/components/schemas/SearchWithinDocumentToolCallResult"
              },
              {
                "$ref": "#/components/schemas/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"
      },
      "SessionEventExternalInputEventDataSchema": {
        "properties": {
          "kind": {
            "const": "EXTERNAL_INPUT",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SessionEventExternalInputValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SessionEventExternalInputEventDataSchema",
        "type": "object"
      },
      "SessionEventExternalInputValue": {
        "description": "Represents an external input attached to the session.",
        "properties": {
          "parts": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MessageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/InterruptV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ArtifactSessionPartV1"
                },
                {
                  "$ref": "#/components/schemas/FactCardV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/DraftNoteV1SessionPart"
                }
              ]
            },
            "title": "Parts",
            "type": "array"
          },
          "payload": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WebClipExternalInputPayload"
              },
              {
                "$ref": "#/components/schemas/MemItApiRequestExternalInputPayload"
              }
            ],
            "title": "Payload"
          }
        },
        "required": [
          "parts",
          "payload"
        ],
        "title": "SessionEventExternalInputValue",
        "type": "object"
      },
      "SessionEventResponseSchema": {
        "properties": {
          "associated_session_agent_run_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Associated Session Agent Run Id"
          },
          "data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionEventUserActionV1EventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentPlanningV1EventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentDigestV1EventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentActionV1EventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventSystemNotificationV1EventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentOutputEventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventExternalInputEventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventAgentToolInvocationEventDataSchema"
              },
              {
                "$ref": "#/components/schemas/SessionEventUserMessageEventDataSchema"
              },
              {
                "$ref": "#/components/schemas/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"
      },
      "SessionEventSystemNotificationV1EventDataSchema": {
        "properties": {
          "kind": {
            "const": "SYSTEM_NOTIFICATION_V1",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SessionEventSystemNotificationV1Value"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SessionEventSystemNotificationV1EventDataSchema",
        "type": "object"
      },
      "SessionEventSystemNotificationV1Value": {
        "description": "V1 version of system notification events.\nRepresents a notification or message from the system.",
        "properties": {
          "communication_kind": {
            "$ref": "#/components/schemas/SessionSystemNotificationKind"
          },
          "notification_payload": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WebClipCreatedNotificationPayload"
              },
              {
                "$ref": "#/components/schemas/ApiRequestRecordCreatedNotificationPayload"
              },
              {
                "$ref": "#/components/schemas/QuotaLimitReachedNotificationPayload"
              }
            ],
            "title": "Notification Payload"
          },
          "parts": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MessageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/InterruptV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ArtifactSessionPartV1"
                },
                {
                  "$ref": "#/components/schemas/FactCardV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/DraftNoteV1SessionPart"
                }
              ]
            },
            "title": "Parts",
            "type": "array"
          }
        },
        "required": [
          "parts",
          "communication_kind",
          "notification_payload"
        ],
        "title": "SessionEventSystemNotificationV1Value",
        "type": "object"
      },
      "SessionEventUntypedEventDataSchema": {
        "description": "For now, every other session event kind is bucketed as \"untyped\".\n(This mainly applies to our \"legacy\" event kinds.)",
        "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"
      },
      "SessionEventUserActionV1EventDataSchema": {
        "properties": {
          "kind": {
            "const": "USER_ACTION_V1",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SessionEventUserActionV1Value"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SessionEventUserActionV1EventDataSchema",
        "type": "object"
      },
      "SessionEventUserActionV1Value": {
        "description": "V1 version of user message events.\nRepresents messages sent by the user to the session.",
        "properties": {
          "context": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/UserActionV1SessionEventContext"
              },
              {
                "type": "null"
              }
            ]
          },
          "parts": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MessageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/InterruptV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ArtifactSessionPartV1"
                },
                {
                  "$ref": "#/components/schemas/FactCardV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/DraftNoteV1SessionPart"
                }
              ]
            },
            "title": "Parts",
            "type": "array"
          }
        },
        "required": [
          "parts"
        ],
        "title": "SessionEventUserActionV1Value",
        "type": "object"
      },
      "SessionEventUserMessageEventDataSchema": {
        "properties": {
          "kind": {
            "const": "USER_MESSAGE",
            "title": "Kind",
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/SessionEventUserMessageValue"
          }
        },
        "required": [
          "kind",
          "value"
        ],
        "title": "SessionEventUserMessageEventDataSchema",
        "type": "object"
      },
      "SessionEventUserMessageValue": {
        "description": "Represents messages sent by the user to the session.",
        "properties": {
          "parts": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MessageSessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningSessionPart"
                },
                {
                  "$ref": "#/components/schemas/MarkdownV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ReasoningV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/InterruptV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/WebClipV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/ArtifactSessionPartV1"
                },
                {
                  "$ref": "#/components/schemas/FactCardV1SessionPart"
                },
                {
                  "$ref": "#/components/schemas/DraftNoteV1SessionPart"
                }
              ]
            },
            "title": "Parts",
            "type": "array"
          }
        },
        "required": [
          "parts"
        ],
        "title": "SessionEventUserMessageValue",
        "type": "object"
      },
      "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"
      },
      "SessionMentionKind": {
        "description": "Enum for different types of session mentions.",
        "enum": [
          "NOTE",
          "COLLECTION",
          "SEARCH_NOTES_BY_TIME_RANGE"
        ],
        "title": "SessionMentionKind",
        "type": "string"
      },
      "SessionResponseSchema": {
        "properties": {
          "config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/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/SessionKind"
              },
              {
                "type": "null"
              }
            ]
          },
          "owned_by_space_account_id": {
            "format": "uuid",
            "title": "Owned By Space Account Id",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/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"
      },
      "SessionStatus": {
        "enum": [
          "UNKNOWN",
          "INITIAL",
          "WAITING",
          "PROCESSING",
          "FINISHED",
          "ERROR",
          "DISMISSED",
          "ABANDONED",
          "CONTEXT_LIMIT_EXCEEDED"
        ],
        "title": "SessionStatus",
        "type": "string"
      },
      "SessionSystemNotificationKind": {
        "enum": [
          "WEB_CLIP_CREATED",
          "API_REQUEST_RECORD_CREATED",
          "QUOTA_LIMIT_REACHED"
        ],
        "title": "SessionSystemNotificationKind",
        "type": "string"
      },
      "SetNoteCreatedAtRequestSchema": {
        "properties": {
          "created_at": {
            "description": "New visible creation timestamp for the note (ISO 8601).\nIt must include a timezone offset and cannot be in the future.\nIt can only backdate the note: the timestamp cannot be later than\nwhen the note was originally created.\nThis changes note metadata only; it does not update note content.",
            "examples": [
              "2020-01-07T00:00:00Z",
              "2020-01-07T09:00:00+01:00"
            ],
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          }
        },
        "required": [
          "created_at"
        ],
        "title": "SetNoteCreatedAtRequestSchema",
        "type": "object"
      },
      "SetNoteCreatedAtResponseSchema": {
        "example": {
          "collection_ids": [
            "59508b41-8770-4855-aa37-302b1e09aee7"
          ],
          "content": "# Meeting with Bill\n\nJan 7, 2020",
          "created_at": "2020-01-07T00:00:00.000Z",
          "id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522",
          "title": "Meeting with Bill",
          "trashed_at": null,
          "updated_at": "2026-05-15T10:15:00.000Z",
          "version": 5
        },
        "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 after the metadata update.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "UUID of the updated 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.",
            "title": "Title",
            "type": "string"
          },
          "trashed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Timestamp for when the note was moved to trash, or null when the note is active.",
            "title": "Trashed At"
          },
          "updated_at": {
            "description": "Last modification timestamp after the metadata update in ISO 8601 format.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "version": {
            "description": "Current note content document version.",
            "title": "Version",
            "type": "integer"
          }
        },
        "required": [
          "request_id",
          "id",
          "title",
          "content",
          "version",
          "collection_ids",
          "trashed_at",
          "created_at",
          "updated_at"
        ],
        "title": "SetNoteCreatedAtResponseSchema",
        "type": "object"
      },
      "TaskListOrderBy": {
        "enum": [
          "created_at",
          "updated_at",
          "created_at_asc",
          "updated_at_asc"
        ],
        "title": "TaskListOrderBy",
        "type": "string"
      },
      "TaskListQuerySchema": {
        "properties": {
          "limit": {
            "anyOf": [
              {
                "maximum": 100,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 50,
            "description": "Maximum number of tasks in this page.\nDefault is 50; valid range is 1 to 100.",
            "title": "Limit"
          },
          "order_by": {
            "allOf": [
              {
                "enum": [
                  "created_at",
                  "updated_at",
                  "created_at_asc",
                  "updated_at_asc"
                ],
                "title": "TaskListOrderBy",
                "type": "string"
              }
            ],
            "default": "updated_at",
            "description": "Sort key for pagination boundaries. Use `updated_at` (default) for newest-updated-first recency feeds, `updated_at_asc` for oldest-updated-first staleness sweeps, `created_at` for newest-created-first views, or `created_at_asc` for oldest-created-first 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`, and `project_id` values.",
            "title": "Page"
          },
          "project_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional filter to tasks belonging to a single project.",
            "title": "Project Id"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TaskStatusInput"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional filter by task status."
          }
        },
        "title": "TaskListQuerySchema",
        "type": "object"
      },
      "TaskListResponseSchema": {
        "example": {
          "next_page": null,
          "request_id": "api-request-018f8d0d-5a3c-7afc-8321-2f6f6e0fefab",
          "results": [
            {
              "created_at": "2026-04-27T10:00:00Z",
              "description": null,
              "due_at": "2026-05-15T17:00:00Z",
              "id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
              "project_id": null,
              "status": "pending",
              "title": "Send Q1 planning recap",
              "updated_at": "2026-04-27T10:00:00Z"
            }
          ],
          "total": 1
        },
        "properties": {
          "next_page": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Opaque cursor for the next page of task 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 task results matching the requested filters and sort.",
            "items": {
              "$ref": "#/components/schemas/TaskResponseItemSchema"
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "description": "Total number of matching tasks before pagination is applied.",
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "request_id",
          "results",
          "total"
        ],
        "title": "TaskListResponseSchema",
        "type": "object"
      },
      "TaskResponseItemSchema": {
        "properties": {
          "created_at": {
            "description": "Creation timestamp for the task in ISO 8601 format.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional longer description currently stored on the task.",
            "title": "Description"
          },
          "due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Task deadline, if set, in ISO 8601 format.",
            "title": "Due At"
          },
          "id": {
            "description": "UUID of the task.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "project_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "UUID of the parent project, if any.",
            "title": "Project Id"
          },
          "status": {
            "description": "Current task status (e.g. `pending`, `in_progress`, `completed`, `canceled`).",
            "title": "Status",
            "type": "string"
          },
          "title": {
            "description": "Current title of the task.",
            "title": "Title",
            "type": "string"
          },
          "updated_at": {
            "description": "Last modification timestamp for the task in ISO 8601 format.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "title",
          "description",
          "status",
          "project_id",
          "due_at",
          "created_at",
          "updated_at"
        ],
        "title": "TaskResponseItemSchema",
        "type": "object"
      },
      "TaskStatusInput": {
        "enum": [
          "pending",
          "in_progress",
          "completed",
          "canceled"
        ],
        "title": "TaskStatusInput",
        "type": "string"
      },
      "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"
      },
      "ToolCallOrigin": {
        "description": "Indicates who initiated a tool call.\n\nMODEL: The AI model requested this tool call as part of its response.\nUSER: The system initiated this call on behalf of the user (e.g., pre-fetching\n      mentioned content). These are formatted as context in conversation history.",
        "enum": [
          "MODEL",
          "USER"
        ],
        "title": "ToolCallOrigin",
        "type": "string"
      },
      "TrashNoteResponseSchema": {
        "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": "TrashNoteResponseSchema",
        "type": "object"
      },
      "TrashNoteToolCallArgs": {
        "properties": {
          "note_id": {
            "title": "Note Id",
            "type": "string"
          }
        },
        "required": [
          "note_id"
        ],
        "title": "TrashNoteToolCallArgs",
        "type": "object"
      },
      "TrashNoteToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "TrashNoteToolCallResult",
        "type": "object"
      },
      "UpdateCalendarSettingsRequestSchema": {
        "properties": {
          "enabled_calendar_ids": {
            "description": "List of calendar IDs to enable.",
            "items": {
              "type": "string"
            },
            "title": "Enabled Calendar Ids",
            "type": "array"
          },
          "provider": {
            "description": "Calendar provider ('google' or 'outlook').",
            "title": "Provider",
            "type": "string"
          },
          "subject_id": {
            "description": "Provider subject ID of the account.",
            "title": "Subject Id",
            "type": "string"
          }
        },
        "required": [
          "provider",
          "subject_id",
          "enabled_calendar_ids"
        ],
        "title": "UpdateCalendarSettingsRequestSchema",
        "type": "object"
      },
      "UpdateCalendarSettingsResponseSchema": {
        "properties": {
          "request_id": {
            "title": "Request Id",
            "type": "string"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "request_id",
          "success"
        ],
        "title": "UpdateCalendarSettingsResponseSchema",
        "type": "object"
      },
      "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"
      },
      "UpdateCollectionDescriptionToolCallResult": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Error"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "success"
        ],
        "title": "UpdateCollectionDescriptionToolCallResult",
        "type": "object"
      },
      "UpdateCollectionRequestSchema": {
        "properties": {
          "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 replacement description for the collection.\nOmit to keep the current description unchanged.\nSet to an empty string to clear the description.\nMaximum: 10,000 characters (and no more than 10,000 UTF-8 bytes).",
            "examples": [
              "Collection for 2026 Acme planning and execution notes."
            ],
            "title": "Description"
          },
          "title": {
            "anyOf": [
              {
                "description": "Human-readable collection title.\nUse a stable label suitable for navigation and exact title matching.\nMaximum: 1,000 characters (and no more than 1,000 UTF-8 bytes).",
                "maxLength": 1000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional replacement title for the collection.\nUse this field to rename a collection.\nOmit to keep the current title unchanged.\nMaximum: 1,000 characters (and no more than 1,000 UTF-8 bytes).",
            "examples": [
              "Acme Corp - 2026"
            ],
            "title": "Title"
          },
          "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, the current server time is used.",
            "examples": [
              "2025-04-02T09:15:22Z",
              "2023-12-15T09:45:30+01:00"
            ],
            "title": "Updated At"
          }
        },
        "title": "UpdateCollectionRequestSchema",
        "type": "object"
      },
      "UpdateCollectionResponseSchema": {
        "example": {
          "created_at": "2025-04-11T04:47:14.457Z",
          "description": "Collection for 2026 Acme planning and execution notes.",
          "id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
          "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522",
          "title": "Acme Corp - 2026",
          "updated_at": "2025-04-12T10:15:00.000Z"
        },
        "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 updated 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 after the update.",
            "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": "UpdateCollectionResponseSchema",
        "type": "object"
      },
      "UpdateNoteRequestSchema": {
        "properties": {
          "content": {
            "description": "Complete markdown body to submit for this write.\nSend the full desired note body (partial patch semantics are not supported\nin this request payload).\nThe first line is interpreted as the title.",
            "examples": [
              "# Updated Meeting Notes\n\nDiscussion Topics:\n- Sprint planning\n- Release checklist\n\nAction Items:\n- Finalize scope by Friday\n- Share release notes draft"
            ],
            "maxLength": 200000,
            "title": "Content",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Optional \"last updated\" timestamp for this write (ISO 8601).\nIf omitted, the current server time is used.",
            "examples": [
              "2025-04-02T09:15:22Z",
              "2023-12-15T09:45:30+01:00"
            ],
            "title": "Updated At"
          },
          "version": {
            "description": "Exact note content document version this update is based on.\nUse the `version` returned by `GET /v2/notes/{note_id}` or by the most\nrecent note write response.",
            "examples": [
              2
            ],
            "minimum": 1,
            "title": "Version",
            "type": "integer"
          }
        },
        "required": [
          "content",
          "version"
        ],
        "title": "UpdateNoteRequestSchema",
        "type": "object"
      },
      "UpdateNoteResponseSchema": {
        "example": {
          "collection_ids": [
            "59508b41-8770-4855-aa37-302b1e09aee7",
            "026b426c-14fb-4f22-8d98-7a9121bfaec8"
          ],
          "content": "# Sales Call with Acme Corp\n\nUpdated summary and next steps.",
          "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",
          "trashed_at": null,
          "updated_at": "2025-04-12T10:15:00.000Z",
          "version": 5
        },
        "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 after the update.",
            "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 updated 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 after the update.",
            "title": "Title",
            "type": "string"
          },
          "trashed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Timestamp for when the note was moved to trash, or null when the note is active.",
            "title": "Trashed At"
          },
          "updated_at": {
            "description": "Last modification timestamp after the update in ISO 8601 format.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "version": {
            "description": "Current note content document version after the update.",
            "title": "Version",
            "type": "integer"
          }
        },
        "required": [
          "request_id",
          "id",
          "title",
          "content",
          "version",
          "collection_ids",
          "trashed_at",
          "created_at",
          "updated_at"
        ],
        "title": "UpdateNoteResponseSchema",
        "type": "object"
      },
      "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"
      },
      "UpdateNoteToolCallResult": {
        "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": "UpdateNoteToolCallResult",
        "type": "object"
      },
      "UpdateSessionRequestSchema": {
        "properties": {
          "config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionConfigSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "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": "UpdateSessionRequestSchema",
        "type": "object"
      },
      "UpsertSessionRequestSchema": {
        "properties": {
          "config": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SessionConfigSchema"
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "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": "UpsertSessionRequestSchema",
        "type": "object"
      },
      "UsageQuotaExceededBody": {
        "properties": {
          "details": {
            "$ref": "#/components/schemas/UsageQuotaExceededDetails"
          },
          "message": {
            "title": "Message",
            "type": "string"
          },
          "type": {
            "const": "quota_exceeded",
            "default": "quota_exceeded",
            "title": "Type",
            "type": "string"
          },
          "upgrade_info": {
            "$ref": "#/components/schemas/UsageQuotaUpgradeInfo"
          }
        },
        "required": [
          "message",
          "details",
          "upgrade_info"
        ],
        "title": "UsageQuotaExceededBody",
        "type": "object"
      },
      "UsageQuotaExceededDetails": {
        "properties": {
          "current_plan": {
            "title": "Current Plan",
            "type": "string"
          },
          "free_limit": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Free Limit"
          },
          "free_used": {
            "minimum": 0,
            "title": "Free Used",
            "type": "integer"
          },
          "limit": {
            "anyOf": [
              {
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Limit"
          },
          "reset_time": {
            "title": "Reset Time",
            "type": "string"
          },
          "used": {
            "minimum": 0,
            "title": "Used",
            "type": "integer"
          }
        },
        "required": [
          "current_plan",
          "used",
          "free_used",
          "reset_time"
        ],
        "title": "UsageQuotaExceededDetails",
        "type": "object"
      },
      "UsageQuotaExceededPayload": {
        "description": "Stable public payload shared by quota producers and HTTP consumers.",
        "properties": {
          "error": {
            "$ref": "#/components/schemas/UsageQuotaExceededBody"
          }
        },
        "required": [
          "error"
        ],
        "title": "UsageQuotaExceededPayload",
        "type": "object"
      },
      "UsageQuotaUpgradeInfo": {
        "properties": {
          "message": {
            "title": "Message",
            "type": "string"
          },
          "upgrade_url": {
            "title": "Upgrade Url",
            "type": "string"
          }
        },
        "required": [
          "message",
          "upgrade_url"
        ],
        "title": "UsageQuotaUpgradeInfo",
        "type": "object"
      },
      "UserActionInputModality": {
        "enum": [
          "text",
          "voice",
          "web_clip"
        ],
        "title": "UserActionInputModality",
        "type": "string"
      },
      "UserActionSurface": {
        "enum": [
          "floating_mem",
          "ios_share_extension"
        ],
        "title": "UserActionSurface",
        "type": "string"
      },
      "UserActionV1SessionEventContext": {
        "description": "Context for V1 user action session events.\nContains additional metadata about the user action.",
        "properties": {
          "implicit_mentions": {
            "anyOf": [
              {
                "items": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/NoteSessionMention"
                    },
                    {
                      "$ref": "#/components/schemas/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/NoteSessionMention"
                    },
                    {
                      "$ref": "#/components/schemas/CollectionSessionMention"
                    },
                    {
                      "$ref": "#/components/schemas/SearchNotesByTimeRangeSessionMention"
                    }
                  ]
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mentions"
          }
        },
        "title": "UserActionV1SessionEventContext",
        "type": "object"
      },
      "ViewImageToolCallArgs": {
        "properties": {
          "image_url": {
            "title": "Image Url",
            "type": "string"
          }
        },
        "required": [
          "image_url"
        ],
        "title": "ViewImageToolCallArgs",
        "type": "object"
      },
      "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"
      },
      "ViewNoteResponseSchema": {
        "properties": {
          "created_at": {
            "description": "Timestamp representing when the note was created.",
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "description": "Unique identifier of the requested note.",
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "markdown_content": {
            "description": "Full markdown representation of the note content.",
            "title": "Markdown Content",
            "type": "string"
          },
          "primary_label": {
            "description": "Primary label or title for the note.",
            "title": "Primary Label",
            "type": "string"
          },
          "secondary_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "description": "Secondary label for the note if available.",
            "title": "Secondary Label"
          },
          "updated_at": {
            "description": "Timestamp representing when the note was last updated.",
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "primary_label",
          "markdown_content",
          "created_at",
          "updated_at"
        ],
        "title": "ViewNoteResponseSchema",
        "type": "object"
      },
      "WebClipCreatedNotificationPayload": {
        "properties": {
          "web_clip_id": {
            "format": "uuid",
            "title": "Web Clip Id",
            "type": "string"
          }
        },
        "required": [
          "web_clip_id"
        ],
        "title": "WebClipCreatedNotificationPayload",
        "type": "object"
      },
      "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"
      },
      "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"
      },
      "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"
      },
      "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"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      },
      "CoreApi__AssetAccessToken": {
        "in": "query",
        "name": "token",
        "type": "apiKey"
      },
      "CoreApi__Authorization": {
        "in": "header",
        "name": "Authorization",
        "type": "apiKey"
      }
    }
  },
  "info": {
    "description": "The external developer API exposed through api.mem.ai. This projection remains independent from first-party product routes.",
    "title": "Mem Public Client API",
    "version": "1.0.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/schema/openapi.json": {
      "get": {
        "operationId": "getPublicClientOpenApiJson",
        "responses": {
          "200": {
            "description": "Public client OpenAPI document"
          }
        },
        "tags": [
          "external"
        ]
      }
    },
    "/schema/openapi.yaml": {
      "get": {
        "operationId": "getPublicClientOpenApiYaml",
        "responses": {
          "200": {
            "description": "Public client OpenAPI document"
          }
        },
        "tags": [
          "external"
        ]
      }
    },
    "/v0": {
      "get": {
        "operationId": "app_src_api_routes_external_v0_views_root",
        "parameters": [],
        "responses": {
          "410": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeprecatedRouteResponseSchema"
                }
              }
            },
            "description": "Gone"
          }
        },
        "summary": "Root",
        "tags": [
          "external",
          "external-v0"
        ]
      }
    },
    "/v0/mems": {
      "post": {
        "operationId": "app_src_api_routes_external_v0_views_create_mem",
        "parameters": [],
        "responses": {
          "410": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeprecatedRouteResponseSchema"
                }
              }
            },
            "description": "Gone"
          }
        },
        "summary": "Create Mem",
        "tags": [
          "external",
          "external-v0"
        ]
      }
    },
    "/v0/mems/{mem_id}/append": {
      "post": {
        "operationId": "app_src_api_routes_external_v0_views_append_mem",
        "parameters": [
          {
            "in": "path",
            "name": "mem_id",
            "required": true,
            "schema": {
              "title": "Mem Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "410": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeprecatedRouteResponseSchema"
                }
              }
            },
            "description": "Gone"
          }
        },
        "summary": "Append Mem",
        "tags": [
          "external",
          "external-v0"
        ]
      }
    },
    "/v0/mems/batch": {
      "post": {
        "operationId": "app_src_api_routes_external_v0_views_batch_create_mems",
        "parameters": [],
        "responses": {
          "410": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeprecatedRouteResponseSchema"
                }
              }
            },
            "description": "Gone"
          }
        },
        "summary": "Batch Create Mems",
        "tags": [
          "external",
          "external-v0"
        ]
      }
    },
    "/v1/mem-it": {
      "post": {
        "operationId": "app_src_api_routes_external_v1_mem_it_views_mem_it",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LegacyMemItRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyMemItResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Mem It",
        "tags": [
          "external",
          "external-v1"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v1/mem-it\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --data '{\n         \"input\": \"<!DOCTYPE html><html><head><title>AI Trends 2025</title>...</html>\",\n         \"instructions\": \"Extract the key findings and save as a research note\",\n     }'"
          }
        ]
      }
    },
    "/v1/notes": {
      "post": {
        "operationId": "app_src_api_routes_external_v1_notes_views_create_note",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LegacyCreateNoteRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyCreateNoteResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Create Note",
        "tags": [
          "external",
          "external-v1"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "                    curl \"https://api.mem.ai/v1/notes\" \\\n                         --header \"Content-Type: application/json\" \\\n                         --header \"Authorization: Bearer $MEM_API_KEY\" \\\n                         --data '{\n                             \"content\": \"# Sales Call with Acme Corp\n\nContact: John Smith (john@acme.com)\n\nInterested in enterprise plan. Follow up next week.\",\n                             \"auto_organize\": \"Add this to both my Sales and Follow-ups collections\",\n                             \"auto_format\": \"Format as a sales call summary with clear follow-up tasks\"\n                         }'\n                    "
          }
        ]
      }
    },
    "/v1/notes/{note_id}": {
      "delete": {
        "operationId": "app_src_api_routes_external_v1_notes_views_delete_note",
        "parameters": [
          {
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegacyDeleteNoteResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Delete Note",
        "tags": [
          "external",
          "external-v1"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v1/notes/01961d40-7a67-7049-a8a6-d5638cbaaeb9\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --request DELETE"
          }
        ]
      }
    },
    "/v1/service-info": {
      "get": {
        "operationId": "get_service_info_v1_service_info_get",
        "parameters": [
          {
            "in": "header",
            "name": "If-None-Match",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "If-None-Match"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CoreApi__ServiceInfoResponseSchema"
                }
              }
            },
            "description": "Successful Response"
          },
          "304": {
            "description": "Not modified"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CoreApi__ApiError"
                }
              }
            },
            "description": "Unprocessable Content"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CoreApi__ApiError"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "summary": "Get Service Info",
        "tags": [
          "CoreApi__service-info"
        ]
      }
    },
    "/v2/attachments/answer-question": {
      "post": {
        "description": "Ask one focused question about a single attachment by kind and ID.\nUse `attachment_kind` and `attachment_id` returned in note attachment metadata.",
        "operationId": "app_src_api_routes_external_v2_attachments_views_answer_question_about_attachment",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnswerQuestionAboutAttachmentRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnswerQuestionAboutAttachmentResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Answer Question About Attachment",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/attachments/read": {
      "post": {
        "description": "Read structured content for a single attachment by kind and ID.\nUse `attachment_kind` and `attachment_id` returned in note attachment metadata.",
        "operationId": "app_src_api_routes_external_v2_attachments_views_read_attachment",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReadAttachmentRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadAttachmentResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Read Attachment",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/audio-recordings/{audio_recording_id}": {
      "get": {
        "description": "Fetch the current public transcript and metadata for a single audio recording by ID.",
        "operationId": "app_src_api_routes_external_v2_audio_recordings_views_read_audio_recording",
        "parameters": [
          {
            "description": "When true (default), transcript turns are prefixed with available speaker\nlabels. Labels may be participant names, generic diarization labels such as\n`[Speaker 1]`, or app channel labels such as `[Speaker]` and\n`[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.\nWhen false, the same transcript content is returned without speaker labels.",
            "in": "query",
            "name": "transcript_speaker_labels",
            "required": false,
            "schema": {
              "default": true,
              "description": "When true (default), transcript turns are prefixed with available speaker\nlabels. Labels may be participant names, generic diarization labels such as\n`[Speaker 1]`, or app channel labels such as `[Speaker]` and\n`[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.\nWhen false, the same transcript content is returned without speaker labels.",
              "title": "Transcript Speaker Labels",
              "type": "boolean"
            }
          },
          {
            "description": "UUID of the audio recording to read. The caller must be able to access this recording.",
            "in": "path",
            "name": "audio_recording_id",
            "required": true,
            "schema": {
              "description": "UUID of the audio recording to read. The caller must be able to access this recording.",
              "format": "uuid",
              "title": "Audio Recording Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadAudioRecordingResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Read Audio Recording",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/calendar/calendars": {
      "get": {
        "operationId": "app_src_api_routes_external_v2_calendar_views_list_calendars",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCalendarsResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List Calendars",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/calendar/calendars/settings": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_calendar_views_update_calendar_settings",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCalendarSettingsRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateCalendarSettingsResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Update Calendar Settings",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/calendar/connections": {
      "get": {
        "operationId": "app_src_api_routes_external_v2_calendar_views_list_calendar_connections",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCalendarConnectionsResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List Calendar Connections",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/calendar/connections/{provider}/callback": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_calendar_views_calendar_oauth_callback",
        "parameters": [
          {
            "in": "path",
            "name": "provider",
            "required": true,
            "schema": {
              "title": "Provider",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CalendarOAuthCallbackRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalendarOAuthCallbackResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Calendar Oauth Callback",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/calendar/connections/{provider}/connect": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_calendar_views_connect_calendar",
        "parameters": [
          {
            "in": "path",
            "name": "provider",
            "required": true,
            "schema": {
              "title": "Provider",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConnectCalendarRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConnectCalendarResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Connect Calendar",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/calendar/connections/{provider}/disconnect": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_calendar_views_disconnect_calendar",
        "parameters": [
          {
            "in": "path",
            "name": "provider",
            "required": true,
            "schema": {
              "title": "Provider",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DisconnectCalendarRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DisconnectCalendarResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Disconnect Calendar",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/calendar/events": {
      "get": {
        "operationId": "app_src_api_routes_external_v2_calendar_views_list_calendar_events",
        "parameters": [
          {
            "description": "Filter events ending at or after this time.",
            "in": "query",
            "name": "start_time",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Filter events ending at or after this time.",
              "title": "Start Time"
            }
          },
          {
            "description": "Filter events starting at or before this time.",
            "in": "query",
            "name": "end_time",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Filter events starting at or before this time.",
              "title": "End Time"
            }
          },
          {
            "description": "Filter by external calendar ID (provider calendar ID).",
            "in": "query",
            "name": "calendar_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Filter by external calendar ID (provider calendar ID).",
              "title": "Calendar Id"
            }
          },
          {
            "description": "Maximum number of events to return.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Maximum number of events to return.",
              "title": "Limit"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCalendarEventsResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List Calendar Events",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/calendar/events/{event_id}": {
      "get": {
        "operationId": "app_src_api_routes_external_v2_calendar_views_read_calendar_event",
        "parameters": [
          {
            "description": "UUID of the calendar event to read.",
            "in": "path",
            "name": "event_id",
            "required": true,
            "schema": {
              "description": "UUID of the calendar event to read.",
              "format": "uuid",
              "title": "Event Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadCalendarEventResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Read Calendar Event",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/calendar/reconcile": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_calendar_views_reconcile_calendar",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReconcileCalendarRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReconcileCalendarResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Reconcile Calendar",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/collections": {
      "get": {
        "description": "List collections visible to the authenticated caller with cursor pagination.\nResults are ordered by `order_by` and return `next_page` when additional rows are available.\nFor relevance-ranked retrieval by query, use `POST /v2/collections/search`.",
        "operationId": "app_src_api_routes_external_v2_collections_views_list_collections",
        "parameters": [
          {
            "description": "Maximum number of collections in this page.\nUse smaller values for lower latency.\nDefault is 50; valid range is 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "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"
            }
          },
          {
            "description": "Opaque cursor from a previous list response.\nOmit for the first page.\nIMPORTANT: Reuse with the same filters and `order_by` settings.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "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"
            }
          },
          {
            "description": "Sort key for pagination boundaries.\nUse `updated_at` (default) for recency feeds.\nUse `created_at` for creation-order views.",
            "in": "query",
            "name": "order_by",
            "required": false,
            "schema": {
              "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."
            }
          },
          {
            "description": "Optional inclusive lower bound for collection creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "in": "query",
            "name": "filter_by_created_after",
            "required": false,
            "schema": {
              "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"
            }
          },
          {
            "description": "Optional inclusive upper bound for collection creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "in": "query",
            "name": "filter_by_created_before",
            "required": false,
            "schema": {
              "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"
            }
          },
          {
            "description": "Optional inclusive lower bound for collection update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "in": "query",
            "name": "filter_by_updated_after",
            "required": false,
            "schema": {
              "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"
            }
          },
          {
            "description": "Optional inclusive upper bound for collection update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "in": "query",
            "name": "filter_by_updated_before",
            "required": false,
            "schema": {
              "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"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollectionListResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List Collections",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/collections?limit=20\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\""
          }
        ]
      },
      "post": {
        "description": "Create a collection with optional caller-provided ID and timestamps.\nIf `id` already exists, this request returns a conflict.\nUse collection membership endpoints to add, remove, or move notes between collections.",
        "operationId": "app_src_api_routes_external_v2_collections_views_create_collection",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCollectionRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateCollectionResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Create Collection",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/collections\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --data '{\n         \"title\": \"Acme Corp\"\n     }'"
          }
        ]
      }
    },
    "/v2/collections/{collection_id}": {
      "delete": {
        "description": "Permanently delete a collection.\nHard-deleting removes the collection resource itself.\nFor membership-only changes, use note add, remove, or move collection endpoints.",
        "operationId": "app_src_api_routes_external_v2_collections_views_delete_collection",
        "parameters": [
          {
            "description": "UUID of the collection to permanently delete. Use an ID returned by create/list/search. The caller must be able to access this collection.",
            "in": "path",
            "name": "collection_id",
            "required": true,
            "schema": {
              "description": "UUID of the collection to permanently delete. Use an ID returned by create/list/search. The caller must be able to access this collection.",
              "format": "uuid",
              "title": "Collection Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteCollectionResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Delete Collection",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/collections/01961d40-7a67-7049-a8a6-d5638cbaaeb9\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --request DELETE"
          }
        ]
      },
      "get": {
        "description": "Fetch metadata for a single collection by ID.\nThis endpoint returns collection metadata only, not a note list for that collection.\nFor discovery flows, use `GET /v2/collections` or `POST /v2/collections/search`.",
        "operationId": "app_src_api_routes_external_v2_collections_views_read_collection",
        "parameters": [
          {
            "description": "UUID of the collection to read. Use an ID returned by create/list/search. The caller must be able to access this collection.",
            "in": "path",
            "name": "collection_id",
            "required": true,
            "schema": {
              "description": "UUID of the collection to read. Use an ID returned by create/list/search. The caller must be able to access this collection.",
              "format": "uuid",
              "title": "Collection Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadCollectionResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Read Collection",
        "tags": [
          "external",
          "external-v2"
        ]
      },
      "patch": {
        "description": "Update metadata for a collection by ID.\nUse this endpoint to rename a collection by setting `title`.\nThis endpoint updates only provided fields (`title`, `description`) and leaves omitted fields unchanged.\nFor read-only retrieval, use `GET /v2/collections/{collection_id}`.",
        "operationId": "app_src_api_routes_external_v2_collections_views_update_collection",
        "parameters": [
          {
            "description": "UUID of the collection to update. Use an ID returned by create/list/search. The caller must be able to edit this collection.",
            "in": "path",
            "name": "collection_id",
            "required": true,
            "schema": {
              "description": "UUID of the collection to update. Use an ID returned by create/list/search. The caller must be able to edit this collection.",
              "format": "uuid",
              "title": "Collection Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCollectionRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateCollectionResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Update Collection",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/collections/01961d40-7a67-7049-a8a6-d5638cbaaeb9\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --request PATCH \\\n     --data '{\n         \"title\": \"Acme Corp - 2026\",\n         \"description\": \"Collection for 2026 Acme planning and execution notes.\"\n     }'"
          }
        ]
      }
    },
    "/v2/collections/{collection_id}/notes/{note_id}": {
      "delete": {
        "description": "Remove a note from a collection while keeping both resources.\nThis operation only removes the membership link between IDs.\nUse note/collection deletion endpoints to remove resources.",
        "operationId": "app_src_api_routes_external_v2_collections_views_remove_note_from_collection",
        "parameters": [
          {
            "description": "UUID of the collection to unlink. Use an ID returned by create/list/search. Caller must be able to edit the note or contribute to the collection.",
            "in": "path",
            "name": "collection_id",
            "required": true,
            "schema": {
              "description": "UUID of the collection to unlink. Use an ID returned by create/list/search. Caller must be able to edit the note or contribute to the collection.",
              "format": "uuid",
              "title": "Collection Id",
              "type": "string"
            }
          },
          {
            "description": "UUID of the note to unlink. Use an ID returned by create/list/search. Caller must be able to edit the note or contribute to the collection.",
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "description": "UUID of the note to unlink. Use an ID returned by create/list/search. Caller must be able to edit the note or contribute to the collection.",
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoveNoteFromCollectionResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Remove Note From Collection",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/collections/01961d40-7a67-7049-a8a6-d5638cbaaeb9/notes/01961d40-7b6f-70dd-8a92-2ee8f7137ab5\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --request DELETE"
          }
        ]
      },
      "put": {
        "description": "Add an existing note to an existing collection.\nThis operation only creates the membership link and does not modify note or collection content.\nUse create endpoints to create notes or collections.",
        "operationId": "app_src_api_routes_external_v2_collections_views_add_note_to_collection",
        "parameters": [
          {
            "description": "UUID of the collection that will receive the note. Use an ID returned by create/list/search. The caller must be able to contribute to this collection.",
            "in": "path",
            "name": "collection_id",
            "required": true,
            "schema": {
              "description": "UUID of the collection that will receive the note. Use an ID returned by create/list/search. The caller must be able to contribute to this collection.",
              "format": "uuid",
              "title": "Collection Id",
              "type": "string"
            }
          },
          {
            "description": "UUID of the note to add. Use an ID returned by create/list/search. The caller must be able to access this note.",
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "description": "UUID of the note to add. Use an ID returned by create/list/search. The caller must be able to access this note.",
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddNoteToCollectionResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Add Note To Collection",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/collections/01961d40-7a67-7049-a8a6-d5638cbaaeb9/notes/01961d40-7b6f-70dd-8a92-2ee8f7137ab5\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --request PUT"
          }
        ]
      }
    },
    "/v2/collections/{source_collection_id}/notes/{note_id}/move": {
      "post": {
        "description": "Move a note from one collection to another collection.\nThis operation adds the note to the target collection, then removes it from the source collection.\nIt does not modify note or collection content.",
        "operationId": "app_src_api_routes_external_v2_collections_views_move_note",
        "parameters": [
          {
            "description": "UUID of the collection that currently contains the note. Caller must be able to remove the note from this collection.",
            "in": "path",
            "name": "source_collection_id",
            "required": true,
            "schema": {
              "description": "UUID of the collection that currently contains the note. Caller must be able to remove the note from this collection.",
              "format": "uuid",
              "title": "Source Collection Id",
              "type": "string"
            }
          },
          {
            "description": "UUID of the note to move. Use an ID returned by create/list/search.",
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "description": "UUID of the note to move. Use an ID returned by create/list/search.",
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MoveNoteRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MoveNoteResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Move Note",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/collections/01961d40-7a67-7049-a8a6-d5638cbaaeb9/notes/01961d40-7b6f-70dd-8a92-2ee8f7137ab5/move\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --data '{\n         \"target_collection_id\": \"01961d40-7c70-7ed8-8cd4-bd99203de422\"\n     }'"
          }
        ]
      }
    },
    "/v2/collections/search": {
      "post": {
        "description": "Search collections using free-text relevance matching.\nReturns a bounded relevance-ranked result set and does not return `next_page`.\nFor deterministic chronological pagination, use `GET /v2/collections`.",
        "operationId": "app_src_api_routes_external_v2_collections_views_search_collections",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CollectionSearchRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CollectionSearchResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Search Collections",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/collections/search\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --data '{\n         \"query\": \"recipes\"\n     }'"
          }
        ]
      }
    },
    "/v2/event-types": {
      "get": {
        "description": "List event types supported by the Events API.",
        "operationId": "app_src_api_routes_external_v2_events_views_list_event_types",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventTypeListResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List Event Types",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/events": {
      "get": {
        "description": "List events for the authenticated account in sequence order.\nEvents are a stable external projection over Mem domain events. They are\nthin by default; fetch full object state with the corresponding read API.",
        "operationId": "app_src_api_routes_external_v2_events_views_list_events",
        "parameters": [
          {
            "description": "Return events with a sequence greater than this value.\nStore `next_after_sequence` from each response as the next watermark.",
            "in": "query",
            "name": "after_sequence",
            "required": false,
            "schema": {
              "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"
            }
          },
          {
            "description": "Maximum number of events to return. Max: 1000.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "description": "Maximum number of events to return. Max: 1000.",
              "maximum": 1000,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "Optional repeated event type filter, for example\n`?types=mem.note.created.v1&types=mem.conversation.message_received.v1`.",
            "in": "query",
            "name": "types",
            "required": false,
            "schema": {
              "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"
            }
          },
          {
            "description": "Optional primary entity kind filter, such as `note`.",
            "in": "query",
            "name": "entity_kind",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional primary entity kind filter, such as `note`.",
              "title": "Entity Kind"
            }
          },
          {
            "description": "Optional primary entity UUID filter.",
            "in": "query",
            "name": "entity_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional primary entity UUID filter.",
              "title": "Entity Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventListResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List Events",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/events/{event_id}": {
      "get": {
        "description": "Fetch a single event by ID.",
        "operationId": "app_src_api_routes_external_v2_events_views_read_event",
        "parameters": [
          {
            "description": "UUID of the event to read.",
            "in": "path",
            "name": "event_id",
            "required": true,
            "schema": {
              "description": "UUID of the event to read.",
              "format": "uuid",
              "title": "Event Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadEventResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Read Event",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/follow-ups": {
      "get": {
        "description": "List follow-ups for the authenticated caller's assistant with cursor pagination.\nResults are ordered by `order_by` and return `next_page` when additional rows are available.\nUse the optional `status`, `task_id`, and `project_id` filters to narrow the result set.",
        "operationId": "app_src_api_routes_external_v2_follow_ups_views_list_follow_ups",
        "parameters": [
          {
            "description": "Maximum number of follow-ups in this page.\nDefault is 50; valid range is 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "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"
            }
          },
          {
            "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.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "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"
            }
          },
          {
            "description": "Sort key for pagination boundaries. Use `scheduled_for` (default) for latest-scheduled-first follow-up feeds, `scheduled_for_asc` for soonest-scheduled-first pending sweeps, `updated_at` or `updated_at_asc` for recency/staleness feeds, and `created_at` or `created_at_asc` for creation-order views.",
            "in": "query",
            "name": "order_by",
            "required": false,
            "schema": {
              "allOf": [
                {
                  "enum": [
                    "created_at",
                    "updated_at",
                    "scheduled_for",
                    "created_at_asc",
                    "updated_at_asc",
                    "scheduled_for_asc"
                  ],
                  "title": "FollowUpListOrderBy",
                  "type": "string"
                }
              ],
              "default": "scheduled_for",
              "description": "Sort key for pagination boundaries. Use `scheduled_for` (default) for latest-scheduled-first follow-up feeds, `scheduled_for_asc` for soonest-scheduled-first pending sweeps, `updated_at` or `updated_at_asc` for recency/staleness feeds, and `created_at` or `created_at_asc` for creation-order views."
            }
          },
          {
            "description": "Optional filter by follow-up status.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/FollowUpStatusInput"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional filter by follow-up status."
            }
          },
          {
            "description": "Optional filter to follow-ups associated with a single task.",
            "in": "query",
            "name": "task_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional filter to follow-ups associated with a single task.",
              "title": "Task Id"
            }
          },
          {
            "description": "Optional filter to follow-ups associated with a single project.",
            "in": "query",
            "name": "project_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional filter to follow-ups associated with a single project.",
              "title": "Project Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FollowUpListResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List Follow Ups",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/follow-ups?limit=20&status=pending\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\""
          }
        ]
      }
    },
    "/v2/follow-ups/{follow_up_id}": {
      "get": {
        "description": "Fetch metadata for a single follow-up by ID.",
        "operationId": "app_src_api_routes_external_v2_follow_ups_views_read_follow_up",
        "parameters": [
          {
            "description": "UUID of the follow-up to read. The caller's assistant must own this follow-up.",
            "in": "path",
            "name": "follow_up_id",
            "required": true,
            "schema": {
              "description": "UUID of the follow-up to read. The caller's assistant must own this follow-up.",
              "format": "uuid",
              "title": "Follow Up Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadFollowUpResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Read Follow Up",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/mcp/chatgpt/fetch": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_mcp_chatgpt_views_fetch_resources",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FetchChatGPTRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FetchChatGPTResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Fetch Resources",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/mcp/chatgpt/search": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_mcp_chatgpt_views_search_resources",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchChatGPTRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchChatGPTResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Search Resources",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/mcp/initialize": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_mcp_initialize_views_initialize_mcp",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/McpInitializeRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No Content"
          }
        },
        "summary": "Initialize Mcp",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/mcp/notes/{note_id}": {
      "get": {
        "operationId": "app_src_api_routes_external_v2_mcp_notes_views_view_note",
        "parameters": [
          {
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ViewNoteResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "View Note",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/mcp/notes/search": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_mcp_notes_views_search_notes",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchNotesRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchNotesResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Search Notes",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/mem-it": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_mem_it_views_mem_it",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MemItRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MemItResponseSchema"
                }
              }
            },
            "description": "OK"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsageQuotaExceededPayload"
                }
              }
            },
            "description": "Usage quota exceeded",
            "headers": {
              "Cache-Control": {
                "description": "Prevents a quota response from being cached.",
                "schema": {
                  "example": "private, no-store",
                  "type": "string"
                }
              },
              "Retry-After": {
                "description": "Seconds until the current usage quota resets.",
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              }
            }
          }
        },
        "summary": "Mem It",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/mem-it\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --data '{\n         \"input\": \"<!DOCTYPE html><html><head><title>AI Trends 2025</title>...</html>\",\n         \"instructions\": \"Extract the key findings and save as a research note\"\n     }'"
          }
        ]
      }
    },
    "/v2/note-attachments/{attachment_id}/download-url": {
      "get": {
        "description": "Generate a temporary signed download URL for a note attachment.\nUse this when note content references an attachment, but the underlying file URL is not directly downloadable.\nThe caller must be able to access the requested attachment.",
        "operationId": "app_src_api_routes_external_v2_notes_views_get_note_attachment_download_url",
        "parameters": [
          {
            "description": "UUID of the note attachment to download. The caller must be able to access this attachment.",
            "in": "path",
            "name": "attachment_id",
            "required": true,
            "schema": {
              "description": "UUID of the note attachment to download. The caller must be able to access this attachment.",
              "format": "uuid",
              "title": "Attachment Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetNoteAttachmentDownloadUrlResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Get Note Attachment Download Url",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/note-attachments/01961d40-7a67-7049-a8a6-d5638cbaaeb9/download-url\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\""
          }
        ]
      }
    },
    "/v2/notes": {
      "get": {
        "description": "List notes visible to the authenticated caller with cursor pagination.\nWhen multiple `contains_*` fields are true, a note may match any of them.\nResults are ordered by `order_by` and return `next_page` when additional rows are available.\nFor relevance-ranked retrieval by query, use `POST /v2/notes/search`.",
        "operationId": "app_src_api_routes_external_v2_notes_views_list_notes",
        "parameters": [
          {
            "description": "Maximum number of notes in this page.\nUse smaller values for lower latency.\nDefault is 50; valid range is 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maximum": 100,
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": 50,
              "description": "Maximum number of notes in this page.\nUse smaller values for lower latency.\nDefault is 50; valid range is 1 to 100.",
              "title": "Limit"
            }
          },
          {
            "description": "Opaque cursor from a previous list response.\nOmit for the first page.\nIMPORTANT: Reuse with the same filters and `order_by` settings.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "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"
            }
          },
          {
            "description": "Sort key for pagination boundaries.\nUse `updated_at` (default) for recency feeds.\nUse `created_at` for creation-order views.",
            "in": "query",
            "name": "order_by",
            "required": false,
            "schema": {
              "allOf": [
                {
                  "enum": [
                    "created_at",
                    "updated_at"
                  ],
                  "title": "NoteListOrderBy",
                  "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."
            }
          },
          {
            "description": "Optional collection filter by UUID.\nWhen set, only notes linked to this collection are returned.",
            "in": "query",
            "name": "collection_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional collection filter by UUID.\nWhen set, only notes linked to this collection are returned.",
              "title": "Collection Id"
            }
          },
          {
            "description": "Optional inclusive lower bound for note creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "in": "query",
            "name": "filter_by_created_after",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional inclusive lower bound for note creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
              "title": "Filter By Created After"
            }
          },
          {
            "description": "Optional inclusive upper bound for note creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "in": "query",
            "name": "filter_by_created_before",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional inclusive upper bound for note creation time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
              "title": "Filter By Created Before"
            }
          },
          {
            "description": "Optional inclusive lower bound for note update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "in": "query",
            "name": "filter_by_updated_after",
            "required": false,
            "schema": {
              "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`.",
              "title": "Filter By Updated After"
            }
          },
          {
            "description": "Optional inclusive upper bound for note update time (ISO 8601).\nThe timestamp must include a timezone offset such as `Z` or `+01:00`.",
            "in": "query",
            "name": "filter_by_updated_before",
            "required": false,
            "schema": {
              "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`.",
              "title": "Filter By Updated Before"
            }
          },
          {
            "description": "When true, include notes that contain at least one open task item.\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
            "in": "query",
            "name": "contains_open_tasks",
            "required": false,
            "schema": {
              "default": false,
              "description": "When true, include notes that contain at least one open task item.\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
              "title": "Contains Open Tasks",
              "type": "boolean"
            }
          },
          {
            "description": "When true, include notes that contain at least one task item\n(open or closed).\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
            "in": "query",
            "name": "contains_tasks",
            "required": false,
            "schema": {
              "default": false,
              "description": "When true, include notes that contain at least one task item\n(open or closed).\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
              "title": "Contains Tasks",
              "type": "boolean"
            }
          },
          {
            "description": "When true, include notes that contain image media\n(including image and GIF kinds).\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
            "in": "query",
            "name": "contains_images",
            "required": false,
            "schema": {
              "default": false,
              "description": "When true, include notes that contain image media\n(including image and GIF kinds).\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
              "title": "Contains Images",
              "type": "boolean"
            }
          },
          {
            "description": "When true, include notes that contain file-like attachments\n(including file and PDF kinds).\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
            "in": "query",
            "name": "contains_files",
            "required": false,
            "schema": {
              "default": false,
              "description": "When true, include notes that contain file-like attachments\n(including file and PDF kinds).\nWhen multiple `contains_*` fields are true, notes matching any selected\nfilter may be returned.",
              "title": "Contains Files",
              "type": "boolean"
            }
          },
          {
            "description": "When true, include full markdown content for each returned note.\nIMPORTANT: This increases payload size and can increase latency.",
            "in": "query",
            "name": "include_note_content",
            "required": false,
            "schema": {
              "default": false,
              "description": "When true, include full markdown content for each returned note.\nIMPORTANT: This increases payload size and can increase latency.",
              "title": "Include Note Content",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NoteListResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List Notes",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/notes?limit=20\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\""
          }
        ]
      },
      "post": {
        "description": "Create a note with an optional note ID, timestamps, and collection links.\nIf omitted, Mem generates the note ID.\nThe first line of `content` becomes the note title.",
        "operationId": "app_src_api_routes_external_v2_notes_views_create_note",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateNoteRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateNoteResponseSchema"
                }
              }
            },
            "description": "OK"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/UsageQuotaExceededPayload"
                    },
                    {
                      "$ref": "#/components/schemas/CommercialUsageLimitRejection"
                    }
                  ],
                  "title": "Response 429 App Src Api Routes External V2 Notes Views Create Note"
                }
              }
            },
            "description": "Usage capacity exceeded",
            "headers": {
              "Cache-Control": {
                "description": "Prevents a quota response from being cached.",
                "schema": {
                  "example": "private, no-store",
                  "type": "string"
                }
              },
              "Retry-After": {
                "description": "Seconds until the current usage quota resets.",
                "schema": {
                  "minimum": 1,
                  "type": "integer"
                }
              }
            }
          }
        },
        "summary": "Create Note",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "                    curl \"https://api.mem.ai/v2/notes\" \\\n                         --header \"Content-Type: application/json\" \\\n                         --header \"Authorization: Bearer $MEM_API_KEY\" \\\n                         --data '{\n                             \"content\": \"# Sales Call with Acme Corp\n\nContact: John Smith (john@acme.com)\n\nInterested in enterprise plan. Follow up next week.\"\n                         }'\n                    "
          }
        ]
      }
    },
    "/v2/notes/{note_id}": {
      "delete": {
        "description": "Permanently delete a note.\nHard-deleted notes cannot be restored.\nFor recoverable removal, use `POST /v2/notes/{note_id}/trash`.",
        "operationId": "app_src_api_routes_external_v2_notes_views_delete_note",
        "parameters": [
          {
            "description": "UUID of the note to permanently delete. Use an ID returned by create/list/search. The caller must be able to edit this note.",
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "description": "UUID of the note to permanently delete. Use an ID returned by create/list/search. The caller must be able to edit this note.",
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteNoteResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Delete Note",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/notes/01961d40-7a67-7049-a8a6-d5638cbaaeb9\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --request DELETE"
          }
        ]
      },
      "get": {
        "description": "Fetch the full current state of a single note by ID.\nIf the note is in trash, the response still returns the note and includes `trashed_at`.\nFor discovery flows, use `GET /v2/notes` or `POST /v2/notes/search`.",
        "operationId": "app_src_api_routes_external_v2_notes_views_read_note",
        "parameters": [
          {
            "description": "UUID of the note to read. Use an ID returned by create/list/search. The caller must be able to access this note.",
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "description": "UUID of the note to read. Use an ID returned by create/list/search. The caller must be able to access this note.",
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadNoteResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Read Note",
        "tags": [
          "external",
          "external-v2"
        ]
      },
      "patch": {
        "description": "Submit a complete markdown body for a note and the exact `version` being updated.\nSend the full desired body in `content` (not a partial markdown patch).\nThe first line of `content` becomes the updated title.\nTrashed notes must be restored before they can be updated.",
        "operationId": "app_src_api_routes_external_v2_notes_views_update_note",
        "parameters": [
          {
            "description": "UUID of the note to update. Use an ID returned by create/list/search. The caller must be able to edit this note.",
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "description": "UUID of the note to update. Use an ID returned by create/list/search. The caller must be able to edit this note.",
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNoteRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateNoteResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Update Note",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/notes/01961d40-7a67-7049-a8a6-d5638cbaaeb9\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --request PATCH \\\n     --data '{\n         \"content\": \"# Updated title\\n\\nUpdated markdown content.\",\n         \"version\": 3\n     }'"
          }
        ]
      }
    },
    "/v2/notes/{note_id}/created-at": {
      "patch": {
        "description": "Set a note's visible creation timestamp without changing its content.\nThe supplied `created_at` must include a timezone offset and cannot be in the future.\nIt can only backdate the note: the timestamp cannot be later than\nwhen the note was originally created.\nThis operation changes note metadata only.\nTrashed notes must be restored before their creation date can be changed.",
        "operationId": "app_src_api_routes_external_v2_notes_views_set_note_created_at",
        "parameters": [
          {
            "description": "UUID of the note whose visible creation timestamp should change. The caller must own this note.",
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "description": "UUID of the note whose visible creation timestamp should change. The caller must own this note.",
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetNoteCreatedAtRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetNoteCreatedAtResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Set Note Created At",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/notes/01961d40-7a67-7049-a8a6-d5638cbaaeb9/created-at\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --request PATCH \\\n     --data '{\n         \"created_at\": \"2020-01-07T00:00:00Z\"\n     }'"
          }
        ]
      }
    },
    "/v2/notes/{note_id}/related-notes": {
      "get": {
        "description": "Find notes semantically related to the current persisted content of a note.\nThe source note is embedded at request time, so newly created or recently\nupdated notes can be used before asynchronous indexing catches up.\nCandidate related notes still come from the note search index.",
        "operationId": "app_src_api_routes_external_v2_notes_views_find_related_notes",
        "parameters": [
          {
            "description": "Maximum number of related notes to return.\nDefault is 10; valid range is 1 to 20.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "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"
            }
          },
          {
            "description": "UUID of the source note. The caller must be able to access this note.",
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "description": "UUID of the source note. The caller must be able to access this note.",
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FindRelatedNotesResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Find Related Notes",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/notes/01961d40-7a67-7049-a8a6-d5638cbaaeb9/related-notes?limit=10\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\""
          }
        ]
      }
    },
    "/v2/notes/{note_id}/restore": {
      "post": {
        "description": "Restore a previously trashed note to the active note set.\nThis only reverses soft-delete lifecycle state.\nNotes permanently deleted via `DELETE /v2/notes/{note_id}` cannot be restored.",
        "operationId": "app_src_api_routes_external_v2_notes_views_restore_note",
        "parameters": [
          {
            "description": "UUID of the note to restore from trash. Use an ID returned by create/list/search. The caller must be able to edit this note.",
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "description": "UUID of the note to restore from trash. Use an ID returned by create/list/search. The caller must be able to edit this note.",
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RestoreNoteResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Restore Note",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/notes/01961d40-7a67-7049-a8a6-d5638cbaaeb9/restore\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --request POST"
          }
        ]
      }
    },
    "/v2/notes/{note_id}/trash": {
      "post": {
        "description": "Soft-delete a note by moving it to trash.\nTrashed notes can be restored via `POST /v2/notes/{note_id}/restore`.\nFor irreversible deletion, use `DELETE /v2/notes/{note_id}`.",
        "operationId": "app_src_api_routes_external_v2_notes_views_trash_note",
        "parameters": [
          {
            "description": "UUID of the note to move to trash. Use an ID returned by create/list/search. The caller must be able to edit this note.",
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "description": "UUID of the note to move to trash. Use an ID returned by create/list/search. The caller must be able to edit this note.",
              "format": "uuid",
              "title": "Note Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrashNoteResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Trash Note",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/notes/01961d40-7a67-7049-a8a6-d5638cbaaeb9/trash\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --request POST"
          }
        ]
      }
    },
    "/v2/notes/extended-search": {
      "post": {
        "description": "Search notes and note-linked attachments together.\nReturns note hits with attachment match context for PDFs, images, audio\nrecordings, calendar events, and emails. Use returned attachment IDs with\nthe attachment tools for deeper inspection.",
        "operationId": "app_src_api_routes_external_v2_notes_views_extended_search_notes",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExtendedSearchNotesRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExtendedSearchNotesResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Extended Search Notes",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/notes/extended-search\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --data '{\n         \"query\": \"renewal terms in uploaded PDFs\",\n         \"limit\": 10\n     }'"
          }
        ]
      }
    },
    "/v2/notes/search": {
      "post": {
        "description": "Search notes using a required free-text query and structured filters.\nWhen multiple `filter_by_contains_*` fields are true, a note may match any of them.\nReturns note results from a bounded search snapshot with deterministic offset pagination.\nQuery-based searches are relevance-ranked within the bounded search snapshot window.\nReuse the returned `snapshot_id` when requesting later pages.\nThe returned `total` reflects the bounded search snapshot, capped by the 100-result search window.\nFor deterministic chronological pagination across all accessible notes, use `GET /v2/notes`.",
        "operationId": "app_src_api_routes_external_v2_notes_views_search_notes",
        "parameters": [
          {
            "description": "Maximum number of notes in this search page.\nUse smaller values for lower latency.\nDefault is 20; valid range is 1 to 50.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maximum": 50,
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": 20,
              "description": "Maximum number of notes in this search page.\nUse smaller values for lower latency.\nDefault is 20; valid range is 1 to 50.",
              "title": "Limit"
            }
          },
          {
            "description": "Number of matching notes to skip before returning results.\nThis value is zero-based.",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "description": "Number of matching notes to skip before returning results.\nThis value is zero-based.",
              "minimum": 0,
              "title": "Offset",
              "type": "integer"
            }
          },
          {
            "description": "Opaque search snapshot identifier returned by a previous search page.\nRequired when requesting later pages with `offset > 0`.",
            "in": "query",
            "name": "snapshot_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Opaque search snapshot identifier returned by a previous search page.\nRequired when requesting later pages with `offset > 0`.",
              "title": "Snapshot Id"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NoteSearchRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NoteSearchResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Search Notes",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/notes/search?limit=20&offset=0\" \\\n     --header \"Content-Type: application/json\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\" \\\n     --data '{\n         \"query\": \"sales\"\n     }'"
          }
        ]
      }
    },
    "/v2/projects": {
      "get": {
        "description": "List projects for the authenticated caller's assistant with cursor pagination.\nResults are ordered by `order_by` and return `next_page` when additional rows are available.\nUse the optional `status` filter to narrow the result set.",
        "operationId": "app_src_api_routes_external_v2_projects_views_list_projects",
        "parameters": [
          {
            "description": "Maximum number of projects in this page.\nDefault is 50; valid range is 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maximum": 100,
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": 50,
              "description": "Maximum number of projects in this page.\nDefault is 50; valid range is 1 to 100.",
              "title": "Limit"
            }
          },
          {
            "description": "Opaque cursor from a previous list response.\nOmit for the first page.\nIMPORTANT: Reuse with the same `order_by` and `status` values.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "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` and `status` values.",
              "title": "Page"
            }
          },
          {
            "description": "Sort key for pagination boundaries. Use `updated_at` (default) for newest-updated-first recency feeds, `updated_at_asc` for oldest-updated-first staleness sweeps, `created_at` for newest-created-first views, or `created_at_asc` for oldest-created-first views.",
            "in": "query",
            "name": "order_by",
            "required": false,
            "schema": {
              "allOf": [
                {
                  "enum": [
                    "created_at",
                    "updated_at",
                    "created_at_asc",
                    "updated_at_asc"
                  ],
                  "title": "ProjectListOrderBy",
                  "type": "string"
                }
              ],
              "default": "updated_at",
              "description": "Sort key for pagination boundaries. Use `updated_at` (default) for newest-updated-first recency feeds, `updated_at_asc` for oldest-updated-first staleness sweeps, `created_at` for newest-created-first views, or `created_at_asc` for oldest-created-first views."
            }
          },
          {
            "description": "Optional filter by project status.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ProjectStatusInput"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional filter by project status."
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectListResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List Projects",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/projects?limit=20&status=active\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\""
          }
        ]
      }
    },
    "/v2/projects/{project_id}": {
      "get": {
        "description": "Fetch metadata for a single project by ID.",
        "operationId": "app_src_api_routes_external_v2_projects_views_read_project",
        "parameters": [
          {
            "description": "UUID of the project to read. The caller's assistant must own this project.",
            "in": "path",
            "name": "project_id",
            "required": true,
            "schema": {
              "description": "UUID of the project to read. The caller's assistant must own this project.",
              "format": "uuid",
              "title": "Project Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadProjectResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Read Project",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/session-events/search": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_session_events_views_search_session_events",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchSessionEventsRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchSessionEventsResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Search Session Events",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/sessions": {
      "post": {
        "operationId": "app_src_api_routes_external_v2_sessions_views_create_session",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSessionRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Create Session",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/sessions/{session_id}": {
      "delete": {
        "operationId": "app_src_api_routes_external_v2_sessions_views_delete_session",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Session Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Delete Session",
        "tags": [
          "external",
          "external-v2"
        ]
      },
      "get": {
        "operationId": "app_src_api_routes_external_v2_sessions_views_read_session",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Session Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Read Session",
        "tags": [
          "external",
          "external-v2"
        ]
      },
      "patch": {
        "operationId": "app_src_api_routes_external_v2_sessions_views_update_session",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Session Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSessionRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Update Session",
        "tags": [
          "external",
          "external-v2"
        ]
      },
      "put": {
        "operationId": "app_src_api_routes_external_v2_sessions_views_upsert_session",
        "parameters": [
          {
            "in": "path",
            "name": "session_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "title": "Session Id",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertSessionRequestSchema"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Upsert Session",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    },
    "/v2/tasks": {
      "get": {
        "description": "List tasks for the authenticated caller's assistant with cursor pagination.\nResults are ordered by `order_by` and return `next_page` when additional rows are available.\nUse the optional `status` and `project_id` filters to narrow the result set.",
        "operationId": "app_src_api_routes_external_v2_tasks_views_list_tasks",
        "parameters": [
          {
            "description": "Maximum number of tasks in this page.\nDefault is 50; valid range is 1 to 100.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maximum": 100,
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": 50,
              "description": "Maximum number of tasks in this page.\nDefault is 50; valid range is 1 to 100.",
              "title": "Limit"
            }
          },
          {
            "description": "Opaque cursor from a previous list response.\nOmit for the first page.\nIMPORTANT: Reuse with the same `order_by`, `status`, and `project_id` values.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "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`, and `project_id` values.",
              "title": "Page"
            }
          },
          {
            "description": "Sort key for pagination boundaries. Use `updated_at` (default) for newest-updated-first recency feeds, `updated_at_asc` for oldest-updated-first staleness sweeps, `created_at` for newest-created-first views, or `created_at_asc` for oldest-created-first views.",
            "in": "query",
            "name": "order_by",
            "required": false,
            "schema": {
              "allOf": [
                {
                  "enum": [
                    "created_at",
                    "updated_at",
                    "created_at_asc",
                    "updated_at_asc"
                  ],
                  "title": "TaskListOrderBy",
                  "type": "string"
                }
              ],
              "default": "updated_at",
              "description": "Sort key for pagination boundaries. Use `updated_at` (default) for newest-updated-first recency feeds, `updated_at_asc` for oldest-updated-first staleness sweeps, `created_at` for newest-created-first views, or `created_at_asc` for oldest-created-first views."
            }
          },
          {
            "description": "Optional filter by task status.",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/TaskStatusInput"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional filter by task status."
            }
          },
          {
            "description": "Optional filter to tasks belonging to a single project.",
            "in": "query",
            "name": "project_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Optional filter to tasks belonging to a single project.",
              "title": "Project Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskListResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "List Tasks",
        "tags": [
          "external",
          "external-v2"
        ],
        "x-codeSamples": [
          {
            "label": "cURL",
            "lang": "bash",
            "source": "curl \"https://api.mem.ai/v2/tasks?limit=20&status=pending\" \\\n     --header \"Authorization: Bearer $MEM_API_KEY\""
          }
        ]
      }
    },
    "/v2/tasks/{task_id}": {
      "get": {
        "description": "Fetch metadata for a single task by ID.",
        "operationId": "app_src_api_routes_external_v2_tasks_views_read_task",
        "parameters": [
          {
            "description": "UUID of the task to read. The caller's assistant must own this task.",
            "in": "path",
            "name": "task_id",
            "required": true,
            "schema": {
              "description": "UUID of the task to read. The caller's assistant must own this task.",
              "format": "uuid",
              "title": "Task Id",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadTaskResponseSchema"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Read Task",
        "tags": [
          "external",
          "external-v2"
        ]
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://api.mem.ai"
    }
  ],
  "tags": [
    {
      "name": "deprecated"
    },
    {
      "name": "schema"
    },
    {
      "name": "sessions"
    },
    {
      "name": "session-events"
    },
    {
      "name": "mcp"
    },
    {
      "name": "notes"
    },
    {
      "name": "collections"
    },
    {
      "name": "tasks"
    },
    {
      "name": "projects"
    },
    {
      "name": "follow-ups"
    },
    {
      "name": "events"
    },
    {
      "name": "calendar"
    },
    {
      "name": "audio-recordings"
    },
    {
      "name": "CoreApi__account"
    },
    {
      "name": "CoreApi__apple-push-notifications"
    },
    {
      "name": "CoreApi__apple-transactions"
    },
    {
      "name": "CoreApi__audio-recordings"
    },
    {
      "name": "CoreApi__assistants"
    },
    {
      "name": "CoreApi__assistant-message-webhooks"
    },
    {
      "name": "CoreApi__assets"
    },
    {
      "name": "CoreApi__captured-websites"
    },
    {
      "name": "CoreApi__connected-calendars"
    },
    {
      "name": "CoreApi__commercial-catalog"
    },
    {
      "name": "CoreApi__convex"
    },
    {
      "name": "CoreApi__data-exports"
    },
    {
      "name": "CoreApi__email-capture"
    },
    {
      "name": "CoreApi__email-integrations"
    },
    {
      "name": "CoreApi__feature-enrollment-links"
    },
    {
      "name": "CoreApi__feature-flags"
    },
    {
      "name": "CoreApi__file-uploads"
    },
    {
      "name": "CoreApi__google-calendar-integration"
    },
    {
      "name": "CoreApi__health"
    },
    {
      "name": "CoreApi__huddles"
    },
    {
      "name": "CoreApi__link-previews"
    },
    {
      "name": "CoreApi__me-v1"
    },
    {
      "name": "CoreApi__memory"
    },
    {
      "name": "CoreApi__note-content-document-snapshots"
    },
    {
      "name": "CoreApi__notes"
    },
    {
      "name": "CoreApi__outlook-calendar-integration"
    },
    {
      "name": "CoreApi__search"
    },
    {
      "name": "CoreApi__service-info"
    },
    {
      "name": "CoreApi__session-events"
    },
    {
      "name": "CoreApi__sessions"
    },
    {
      "name": "CoreApi__shared-item-invites"
    },
    {
      "name": "CoreApi__source-artifacts"
    },
    {
      "name": "CoreApi__space-account-settings"
    },
    {
      "name": "CoreApi__stripe-billing"
    },
    {
      "name": "CoreApi__uploaded-files"
    },
    {
      "name": "CoreApi__voice"
    },
    {
      "name": "CoreApi__web-clips"
    },
    {
      "name": "CoreApi__zapier"
    },
    {
      "name": "CoreApi__auth"
    },
    {
      "name": "CoreApi__oauth2"
    },
    {
      "name": "CoreApi__oauth-discovery"
    },
    {
      "name": "CoreApi__e2e-internal"
    }
  ]
}
