---
title: "Get Incidents"
method: GET
path: "/incidents"
---

# Get Incidents

`GET /incidents`

## Query parameters

- `organization_id` string, required

## Response `200`

Successful Response

- GetIncidentsResponse
  - `incidents` Incident[]
    - `id` string, required
    - `created_at` string, date-time, required
    - `organization_id` string, required
    - `incident_key` string, required
    - `row_origin` 'slackbot' | 'raw_data_backfill_auto' | 'mim_suggested_investigation_processor' | 'rca_session'
    - `response_start_time` string, date-time, nullable
    - `organization` PrismaModelsOrganization — Represents a Organization record
      - `id` string, required
      - `name` string, required
      - `display_name` string, nullable
      - `config_name` string, required
      - `created_at` string, date-time, required
      - `archived_at` string, date-time, nullable
      - `auth0_id` string, nullable
      - `org_identifier` string, nullable
      - `auth_provider` string, nullable
      - `is_invite_only` boolean, required
      - `slack_integrations` SlackIntegration[], nullable
        - `id` string, required
        - `integration_type` string, required
        - `organization_id` string, nullable
        - `integration_org_id` string, required
        - `enterprise_id` string, nullable
        - `data` unknown, required
        - `created_at` string, date-time, required
        - `updated_at` string, date-time, required
        - `organization` PrismaModelsOrganization — recursive
        - `bot_id` string, nullable
        - `archived_at` string, date-time, nullable
      - `integrations` Integration[], nullable
        - `id` string, required
        - `integration_type` string, required
        - `organization_id` string, required
        - `organization` PrismaModelsOrganization — recursive
        - `auth_key_name` string, nullable
        - `auth_key_secret` string, nullable
        - `url` string, nullable
        - `data` unknown, required
        - `created_at` string, date-time, required
        - `updated_at` string, date-time, required
        - `last_checked_at` string, date-time, nullable
        - `health_status` string, required
      - `integration_instances` IntegrationInstance[], nullable
        - `id` string, required
        - `organization_id` string, required
        - `organization` PrismaModelsOrganization — recursive
        - `name` string, required
        - `description` string, nullable
        - `third_party_id` string, nullable
        - `type` string, required
        - `secret_ref` string, nullable
        - `enabled_data_types` unknown, required
        - `metadata` unknown, required
        - `created_at` string, date-time, required
        - `created_by` string, nullable
        - `updated_at` string, date-time, required
        - `last_health_check` unknown
        - `connector_id` string, nullable
        - `connector` PrismaModelsOrgConnector — Represents a OrgConnector record
          - `id` string, required
          - `name` string, required
          - `organization_id` string, required
          - `organization` PrismaModelsOrganization — recursive
          - `url` string, required
          - `single_tenant_url` string, nullable
          - `description` string, nullable
          - `created_at` string, date-time, required
          - `integration_instances` IntegrationInstance[], nullable
        - `datasets` Dataset[], nullable
          - `id` string, required
          - `integration_instance_id` string, required
          - `integration_instance` IntegrationInstance — recursive
          - `organization_id` string, required
          - `organization` PrismaModelsOrganization — recursive
          - `dataset_key` string, required
          - `details` unknown, required
          - `created_at` string, date-time, required
          - `updated_at` string, date-time, required
        - `chatbot_channels` ChatbotChannel[], nullable
          - `id` string, required
          - `platform` string, required
          - `channel_id` string, required
          - `organization_id` string, required
          - `integration_id` string, nullable
          - `workspace_id` string, required
          - `parent_id` string, nullable
          - `channel_name` string, nullable
          - `channel_type` string, required
          - `channel_topic` string, nullable
          - `channel_description` string, nullable
          - `creator_id` string, nullable
          - `num_members` integer, nullable
          - `raw` unknown
          - `created_at` string, date-time, required
          - `archived_at` string, date-time, nullable
          - `last_updated_at` string, date-time, required
          - `organization` PrismaModelsOrganization — recursive
          - `integration` IntegrationInstance — recursive
          - `chatbot_messages` ChatbotMessage[], nullable
            - `id` string, required
            - `platform` string, required
            - `channel_id` string, required
            - `message_id` string, required
            - `thread_id` string, nullable
            - `sent_at` string, date-time, required
            - `edited_at` string, date-time, nullable
            - `user_id` string, nullable
            - `sender_type` string, required
            - `message` string, nullable
            - `rich_content` unknown
            - `files` unknown
            - `reactions` unknown
            - `subtype` string, nullable
            - `permalink` string, nullable
            - `raw` unknown
            - `created_at` string, date-time, required
            - `last_updated_at` string, date-time, required
            - `deleted_at` string, date-time, nullable
            - `organization_id` string, nullable
            - `integration_id` string, nullable
            - `chatbot_channel` ChatbotChannel — recursive
            - `integration` IntegrationInstance — recursive
            - `chat_messages` ChatMessage[], nullable
              - …
            - `registered_files` PrismaModelsFile[], nullable
              - …
          - `resident_agent_workflow` ResidentAgentWorkflow — Represents a ResidentAgentWorkflow record
            - `id` string, required
            - `organization_id` string, required
            - `chatbot_channel_id` string, nullable
            - `resource_id` string, required
            - `agent_type` string, required
            - `created_at` string, date-time, required
            - `updated_at` string, date-time, required
            - `stopped_at` string, date-time, nullable
            - `status` string, nullable
            - `status_message` string, nullable
            - `status_updated_at` string, date-time, nullable
            - `platform` string, required
            - `worker_type` string, required
            - `mode` string, nullable
            - `custom_instruction` string, nullable
            - `owner_user_id` string, nullable
            - `parent_resident_agent_workflow_id` string, nullable
            - `resident_agent_events` ResidentAgentEvent[], nullable
              - …
            - `resident_agent_schedules` ResidentAgentSchedule[], nullable
              - …
            - `transcript_summary_events` TranscriptSummaryEvent[], nullable
              - …
            - `resident_agent_document` ResidentAgentDocument — Represents a ResidentAgentDocument record
              - …
            - `pins` ResidentAgentWorkflowPin[], nullable
              - …
            - `chatbot_channel` ChatbotChannel — recursive
            - `owner` PrismaModelsUser — Represents a User record
              - …
            - `parent` ResidentAgentWorkflow — recursive
            - `child_workers` ResidentAgentWorkflow[], nullable
        - `chatbot_messages` ChatbotMessage[], nullable
          - `id` string, required
          - `platform` string, required
          - `channel_id` string, required
          - `message_id` string, required
          - `thread_id` string, nullable
          - `sent_at` string, date-time, required
          - `edited_at` string, date-time, nullable
          - `user_id` string, nullable
          - `sender_type` string, required
          - `message` string, nullable
          - `rich_content` unknown
          - `files` unknown
          - `reactions` unknown
          - `subtype` string, nullable
          - `permalink` string, nullable
          - `raw` unknown
          - `created_at` string, date-time, required
          - `last_updated_at` string, date-time, required
          - `deleted_at` string, date-time, nullable
          - `organization_id` string, nullable
          - `integration_id` string, nullable
          - `chatbot_channel` ChatbotChannel — Represents a ChatbotChannel record
            - `id` string, required
            - `platform` string, required
            - `channel_id` string, required
            - `organization_id` string, required
            - `integration_id` string, nullable
            - `workspace_id` string, required
            - `parent_id` string, nullable
            - `channel_name` string, nullable
            - `channel_type` string, required
            - `channel_topic` string, nullable
            - `channel_description` string, nullable
            - `creator_id` string, nullable
            - `num_members` integer, nullable
            - `raw` unknown
            - `created_at` string, date-time, required
            - `archived_at` string, date-time, nullable
            - `last_updated_at` string, date-time, required
            - `organization` PrismaModelsOrganization — recursive
            - `integration` IntegrationInstance — recursive
            - `chatbot_messages` ChatbotMessage[], nullable
            - `resident_agent_workflow` ResidentAgentWorkflow — Represents a ResidentAgentWorkflow record
              - …
          - `integration` IntegrationInstance — recursive
          - `chat_messages` ChatMessage[], nullable
            - `id` integer, required
            - `session_id` string, nullable
            - `chat_id` string, nullable
            - `message_type` string, nullable
            - `content` string, nullable
            - `content_type` string, nullable
            - `thinking_mode` string, nullable
            - `rca_content` string, nullable
            - `chat_content` string, nullable
            - `chat_alert_filters_content` string, nullable
            - `input` string, nullable
            - `full_output` string, nullable
            - `parsed_output` string, nullable
            - `created_at` string, date-time, nullable
            - `ordered_at` string, date-time, required
            - `user_uuid` string, nullable
            - `services_context` unknown
            - `relevant_context_ids` unknown
            - `artifacts` unknown
            - `context_items` unknown
            - `slack_message_id` string, nullable
            - `slack_message` PrismaModelsSlackChatMessage — Represents a SlackChatMessage record
              - …
            - `chatbot_message_id` string, nullable
            - `chatbot_message` ChatbotMessage — recursive
            - `session` Session — Represents a Session record
              - …
            - `user` PrismaModelsUser — Represents a User record
              - …
            - `triage_content` string, nullable
            - `context_item_reports` PrismaModelsContextItemReport[], nullable
              - …
            - `chat_message_files` PrismaModelsChatMessageFile[], nullable
              - …
            - `slackbot_investigation_modal` SlackbotInvestigationModal[], nullable
              - …
            - `background_tasks` BackgroundTask[], nullable
              - …
          - `registered_files` PrismaModelsFile[], nullable
            - `id` string, required
            - `created_at` string, date-time, required
            - `content_type` string, required
            - `origin` string, required
            - `content_sha256_hash` string, required
            - `s3_url` string, nullable
            - `file_name` string, nullable
            - `organization_id` string, nullable
            - `chat_platform_message_id` string, nullable
            - `organization` PrismaModelsOrganization — recursive
            - `chat_platform_message` ChatbotMessage — recursive
            - `transcriptions` FileTranscription[], nullable
              - …
            - `knowledge_base_entries` KnowledgeBase[], nullable
              - …
        - `trigger_rules` TriggerRule[], nullable
          - `id` string, required
          - `organization_id` string, nullable
          - `integration_id` string, nullable
          - `trigger_condition_type` string, required
          - `context_source` string, required
          - `channel_id` string, required
          - `created_at` string, date-time, required
          - `created_by_user_uuid` string, required
          - `updated_at` string, date-time, nullable
          - `archived_at` string, date-time, nullable
          - `archived_by_user_uuid` string, nullable
          - `resident_agent_template_id` string, nullable
          - `organization` PrismaModelsOrganization — recursive
          - `integration` IntegrationInstance — recursive
          - `created_by_user` PrismaModelsUser — Represents a User record
            - `id` string, required
            - `sub` string, nullable
            - `email` string, required
            - `created_at` string, date-time, nullable
            - `organization_id` string, required
            - `slack_user_id` string, nullable
            - `teams_user_id` string, nullable
            - `archived_at` string, date-time, nullable
            - `user_type` 'default' | 'system' | 'synthetic', required
            - `name` string, nullable
            - `default_timezone` string, nullable
            - `time_representation` string, nullable
            - `principal_id` string, nullable
            - `organization` PrismaModelsOrganization — recursive
            - `principal` Principal — Represents a Principal record
              - …
            - `sessions` Session[], nullable
              - …
            - `evaluations` Evaluation[], nullable
              - …
            - `user_token_caches` UserTokenCache[], nullable
              - …
            - `auth_issuer_sessions` AuthIssuerSession[], nullable
              - …
            - `auth_routing_transactions` AuthRoutingTransaction[], nullable
              - …
            - `manual_ground_truths_created` ManualGroundTruth[], nullable
              - …
            - `manual_ground_truths_updated` ManualGroundTruth[], nullable
              - …
            - `manual_evaluations_created` ManualEvaluation[], nullable
              - …
            - `manual_evaluations_updated` ManualEvaluation[], nullable
              - …
            - `memory_categories` MemoryCategory[], nullable
              - …
            - `session_feedback` SessionFeedback[], nullable
              - …
            - `user_memories` UserMemory[], nullable
              - …
            - `user_agent_instruction` UserAgentInstruction — Represents a UserAgentInstruction record
              - …
            - `platform_user_roles` PlatformUserRole[], nullable
              - …
            - `organization_user_roles` OrganizationUserRole[], nullable
              - …
            - `user_session_permissions` UserSessionPermission[], nullable
              - …
            - `chat_messages` ChatMessage[], nullable
              - …
            - `message_feedback` MessageFeedback[], nullable
              - …
            - `chat_platform_users` ChatPlatformUser[], nullable
              - …
            - `slack_triggers_created` SlackSelfServeTrigger[], nullable
              - …
            - `slack_triggers_deleted` SlackSelfServeTrigger[], nullable
              - …
            - `trigger_rules_created` TriggerRule[], nullable
            - `trigger_rules_archived` TriggerRule[], nullable
            - `knowledge_base_entries` KnowledgeBase[], nullable
              - …
            - `invites_sent` UserInvite[], nullable
              - …
            - `alert_summary_schedules_created` AlertSummarySchedule[], nullable
              - …
            - `alert_summary_schedules_modified` AlertSummarySchedule[], nullable
              - …
            - `traversal_api_keys` TraversalApiKey[], nullable
              - …
            - `ab_test_questions` ABTestQuestion[], nullable
              - …
            - `engagement_events` EngagementEvent[], nullable
              - …
            - `session_pins` SessionPin[], nullable
              - …
            - `resident_agent_workflow_pins` ResidentAgentWorkflowPin[], nullable
              - …
            - `owned_resident_agent_workflows` ResidentAgentWorkflow[], nullable
              - …
            - `resident_agent_schedules_created` ResidentAgentSchedule[], nullable
              - …
            - `filesystem_entries_created` FilesystemEntry[], nullable
              - …
            - `system_prompt_entries_targeted` SystemPromptEntry[], nullable
              - …
            - `system_prompt_entries_created` SystemPromptEntry[], nullable
              - …
            - `system_prompt_entries_updated` SystemPromptEntry[], nullable
              - …
            - `agent_knowledge_commits` AgentKnowledgeCommit[], nullable
              - …
            - `chat_workspace_scans_started` ChatWorkspaceScan[], nullable
              - …
          - `archived_by_user` PrismaModelsUser — Represents a User record
            - `id` string, required
            - `sub` string, nullable
            - `email` string, required
            - `created_at` string, date-time, nullable
            - `organization_id` string, required
            - `slack_user_id` string, nullable
            - `teams_user_id` string, nullable
            - `archived_at` string, date-time, nullable
            - `user_type` 'default' | 'system' | 'synthetic', required
            - `name` string, nullable
            - `default_timezone` string, nullable
            - `time_representation` string, nullable
            - `principal_id` string, nullable
            - `organization` PrismaModelsOrganization — recursive
            - `principal` Principal — Represents a Principal record
              - …
            - `sessions` Session[], nullable
              - …
            - `evaluations` Evaluation[], nullable
              - …
            - `user_token_caches` UserTokenCache[], nullable
              - …
            - `auth_issuer_sessions` AuthIssuerSession[], nullable
              - …
            - `auth_routing_transactions` AuthRoutingTransaction[], nullable
              - …
            - `manual_ground_truths_created` ManualGroundTruth[], nullable
              - …
            - `manual_ground_truths_updated` ManualGroundTruth[], nullable
              - …
            - `manual_evaluations_created` ManualEvaluation[], nullable
              - …
            - `manual_evaluations_updated` ManualEvaluation[], nullable
              - …
            - `memory_categories` MemoryCategory[], nullable
              - …
            - `session_feedback` SessionFeedback[], nullable
              - …
            - `user_memories` UserMemory[], nullable
              - …
            - `user_agent_instruction` UserAgentInstruction — Represents a UserAgentInstruction record
              - …
            - `platform_user_roles` PlatformUserRole[], nullable
              - …
            - `organization_user_roles` OrganizationUserRole[], nullable
              - …
            - `user_session_permissions` UserSessionPermission[], nullable
              - …
            - `chat_messages` ChatMessage[], nullable
              - …
            - `message_feedback` MessageFeedback[], nullable
              - …
            - `chat_platform_users` ChatPlatformUser[], nullable
              - …
            - `slack_triggers_created` SlackSelfServeTrigger[], nullable
              - …
            - `slack_triggers_deleted` SlackSelfServeTrigger[], nullable
              - …
            - `trigger_rules_created` TriggerRule[], nullable
            - `trigger_rules_archived` TriggerRule[], nullable
            - `knowledge_base_entries` KnowledgeBase[], nullable
              - …
            - `invites_sent` UserInvite[], nullable
              - …
            - `alert_summary_schedules_created` AlertSummarySchedule[], nullable
              - …
            - `alert_summary_schedules_modified` AlertSummarySchedule[], nullable
              - …
            - `traversal_api_keys` TraversalApiKey[], nullable
              - …
            - `ab_test_questions` ABTestQuestion[], nullable
              - …
            - `engagement_events` EngagementEvent[], nullable
              - …
            - `session_pins` SessionPin[], nullable
              - …
            - `resident_agent_workflow_pins` ResidentAgentWorkflowPin[], nullable
              - …
            - `owned_resident_agent_workflows` ResidentAgentWorkflow[], nullable
              - …
            - `resident_agent_schedules_created` ResidentAgentSchedule[], nullable
              - …
            - `filesystem_entries_created` FilesystemEntry[], nullable
              - …
            - `system_prompt_entries_targeted` SystemPromptEntry[], nullable
              - …
            - `system_prompt_entries_created` SystemPromptEntry[], nullable
              - …
            - `system_prompt_entries_updated` SystemPromptEntry[], nullable
              - …
            - `agent_knowledge_commits` AgentKnowledgeCommit[], nullable
              - …
            - `chat_workspace_scans_started` ChatWorkspaceScan[], nullable
              - …
          - `conditions` TriggerCondition[], nullable
            - `id` string, required
            - `trigger_rule_id` string, required
            - `condition_rule_field` string, required
            - `condition_rule_operator` string, required
            - `condition_rule_value` string, required
            - `created_at` string, date-time, required
            - `trigger_rule` TriggerRule — recursive
          - `resident_agent_template` ResidentAgentTemplate — Represents a ResidentAgentTemplate record
            - `id` string, required
            - `organization_id` string, required
            - `name` string, required
            - `mode` string, required
            - `custom_instruction` string, nullable
            - `created_at` string, date-time, required
            - `updated_at` string, date-time, required
            - `archived_at` string, date-time, nullable
            - `organization` PrismaModelsOrganization — recursive
            - `trigger_rules` TriggerRule[], nullable
          - `fires` ChatTriggerFire[], nullable
            - `id` string, required
            - `organization_id` string, required
            - `trigger_rule_id` string, required
            - `channel_id` string, required
            - `integration_id` string, nullable
            - `dedup_key` string, required
            - `fired_at` string, date-time, required
            - `organization` PrismaModelsOrganization — recursive
            - `trigger_rule` TriggerRule — recursive
        - `chat_platform_reactions` ChatPlatformReaction[], nullable
          - `id` string, required
          - `organization_id` string, required
          - `integration_id` string, nullable
          - `platform` string, required
          - `channel_id` string, required
          - `message_id` string, required
          - `reaction_key` string, required
          - `user_id` string, required
          - `reacted_at` string, date-time, required
          - `deleted_at` string, date-time, nullable
          - `raw` unknown
          - `created_at` string, date-time, required
          - `organization` PrismaModelsOrganization — recursive
          - `integration` IntegrationInstance — recursive
        - `chat_platform_users` ChatPlatformUser[], nullable
          - `id` string, required
          - `platform` string, required
          - `platform_user_id` string, required
          - `organization_id` string, required
          - `integration_id` string, nullable
          - `workspace_id` string, required
          - `user_id` string, nullable
          - `username` string, nullable
          - `display_name` string, nullable
          - `real_name` string, nullable
          - `first_name` string, nullable
          - `last_name` string, nullable
          - `email` string, nullable
          - `title` string, nullable
          - `phone` string, nullable
          - `avatar_url` string, nullable
          - `is_bot` boolean, required
          - `platform_updated_at` string, date-time, nullable
          - `deactivated_at` string, date-time, nullable
          - `raw` unknown
          - `created_at` string, date-time, required
          - `last_updated_at` string, date-time, required
          - `organization` PrismaModelsOrganization — recursive
          - `integration` IntegrationInstance — recursive
          - `user` PrismaModelsUser — Represents a User record
            - `id` string, required
            - `sub` string, nullable
            - `email` string, required
            - `created_at` string, date-time, nullable
            - `organization_id` string, required
            - `slack_user_id` string, nullable
            - `teams_user_id` string, nullable
            - `archived_at` string, date-time, nullable
            - `user_type` 'default' | 'system' | 'synthetic', required
            - `name` string, nullable
            - `default_timezone` string, nullable
            - `time_representation` string, nullable
            - `principal_id` string, nullable
            - `organization` PrismaModelsOrganization — recursive
            - `principal` Principal — Represents a Principal record
              - …
            - `sessions` Session[], nullable
              - …
            - `evaluations` Evaluation[], nullable
              - …
            - `user_token_caches` UserTokenCache[], nullable
              - …
            - `auth_issuer_sessions` AuthIssuerSession[], nullable
              - …
            - `auth_routing_transactions` AuthRoutingTransaction[], nullable
              - …
            - `manual_ground_truths_created` ManualGroundTruth[], nullable
              - …
            - `manual_ground_truths_updated` ManualGroundTruth[], nullable
              - …
            - `manual_evaluations_created` ManualEvaluation[], nullable
              - …
            - `manual_evaluations_updated` ManualEvaluation[], nullable
              - …
            - `memory_categories` MemoryCategory[], nullable
              - …
            - `session_feedback` SessionFeedback[], nullable
              - …
            - `user_memories` UserMemory[], nullable
              - …
            - `user_agent_instruction` UserAgentInstruction — Represents a UserAgentInstruction record
              - …
            - `platform_user_roles` PlatformUserRole[], nullable
              - …
            - `organization_user_roles` OrganizationUserRole[], nullable
              - …
            - `user_session_permissions` UserSessionPermission[], nullable
              - …
            - `chat_messages` ChatMessage[], nullable
              - …
            - `message_feedback` MessageFeedback[], nullable
              - …
            - `chat_platform_users` ChatPlatformUser[], nullable
            - `slack_triggers_created` SlackSelfServeTrigger[], nullable
              - …
            - `slack_triggers_deleted` SlackSelfServeTrigger[], nullable
              - …
            - `trigger_rules_created` TriggerRule[], nullable
              - …
            - `trigger_rules_archived` TriggerRule[], nullable
              - …
            - `knowledge_base_entries` KnowledgeBase[], nullable
              - …
            - `invites_sent` UserInvite[], nullable
              - …
            - `alert_summary_schedules_created` AlertSummarySchedule[], nullable
              - …
            - `alert_summary_schedules_modified` AlertSummarySchedule[], nullable
              - …
            - `traversal_api_keys` TraversalApiKey[], nullable
              - …
            - `ab_test_questions` ABTestQuestion[], nullable
              - …
            - `engagement_events` EngagementEvent[], nullable
              - …
            - `session_pins` SessionPin[], nullable
              - …
            - `resident_agent_workflow_pins` ResidentAgentWorkflowPin[], nullable
              - …
            - `owned_resident_agent_workflows` ResidentAgentWorkflow[], nullable
              - …
            - `resident_agent_schedules_created` ResidentAgentSchedule[], nullable
              - …
            - `filesystem_entries_created` FilesystemEntry[], nullable
              - …
            - `system_prompt_entries_targeted` SystemPromptEntry[], nullable
              - …
            - `system_prompt_entries_created` SystemPromptEntry[], nullable
              - …
            - `system_prompt_entries_updated` SystemPromptEntry[], nullable
              - …
            - `agent_knowledge_commits` AgentKnowledgeCommit[], nullable
              - …
            - `chat_workspace_scans_started` ChatWorkspaceScan[], nullable
              - …
        - `chat_thread_mappings` ChatPlatformSessionThreadMapping[], nullable
          - `session_id` string, required
          - `platform` string, required
          - `integration_id` string, nullable
          - `channel_id` string, required
          - `parent_thread_id` string, required
          - `session` Session — Represents a Session record
            - `session_id` string, required
            - `user_uuid` string, nullable
            - `principal_id` string, nullable
            - `created_at` string, date-time, nullable
            - `updated_at` string, date-time, nullable
            - `archived_at` string, date-time, nullable
            - `incident_description` string, nullable
            - `incident_timezone` string, nullable
            - `incident_time` string, date-time, nullable
            - `organization_id` string, nullable
            - `original_session_id` string, nullable
            - `status` string, required
            - `failure_reason` string, nullable
            - `incident_id` string, nullable
            - `session_title` string, nullable
            - `mode` string, nullable
            - `trigger_type` string, nullable
            - `estimated_cost_usd` number, nullable
            - `parent_session_id` string, nullable
            - `origin_slack_channel_id` string, nullable
            - `execution_origin` 'user' | 'session_runner' | 'load_test' | 'ab_test' | 'config_optimizer' | 'product_flow_e2e', required
            - `citation_in_db` boolean, required
            - `user` PrismaModelsUser — Represents a User record
              - …
            - `principal` Principal — Represents a Principal record
              - …
            - `parent_session` Session — recursive
            - `child_sessions` Session[], nullable
            - `llm_calls` LlmCalls[], nullable
              - …
            - `chat_messages` ChatMessage[], nullable
              - …
            - `investigation_messages` InvestigationMessage[], nullable
              - …
            - `organization_session_permission` OrganizationSessionPermission[], nullable
              - …
            - `user_session_permission` UserSessionPermission[], nullable
              - …
            - `MessageFeedback` MessageFeedback[], nullable
              - …
            - `investigation_output_type` InvestigationOutputType[], nullable
              - …
            - `SlackSessionParentThreadMapping` PrismaModelsSlackSessionParentThreadMapping[], nullable
              - …
            - `ChatPlatformSessionThreadMapping` ChatPlatformSessionThreadMapping[], nullable
            - `incident` Incident — recursive
            - `evaluations` Evaluation[], nullable
              - …
            - `organization` PrismaModelsOrganization — recursive
            - `slackbot_investigation_modal` SlackbotInvestigationModal[], nullable
              - …
            - `alerts` Alert[], nullable
              - …
            - `alert_events` AlertEvent[], nullable
              - …
            - `run_set_id` string, nullable
            - `run_set` RunSet — Represents a RunSet record
              - …
            - `session_runs` SessionRun[], nullable
              - …
            - `manual_evaluation` ManualEvaluation — Represents a ManualEvaluation record
              - …
            - `agent_memories` AgentMemory[], nullable
              - …
            - `session_feedback` SessionFeedback[], nullable
              - …
            - `agent_messages` AgentMessage[], nullable
              - …
            - `proactive_monitoring_session` ProactiveMonitoringSession — Represents a ProactiveMonitoringSession record
              - …
            - `background_tasks` BackgroundTask[], nullable
              - …
            - `alert_story` AlertStory — Represents a AlertStory record
              - …
            - `engagement_events` EngagementEvent[], nullable
              - …
            - `session_pins` SessionPin[], nullable
              - …
            - `evidence_citations` EvidenceCitation[], nullable
              - …
            - `tool_latency_observations` ToolLatencyObservation[], nullable
              - …
            - `trajectory` Trajectory — Represents a Trajectory record
              - …
            - `knowledge_version_commit_id` string, nullable
            - `knowledge_version_pin_kind` string, nullable
            - `knowledge_version_pinned_at` string, date-time, nullable
            - `knowledge_version_commit` AgentKnowledgeCommit — Represents a AgentKnowledgeCommit record
              - …
            - `knowledge_originated_commits` AgentKnowledgeCommit[], nullable
              - …
          - `integration` IntegrationInstance — recursive
        - `engagement_events` EngagementEvent[], nullable
          - `id` string, required
          - `organization_id` string, required
          - `integration_id` string, nullable
          - `user_uuid` string, required
          - `platform` string, required
          - `event_kind` string, required
          - `session_id` string, nullable
          - `slack_channel_id` string, nullable
          - `channel_id` string, nullable
          - `parent_message_ts` string, nullable
          - `reaction_emoji` string, nullable
          - `feedback_message` string, nullable
          - `created_at` string, date-time, required
          - `organization` PrismaModelsOrganization — recursive
          - `integration` IntegrationInstance — recursive
          - `user` PrismaModelsUser — Represents a User record
            - `id` string, required
            - `sub` string, nullable
            - `email` string, required
            - `created_at` string, date-time, nullable
            - `organization_id` string, required
            - `slack_user_id` string, nullable
            - `teams_user_id` string, nullable
            - `archived_at` string, date-time, nullable
            - `user_type` 'default' | 'system' | 'synthetic', required
            - `name` string, nullable
            - `default_timezone` string, nullable
            - `time_representation` string, nullable
            - `principal_id` string, nullable
            - `organization` PrismaModelsOrganization — recursive
            - `principal` Principal — Represents a Principal record
              - …
            - `sessions` Session[], nullable
              - …
            - `evaluations` Evaluation[], nullable
              - …
            - `user_token_caches` UserTokenCache[], nullable
              - …
            - `auth_issuer_sessions` AuthIssuerSession[], nullable
              - …
            - `auth_routing_transactions` AuthRoutingTransaction[], nullable
              - …
            - `manual_ground_truths_created` ManualGroundTruth[], nullable
              - …
            - `manual_ground_truths_updated` ManualGroundTruth[], nullable
              - …
            - `manual_evaluations_created` ManualEvaluation[], nullable
              - …
            - `manual_evaluations_updated` ManualEvaluation[], nullable
              - …
            - `memory_categories` MemoryCategory[], nullable
              - …
            - `session_feedback` SessionFeedback[], nullable
              - …
            - `user_memories` UserMemory[], nullable
              - …
            - `user_agent_instruction` UserAgentInstruction — Represents a UserAgentInstruction record
              - …
            - `platform_user_roles` PlatformUserRole[], nullable
              - …
            - `organization_user_roles` OrganizationUserRole[], nullable
              - …
            - `user_session_permissions` UserSessionPermission[], nullable
              - …
            - `chat_messages` ChatMessage[], nullable
              - …
            - `message_feedback` MessageFeedback[], nullable
              - …
            - `chat_platform_users` ChatPlatformUser[], nullable
              - …
            - `slack_triggers_created` SlackSelfServeTrigger[], nullable
              - …
            - `slack_triggers_deleted` SlackSelfServeTrigger[], nullable
              - …
            - `trigger_rules_created` TriggerRule[], nullable
              - …
            - `trigger_rules_archived` TriggerRule[], nullable
              - …
            - `knowledge_base_entries` KnowledgeBase[], nullable
              - …
            - `invites_sent` UserInvite[], nullable
              - …
            - `alert_summary_schedules_created` AlertSummarySchedule[], nullable
              - …
            - `alert_summary_schedules_modified` AlertSummarySchedule[], nullable
              - …
            - `traversal_api_keys` TraversalApiKey[], nullable
              - …
            - `ab_test_questions` ABTestQuestion[], nullable
              - …
            - `engagement_events` EngagementEvent[], nullable
            - `session_pins` SessionPin[], nullable
              - …
            - `resident_agent_workflow_pins` ResidentAgentWorkflowPin[], nullable
              - …
            - `owned_resident_agent_workflows` ResidentAgentWorkflow[], nullable
              - …
            - `resident_agent_schedules_created` ResidentAgentSchedule[], nullable
              - …
            - `filesystem_entries_created` FilesystemEntry[], nullable
              - …
            - `system_prompt_entries_targeted` SystemPromptEntry[], nullable
              - …
            - `system_prompt_entries_created` SystemPromptEntry[], nullable
              - …
            - `system_prompt_entries_updated` SystemPromptEntry[], nullable
              - …
            - `agent_knowledge_commits` AgentKnowledgeCommit[], nullable
              - …
            - `chat_workspace_scans_started` ChatWorkspaceScan[], nullable
              - …
          - `session` Session — Represents a Session record
            - `session_id` string, required
            - `user_uuid` string, nullable
            - `principal_id` string, nullable
            - `created_at` string, date-time, nullable
            - `updated_at` string, date-time, nullable
            - `archived_at` string, date-time, nullable
            - `incident_description` string, nullable
            - `incident_timezone` string, nullable
            - `incident_time` string, date-time, nullable
            - `organization_id` string, nullable
            - `original_session_id` string, nullable
            - `status` string, required
            - `failure_reason` string, nullable
            - `incident_id` string, nullable
            - `session_title` string, nullable
            - `mode` string, nullable
            - `trigger_type` string, nullable
            - `estimated_cost_usd` number, nullable
            - `parent_session_id` string, nullable
            - `origin_slack_channel_id` string, nullable
            - `execution_origin` 'user' | 'session_runner' | 'load_test' | 'ab_test' | 'config_optimizer' | 'product_flow_e2e', required
            - `citation_in_db` boolean, required
            - `user` PrismaModelsUser — Represents a User record
              - …
            - `principal` Principal — Represents a Principal record
              - …
            - `parent_session` Session — recursive
            - `child_sessions` Session[], nullable
            - `llm_calls` LlmCalls[], nullable
              - …
            - `chat_messages` ChatMessage[], nullable
              - …
            - `investigation_messages` InvestigationMessage[], nullable
              - …
            - `organization_session_permission` OrganizationSessionPermission[], nullable
              - …
            - `user_session_permission` UserSessionPermission[], nullable
              - …
            - `MessageFeedback` MessageFeedback[], nullable
              - …
            - `investigation_output_type` InvestigationOutputType[], nullable
              - …
            - `SlackSessionParentThreadMapping` PrismaModelsSlackSessionParentThreadMapping[], nullable
              - …
            - `ChatPlatformSessionThreadMapping` ChatPlatformSessionThreadMapping[], nullable
              - …
            - `incident` Incident — recursive
            - `evaluations` Evaluation[], nullable
              - …
            - `organization` PrismaModelsOrganization — recursive
            - `slackbot_investigation_modal` SlackbotInvestigationModal[], nullable
              - …
            - `alerts` Alert[], nullable
              - …
            - `alert_events` AlertEvent[], nullable
              - …
            - `run_set_id` string, nullable
            - `run_set` RunSet — Represents a RunSet record
              - …
            - `session_runs` SessionRun[], nullable
              - …
            - `manual_evaluation` ManualEvaluation — Represents a ManualEvaluation record
              - …
            - `agent_memories` AgentMemory[], nullable
              - …
            - `session_feedback` SessionFeedback[], nullable
              - …
            - `agent_messages` AgentMessage[], nullable
              - …
            - `proactive_monitoring_session` ProactiveMonitoringSession — Represents a ProactiveMonitoringSession record
              - …
            - `background_tasks` BackgroundTask[], nullable
              - …
            - `alert_story` AlertStory — Represents a AlertStory record
              - …
            - `engagement_events` EngagementEvent[], nullable
            - `session_pins` SessionPin[], nullable
              - …
            - `evidence_citations` EvidenceCitation[], nullable
              - …
            - `tool_latency_observations` ToolLatencyObservation[], nullable
              - …
            - `trajectory` Trajectory — Represents a Trajectory record
              - …
            - `knowledge_version_commit_id` string, nullable
            - `knowledge_version_pin_kind` string, nullable
            - `knowledge_version_pinned_at` string, date-time, nullable
            - `knowledge_version_commit` AgentKnowledgeCommit — Represents a AgentKnowledgeCommit record
              - …
            - `knowledge_originated_commits` AgentKnowledgeCommit[], nullable
              - …
          - `slack_channel` PrismaModelsSlackChannel — Represents a SlackChannel record
            - `slack_channel_id` string, required
            - `organization_id` string, required
            - `channel_name` string, nullable
            - `slack_team_id` string, required
            - `created_at` string, date-time, required
            - `archived_at` string, date-time, nullable
            - `is_private` boolean, required
            - `channel_topic` string, nullable
            - `channel_description` string, nullable
            - `creator_id` string, nullable
            - `num_members` integer, nullable
            - `raw` unknown
            - `last_updated_at` string, date-time, required
            - `organization` PrismaModelsOrganization — recursive
            - `slack_chat_messages` PrismaModelsSlackChatMessage[], nullable
              - …
            - `engagement_events` EngagementEvent[], nullable
            - `system_prompt_entries` SystemPromptEntry[], nullable
              - …
        - `health_check_runs` IntegrationHealthCheckRun[], nullable
          - `id` string, required
          - `temporal_run_id` string, required
          - `temporal_workflow_id` string, required
          - `integration_instance_id` string, required
          - `integration_instance` IntegrationInstance — recursive
          - `status` string, required
          - `created_at` string, date-time, required
          - `updated_at` string, date-time, required
          - `step_results` IntegrationHealthCheckStepResult[], nullable
            - `id` string, required
            - `run_id` string, required
            - `sequence` integer, required
            - `step` string, required
            - `passed` boolean, required
            - `failure_code` string, nullable
            - `details` unknown, required
            - `created_at` string, date-time, required
            - `run` IntegrationHealthCheckRun — recursive
        - `chat_workspace_scans` ChatWorkspaceScan[], nullable
          - `id` string, required
          - `organization_id` string, required
          - `integration_id` string, required
          - `started_by_user_id` string, required
          - `status` string, required
          - `stage` string, required
          - `deadline_at` string, date-time, required
          - `inventory_refreshed_at` string, date-time, nullable
          - `progress` unknown, required
          - `error_code` string, nullable
          - `error_message` string, nullable
          - `result` unknown, required
          - `revision` integer, required
          - `created_at` string, date-time, required
          - `updated_at` string, date-time, required
          - `completed_at` string, date-time, nullable
          - `organization` PrismaModelsOrganization — recursive
          - `integration` IntegrationInstance — recursive
          - `started_by_user` PrismaModelsUser — Represents a User record
            - `id` string, required
            - `sub` string, nullable
            - `email` string, required
            - `created_at` string, date-time, nullable
            - `organization_id` string, required
            - `slack_user_id` string, nullable
            - `teams_user_id` string, nullable
            - `archived_at` string, date-time, nullable
            - `user_type` 'default' | 'system' | 'synthetic', required
            - `name` string, nullable
            - `default_timezone` string, nullable
            - `time_representation` string, nullable
            - `principal_id` string, nullable
            - `organization` PrismaModelsOrganization — recursive
            - `principal` Principal — Represents a Principal record
              - …
            - `sessions` Session[], nullable
              - …
            - `evaluations` Evaluation[], nullable
              - …
            - `user_token_caches` UserTokenCache[], nullable
              - …
            - `auth_issuer_sessions` AuthIssuerSession[], nullable
              - …
            - `auth_routing_transactions` AuthRoutingTransaction[], nullable
              - …
            - `manual_ground_truths_created` ManualGroundTruth[], nullable
              - …
            - `manual_ground_truths_updated` ManualGroundTruth[], nullable
              - …
            - `manual_evaluations_created` ManualEvaluation[], nullable
              - …
            - `manual_evaluations_updated` ManualEvaluation[], nullable
              - …
            - `memory_categories` MemoryCategory[], nullable
              - …
            - `session_feedback` SessionFeedback[], nullable
              - …
            - `user_memories` UserMemory[], nullable
              - …
            - `user_agent_instruction` UserAgentInstruction — Represents a UserAgentInstruction record
              - …
            - `platform_user_roles` PlatformUserRole[], nullable
              - …
            - `organization_user_roles` OrganizationUserRole[], nullable
              - …
            - `user_session_permissions` UserSessionPermission[], nullable
              - …
            - `chat_messages` ChatMessage[], nullable
              - …
            - `message_feedback` MessageFeedback[], nullable
              - …
            - `chat_platform_users` ChatPlatformUser[], nullable
              - …
            - `slack_triggers_created` SlackSelfServeTrigger[], nullable
              - …
            - `slack_triggers_deleted` SlackSelfServeTrigger[], nullable
              - …
            - `trigger_rules_created` TriggerRule[], nullable
              - …
            - `trigger_rules_archived` TriggerRule[], nullable
              - …
            - `knowledge_base_entries` KnowledgeBase[], nullable
              - …
            - `invites_sent` UserInvite[], nullable
              - …
            - `alert_summary_schedules_created` AlertSummarySchedule[], nullable
              - …
            - `alert_summary_schedules_modified` AlertSummarySchedule[], nullable
              - …
            - `traversal_api_keys` TraversalApiKey[], nullable
              - …
            - `ab_test_questions` ABTestQuestion[], nullable
              - …
            - `engagement_events` EngagementEvent[], nullable
              - …
            - `session_pins` SessionPin[], nullable
              - …
            - `resident_agent_workflow_pins` ResidentAgentWorkflowPin[], nullable
              - …
            - `owned_resident_agent_workflows` ResidentAgentWorkflow[], nullable
              - …
            - `resident_agent_schedules_created` ResidentAgentSchedule[], nullable
              - …
            - `filesystem_entries_created` FilesystemEntry[], nullable
              - …
            - `system_prompt_entries_targeted` SystemPromptEntry[], nullable
              - …
            - `system_prompt_entries_created` SystemPromptEntry[], nullable
              - …
            - `system_prompt_entries_updated` SystemPromptEntry[], nullable
              - …
            - `agent_knowledge_commits` AgentKnowledgeCommit[], nullable
              - …
            - `chat_workspace_scans_started` ChatWorkspaceScan[], nullable
      - `users` PrismaModelsUser[], nullable
        - `id` string, required
        - `sub` string, nullable
        - `email` string, required
        - `created_at` string, date-time, nullable
        - `organization_id` string, required
        - `slack_user_id` string, nullable
        - `teams_user_id` string, nullable
        - `archived_at` string, date-time, nullable
        - `user_type` 'default' | 'system' | 'synthetic', required
        - `name` string, nullable
        - `default_timezone` string, nullable
        - `time_representation` string, nullable
        - `principal_id` string, nullable
        - `organization` PrismaModelsOrganization — recursive
        - `principal` Principal — Represents a Principal record
          - `id` string, required
          - `organization_id` string, required
          - `principal_type` string, required
          - `created_at` string, date-time, required
          - `archived_at` string, date-time, nullable
          - `organization` PrismaModelsOrganization — recursive
          - `users` PrismaModelsUser[], nullable
          - `service_accounts` ServiceAccount[], nullable
            - `id` string, required
            - `principal_id` string, required
            - `organization_id` string, required
            - `name` string, required
            - `description` string, nullable
            - `created_by_principal_id` string, required
            - `last_modified_by_principal_id` string, required
            - `created_at` string, date-time, required
            - `updated_at` string, date-time, required
            - `disabled_at` string, date-time, nullable
            - `principal` Principal — recursive
            - `created_by_principal` Principal — recursive
            - `last_modified_by_principal` Principal — recursive
          - `service_accounts_created` ServiceAccount[], nullable
            - `id` string, required
            - `principal_id` string, required
            - `organization_id` string, required
            - `name` string, required
            - `description` string, nullable
            - `created_by_principal_id` string, required
            - `last_modified_by_principal_id` string, required
            - `created_at` string, date-time, required
            - `updated_at` string, date-time, required
            - `disabled_at` string, date-time, nullable
            - `principal` Principal — recursive
            - `created_by_principal` Principal — recursive
            - `last_modified_by_principal` Principal — recursive
          - `service_accounts_last_modified` ServiceAccount[], nullable
            - `id` string, required
            - `principal_id` string, required
            - `organization_id` string, required
            - `name` string, required
            - `description` string, nullable
            - `created_by_principal_id` string, required
            - `last_modified_by_principal_id` string, required
            - `created_at` string, date-time, required
            - `updated_at` string, date-time, required
            - `disabled_at` string, date-time, nullable
            - `principal` Principal — recursive
            - `created_by_principal` Principal — recursive
            - `last_modified_by_principal` Principal — recursive
          - `organization_user_roles` OrganizationUserRole[], nullable
            - `id` string, required
            - `user_uuid` string, required
            - `principal_id` string, nullable
            - `role` string, required
            - `organization_id` string, required
            - `granted_by` string, nullable
            - `granted_at` string, date-time, required
            - `expires_at` string, date-time, nullable
            - `user` PrismaModelsUser — recursive
            - `principal` Principal — recursive
            - `organization` PrismaModelsOrganization — recursive
          - `platform_user_roles` PlatformUserRole[], nullable
            - `id` string, required
            - `user_uuid` string, required
            - `principal_id` string, nullable
            - `role` string, required
            - `granted_by` string, nullable
            - `granted_at` string, date-time, required
            - `expires_at` string, date-time, nullable
            - `user` PrismaModelsUser — recursive
            - `principal` Principal — recursive
          - `traversal_api_keys` TraversalApiKey[], nullable
            - `id` string, required
            - `organization_id` string, required
            - `organization` PrismaModelsOrganization — recursive
            - `user_id` string, required
            - `user` PrismaModelsUser — recursive
            - `principal_id` string, nullable
            - `principal` Principal — recursive
            - `created_by_principal_id` string, nullable
            - `last_used_at` string, date-time, nullable
            - `revoked_at` string, date-time, nullable
            - `revoked_by_principal_id` string, nullable
            - `name` string, required
            - `prefix` string, required
            - `hashed_secret` string, required
            - `created_at` string, date-time, required
          - `sessions` Session[], nullable
            - `session_id` string, required
            - `user_uuid` string, nullable
            - `principal_id` string, nullable
            - `created_at` string, date-time, nullable
            - `updated_at` string, date-time, nullable
            - `archived_at` string, date-time, nullable
            - `incident_description` string, nullable
            - `incident_timezone` string, nullable
            - `incident_time` string, date-time, nullable
            - `organization_id` string, nullable
            - `original_session_id` string, nullable
            - `status` string, required
            - `failure_reason` string, nullable
            - `incident_id` string, nullable
            - `session_title` string, nullable
            - `mode` string, nullable
            - `trigger_type` string, nullable
            - `estimated_cost_usd` number, nullable
            - `parent_session_id` string, nullable
            - `origin_slack_channel_id` string, nullable
            - `execution_origin` 'user' | 'session_runner' | 'load_test' | 'ab_test' | 'config_optimizer' | 'product_flow_e2e', required
            - `citation_in_db` boolean, required
            - `user` PrismaModelsUser — recursive
            - `principal` Principal — recursive
            - `parent_session` Session — recursive
            - `child_sessions` Session[], nullable
            - `llm_calls` LlmCalls[], nullable
              - …
            - `chat_messages` ChatMessage[], nullable
              - …
            - `investigation_messages` InvestigationMessage[], nullable
              - …
            - `organization_session_permission` OrganizationSessionPermission[], nullable
              - …
            - `user_session_permission` UserSessionPermission[], nullable
              - …
            - `MessageFeedback` MessageFeedback[], nullable
              - …
            - `investigation_output_type` InvestigationOutputType[], nullable
              - …
            - `SlackSessionParentThreadMapping` PrismaModelsSlackSessionParentThreadMapping[], nullable
              - …
            - `ChatPlatformSessionThreadMapping` ChatPlatformSessionThreadMapping[], nullable
              - …
            - `incident` Incident — recursive
            - `evaluations` Evaluation[], nullable
              - …
            - `organization` PrismaModelsOrganization — recursive
            - `slackbot_investigation_modal` SlackbotInvestigationModal[], nullable
              - …
            - `alerts` Alert[], nullable
              - …
            - `alert_events` AlertEvent[], nullable
              - …
            - `run_set_id` string, nullable
            - `run_set` RunSet — Represents a RunSet record
              - …
            - `session_runs` SessionRun[], nullable
              - …
            - `manual_evaluation` ManualEvaluation — Represents a ManualEvaluation record
              - …
            - `agent_memories` AgentMemory[], nullable
              - …
            - `session_feedback` SessionFeedback[], nullable
              - …
            - `agent_messages` AgentMessage[], nullable
              - …
            - `proactive_monitoring_session` ProactiveMonitoringSession — Represents a ProactiveMonitoringSession record
              - …
            - `background_tasks` BackgroundTask[], nullable
              - …
            - `alert_story` AlertStory — Represents a AlertStory record
              - …
            - `engagement_events` EngagementEvent[], nullable
              - …
            - `session_pins` SessionPin[], nullable
              - …
            - `evidence_citations` EvidenceCitation[], nullable
              - …
            - `tool_latency_observations` ToolLatencyObservation[], nullable
              - …
            - `trajectory` Trajectory — Represents a Trajectory record
              - …
            - `knowledge_version_commit_id` string, nullable
            - `knowledge_version_pin_kind` string, nullable
            - `knowledge_version_pinned_at` string, date-time, nullable
            - `knowledge_version_commit` AgentKnowledgeCommit — Represents a AgentKnowledgeCommit record
              - …
            - `knowledge_originated_commits` AgentKnowledgeCommit[], nullable
              - …
          - `changes` Change[], nullable
            - `id` integer, required
            - `change_type` 'integrations' | 'unknown' | 'api_keys' | 'users' | 'auth' | 'slack_channel_enrollments' | 'sessions' | 'user_agent_instructions' | 'resident_agent_templates' | 'webhook_connections', required
            - `change_action` 'create' | 'update' | 'delete' | 'unknown' | 'login' | 'logout' | 'invite_sent' | 'invite_accepted' | 'role_granted' | 'role_revoked' | 'archive', required
            - `organization_id` string, nullable
            - `user_id` string, nullable
            - `principal_id` string, nullable
            - `api_key_id` string, nullable
            - `authentication_method` string, nullable
            - `object_id` string, nullable
            - `change` unknown, required
            - `time` string, date-time, required
            - `principal` Principal — recursive
        - `sessions` Session[], nullable
          - `session_id` string, required
          - `user_uuid` string, nullable
          - `principal_id` string, nullable
          - `created_at` string, date-time, nullable
          - `updated_at` string, date-time, nullable
          - `archived_at` string, date-time, nullable
          - `incident_description` string, nullable
          - `incident_timezone` string, nullable
          - `incident_time` string, date-time, nullable
          - `organization_id` string, nullable
          - `original_session_id` string, nullable
          - `status` string, required
          - `failure_reason` string, nullable
          - `incident_id` string, nullable
          - `session_title` string, nullable
          - `mode` string, nullable
          - `trigger_type` string, nullable
          - `estimated_cost_usd` number, nullable
          - `parent_session_id` string, nullable
          - `origin_slack_channel_id` string, nullable
          - `execution_origin` 'user' | 'session_runner' | 'load_test' | 'ab_test' | 'config_optimizer' | 'product_flow_e2e', required
          - `citation_in_db` boolean, required
          - `user` PrismaModelsUser — recursive
          - `principal` Principal — Represents a Principal record
            - `id` string, required
            - `organization_id` string, required
            - `principal_type` string, required
            - `created_at` string, date-time, required
            - `archived_at` string, date-time, nullable
            - `organization` PrismaModelsOrganization — recursive
            - `users` PrismaModelsUser[], nullable
            - `service_accounts` ServiceAccount[], nullable
              - …
            - `service_accounts_created` ServiceAccount[], nullable
              - …
            - `service_accounts_last_modified` ServiceAccount[], nullable
              - …
            - `organization_user_roles` OrganizationUserRole[], nullable
              - …
            - `platform_user_roles` PlatformUserRole[], nullable
              - …
            - `traversal_api_keys` TraversalApiKey[], nullable
              - …
            - `sessions` Session[], nullable
            - `changes` Change[], nullable
              - …
          - `parent_session` Session — recursive
          - `child_sessions` Session[], nullable
          - `llm_calls` LlmCalls[], nullable
            - `id` string, required
            - `created_at` string, date-time, required
            - `start_time` string, date-time, required
            - `duration_ms` integer, nullable
            - `session_id` string, nullable
            - `organization_id` string, nullable
            - `task_type` string, nullable
            - `model` string, nullable
            - `temperature` number, nullable
            - `max_tokens` integer, nullable
            - `origin_class` string, nullable
            - `organizations` PrismaModelsOrganization — recursive
            - `sessions` Session — recursive
            - `llm_messages` LlmMessages[], nullable
              - …
            - `llm_usage` LlmUsage — Represents a LlmUsage record
              - …
          - `chat_messages` ChatMessage[], nullable
            - `id` integer, required
            - `session_id` string, nullable
            - `chat_id` string, nullable
            - `message_type` string, nullable
            - `content` string, nullable
            - `content_type` string, nullable
            - `thinking_mode` string, nullable
            - `rca_content` string, nullable
            - `chat_content` string, nullable
            - `chat_alert_filters_content` string, nullable
            - `input` string, nullable
            - `full_output` string, nullable
            - `parsed_output` string, nullable
            - `created_at` string, date-time, nullable
            - `ordered_at` string, date-time, required
            - `user_uuid` string, nullable
            - `services_context` unknown
            - `relevant_context_ids` unknown
            - `artifacts` unknown
            - `context_items` unknown
            - `slack_message_id` string, nullable
            - `slack_message` PrismaModelsSlackChatMessage — Represents a SlackChatMessage record
              - …
            - `chatbot_message_id` string, nullable
            - `chatbot_message` ChatbotMessage — Represents a ChatbotMessage record
              - …
            - `session` Session — recursive
            - `user` PrismaModelsUser — recursive
            - `triage_content` string, nullable
            - `context_item_reports` PrismaModelsContextItemReport[], nullable
              - …
            - `chat_message_files` PrismaModelsChatMessageFile[], nullable
              - …
            - `slackbot_investigation_modal` SlackbotInvestigationModal[], nullable
              - …
            - `background_tasks` BackgroundTask[], nullable
              - …
          - `investigation_messages` InvestigationMessage[], nullable
            - `id` integer, required
            - `session_id` string, required
            - `chat_id` string, required
            - `source_tool_name` string, nullable
            - `content` string, nullable
            - `input` string, nullable
            - `created_at` string, date-time, nullable
            - `ordered_at` string, date-time, required
            - `artifacts` unknown
            - `session` Session — recursive
          - `organization_session_permission` OrganizationSessionPermission[], nullable
            - `session_id` string, required
            - `organization_id` string, required
            - `access_level` string, required
            - `created_at` string, date-time, required
            - `updated_at` string, date-time, required
            - `session` Session — recursive
          - `user_session_permission` UserSessionPermission[], nullable
            - `session_id` string, required
            - `user_uuid` string, required
            - `access_level` string, required
            - `created_at` string, date-time, required
            - `updated_at` string, date-time, required
            - `session` Session — recursive
            - `user` PrismaModelsUser — recursive
          - `MessageFeedback` MessageFeedback[], nullable
            - `feedback_id` integer, required
            - `session_id` string, required
            - `chat_id` string, required
            - `feedback_message` string, nullable
            - `feedback_comment` string, nullable
            - `feedback_source` string, nullable
            - `rating` integer, nullable
            - `candidate_issue_index` integer, nullable
            - `created_at` string, date-time, nullable
            - `user_uuid` string, nullable
            - `session` Session — recursive
            - `user` PrismaModelsUser — recursive
          - `investigation_output_type` InvestigationOutputType[], nullable
            - `id` string, required
            - `session` Session — recursive
            - `session_id` string, required
            - `output_type` string, required
            - `created_at` string, date-time, required
          - `SlackSessionParentThreadMapping` PrismaModelsSlackSessionParentThreadMapping[], nullable
            - `session_id` string, required
            - `parent_thread_ts` string, required
            - `session` Session — recursive
          - `ChatPlatformSessionThreadMapping` ChatPlatformSessionThreadMapping[], nullable
            - `session_id` string, required
            - `platform` string, required
            - `integration_id` string, nullable
            - `channel_id` string, required
            - `parent_thread_id` string, required
            - `session` Session — recursive
            - `integration` IntegrationInstance — Represents a IntegrationInstance record
              - …
          - `incident` Incident — recursive
          - `evaluations` Evaluation[], nullable
            - `id` string, required
            - `created_at` string, date-time, required
            - `incident_id` string, nullable
            - `session_id` string, nullable
            - `result` unknown
            - `score` number, nullable
            - `full_report` unknown, required
            - `error` string, nullable
            - `evaluator_class` string, nullable
            - `author_uuid` string, nullable
            - `origin` 'web_ui' | 'auto_eval' | 'local'
            - `origin_endpoint` 'evaluate_session' | 'evaluate_incident'
            - `endpoint_args` unknown
            - `duration` number, nullable
            - `full_report_url` string, nullable
            - `incident` Incident — recursive
            - `session` Session — recursive
            - `author` PrismaModelsUser — recursive
            - `incident_ground_truth_sources` IncidentGroundtruthSource[], nullable
              - …
            - `missed_ground_truth_items` PrismaModelsMissedGroundTruthItem[], nullable
              - …
          - `organization` PrismaModelsOrganization — recursive
          - `slackbot_investigation_modal` SlackbotInvestigationModal[], nullable
            - `id` string, required
            - `investigation_id` string, required
            - `chat_id` string, required
            - `candidate_issue_idx` integer, required
            - `modal_data` unknown
            - `session` Session — recursive
            - `chat` ChatMessage — Represents a ChatMessage record
              - …
          - `alerts` Alert[], nullable
            - `id` string, required
            - `source_id` string, required
            - `alert_name` string, required
            - `alert_description` string, nullable
            - `impact_score` number, nullable
            - `anomaly_status` string, nullable
            - `anomaly_status_explanation_stats` unknown
            - `initial_fire` string, date-time, nullable
            - `last_fire` string, date-time, nullable
            - `alert_timezone` string, nullable
            - `alert_owner` string, nullable
            - `source` string, nullable
            - `source_link` string, nullable
            - `tags` unknown, required
            - `session_id` string, nullable
            - `organization_id` string, required
            - `services_context` unknown
            - `context_items` unknown
            - `num_recent_deployments` integer, required
            - `is_escalated` boolean, nullable
            - `created_at` string, date-time, required
            - `updated_at` string, date-time, required
            - `archived_at` string, date-time, nullable
            - `is_active` boolean, nullable
            - `entity_type` string, nullable
            - `session` Session — recursive
            - `organization` PrismaModelsOrganization — recursive
          - `alert_events` AlertEvent[], nullable
            - `id` string, required
            - `alert_instance_id` string, nullable
            - `alert_name` string, nullable
            - `description` string, nullable
            - `fired_at` string, date-time, nullable
            - `context_items` unknown
            - `anomaly_status` string, nullable
            - `anomaly_score` number, nullable
            - `trigger_decision_source` string, nullable
            - `trigger_decision` string, nullable
            - `severity` string, nullable
            - `alert_state` string, nullable
            - `instance_hash` string, nullable
            - `organization_id` string, nullable
            - `session_id` string, nullable
            - `source_integration` string, nullable
            - `external_event_id` string, nullable
            - `external_connections` unknown
            - `monitor_id` string, nullable
            - `tags` unknown
            - `instance_group_variables` string, nullable
            - `total_count_including_renotify` integer, nullable
            - `last_renotified_at` string, date-time, nullable
            - `anomaly_detected_at` string, date-time, nullable
            - `alert_investigation_results` unknown
            - `monitor_name` string, nullable
            - `is_escalated` boolean, required
            - `created_at` string, date-time, required
            - `updated_at` string, date-time, required
            - `alert_instance` AlertInstance — Represents a AlertInstance record
              - …
            - `session` Session — recursive
            - `alert_event_slack_thread_associations` AlertEventSlackThreadAssociation[], nullable
              - …
          - `run_set_id` string, nullable
          - `run_set` RunSet — Represents a RunSet record
            - `id` string, required
            - `name` string, nullable
            - `description` string, nullable
            - `image_url` string, nullable
            - `runs_per_incident` integer, required
            - `target_incident_ids` string[], required
            - `created_at` string, date-time, required
            - `created_by` string, nullable
            - `started_at` string, date-time, nullable
            - `completed_at` string, date-time, nullable
            - `status` string, nullable
            - `commit_sha` string, nullable
            - `code_bundle_uri` string, nullable
            - `sessions` Session[], nullable
            - `ab_tests_a` ABTest[], nullable
              - …
            - `ab_tests_b` ABTest[], nullable
              - …
            - `load_tests` LoadTest[], nullable
              - …
            - `session_runs` SessionRun[], nullable
              - …
          - `session_runs` SessionRun[], nullable
            - `id` string, required
            - `run_set_id` string, nullable
            - `session_id` string, nullable
            - `variant_id` string, required
            - `incident_key` string, nullable
            - `organization_id` string, nullable
            - `user_email` string, required
            - `target_index` integer, required
            - `target` unknown, required
            - `commit_sha` string, required
            - `code_bundle_uri` string, required
            - `run_number` integer, required
            - `status` string, required
            - `failure_reason` string, nullable
            - `create_time` string, date-time, required
            - `start_time` string, date-time, nullable
            - `completion_time` string, date-time, nullable
            - `run_set` RunSet — Represents a RunSet record
              - …
            - `session` Session — recursive
            - `variant` Variant — Represents a Variant record
              - …
          - `manual_evaluation` ManualEvaluation — Represents a ManualEvaluation record
            - `id` string, required
            - `session_id` string, required
            - `score` integer, required
            - `justification` string, nullable
            - `created_at` string, date-time, required
            - `updated_at` string, date-time, required
            - `created_by_uuid` string, required
            - `updated_by_uuid` string, required
            - `session` Session — recursive
            - `creator` PrismaModelsUser — recursive
            - `updater` PrismaModelsUser — recursive
          - `agent_memories` AgentMemory[], nullable
            - `id` string, required
            - `session_id` string, required
            - `user_chat_id` string, nullable
            - `investigation_index` integer, required
            - `content` string, required
            - `created_at` string, date-time, required
            - `updated_at` string, date-time, required
            - `session` Session — recursive
          - `session_feedback` SessionFeedback[], nullable
            - `id` string, required
            - `prompt_one` string, nullable
            - `prompt_two` string, nullable
            - `rating` string, nullable
            - `session_id` string, nullable
            - `save_as_memory` boolean, nullable
            - `created_at` string, date-time, required
            - `updated_at` string, date-time, required
            - `user_uuid` string, nullable
            - `session` Session — recursive
            - `user` PrismaModelsUser — recursive
          - `agent_messages` AgentMessage[], nullable
            - `id` integer, required
            - `session_id` string, required
            - `message_type` string, required
            - `message_role` string, required
            - `content` string, nullable
            - `tool_call_id` string, nullable
            - `tool_name` string, nullable
            - `tool_calls` unknown
            - `message_data` unknown, required
            - `evidence_uuids` string[], required
            - `is_compressed_out` boolean, required
            - `compression_event_id` string, nullable
            - `subagent_run_id` string, nullable
            - `run_id` string, nullable
            - `seq` integer, nullable
            - `iteration_number` integer, nullable
            - `background_tool_call_id` string, nullable
            - `background_status` string, nullable
            - `created_at` string, date-time, required
            - `ordered_at` string, date-time, required
            - `session` Session — recursive
          - `proactive_monitoring_session` ProactiveMonitoringSession — Represents a ProactiveMonitoringSession record
            - `id` string, required
            - `session_id` string, nullable
            - `organization_id` string, nullable
            - `slack_channel_id` string, nullable
            - `slack_team_id` string, nullable
            - `status` string, required
            - `created_at` string, date-time, required
            - `updated_at` string, date-time, required
            - `last_channel_cursor` string, nullable
            - `engagement_context` unknown, required
            - `initial_results_thread_ts` string, nullable
            - `temporal_workflow_id` string, nullable
            - `session` Session — recursive
            - `organization` PrismaModelsOrganization — recursive
          - `background_tasks` BackgroundTask[], nullable
            - `id` string, required
            - `session_id` string, required
            - `chat_id` string, required
            - `task_type` string, required
            - `status` string, required
            - `created_at` string, date-time, required
            - `updated_at` string, date-time, required
            - `session` Session — recursive
            - `chat_message` ChatMessage — Represents a ChatMessage record
              - …
          - `alert_story` AlertStory — Represents a AlertStory record
            - `id` string, required
            - `fingerprint` string, required
            - `organization_id` string, required
            - `organization` PrismaModelsOrganization — recursive
            - `alert_name` string, required
            - `narrative` string, required
            - `status` string, required
            - `investigation_session_id` string, nullable
            - `investigation_session` Session — recursive
            - `last_investigated_at` string, date-time, nullable
            - `created_at` string, date-time, required
            - `updated_at` string, date-time, required
            - `sample_alert_description` string, nullable
            - `sample_source` string, nullable
            - `sample_labels` unknown, required
            - `sample_slack_channel_id` string, nullable
            - `sample_slack_message_ts` string, nullable
            - `origin_slack_channel_id` string, nullable
            - `origin_slack_message_ts` string, nullable
            - `investigation_slack_channel_id` string, nullable
            - `investigation_slack_message_ts` string, nullable
            - `original_alert_payload` unknown
          - `engagement_events` EngagementEvent[], nullable
            - `id` string, required
            - `organization_id` string, required
            - `integration_id` string, nullable
            - `user_uuid` string, required
            - `platform` string, required
            - `event_kind` string, required
            - `session_id` string, nullable
            - `slack_channel_id` string, nullable
            - `channel_id` string, nullable
            - `parent_message_ts` string, nullable
            - `reaction_emoji` string, nullable
            - `feedback_message` string, nullable
            - `created_at` string, date-time, required
            - `organization` PrismaModelsOrganization — recursive
            - `integration` IntegrationInstance — Represents a IntegrationInstance record
              - …
            - `user` PrismaModelsUser — recursive
            - `session` Session — recursive
            - `slack_channel` PrismaModelsSlackChannel — Represents a SlackChannel record
              - …
          - `session_pins` SessionPin[], nullable
            - `id` string, required
            - `session_id` string, required
            - `user_uuid` string, required
            - `organization_id` string, required
            - `created_at` string, date-time, required
            - `session` Session — recursive
            - `user` PrismaModelsUser — recursive
            - `organization` PrismaModelsOrganization — recursive
          - `evidence_citations` EvidenceCitation[], nullable
            - `id` string, required
            - `session_id` string, required
            - `chat_id` string, required
            - `evidence_uuid` string, required
            - `tool_call_id` string, required
            - `kind` string, required
            - `platform_link` string, nullable
            - `title` string, nullable
            - `created_at` string, date-time, required
            - `session` Session — recursive
          - `tool_latency_observations` ToolLatencyObservation[], nullable
            - `id` string, required
            - `organization_id` string, required
            - `organization_config_name` string, required
            - `tool_name` string, required
            - `duration_seconds` number, nullable
            - `timed_out` boolean, required
            - `evidence_count` integer, required
            - `session_id` string, nullable
            - `tool_call_id` string, nullable
            - `started_at` string, date-time, required
            - `completed_at` string, date-time, required
            - `created_at` string, date-time, required
            - `organization` PrismaModelsOrganization — recursive
            - `session` Session — recursive
          - `trajectory` Trajectory — Represents a Trajectory record
            - `session_id` string, required
            - `commit_sha` string, required
            - `created_at` string, date-time, required
            - `session` Session — recursive
          - `knowledge_version_commit_id` string, nullable
          - `knowledge_version_pin_kind` string, nullable
          - `knowledge_version_pinned_at` string, date-time, nullable
          - `knowledge_version_commit` AgentKnowledgeCommit — Represents a AgentKnowledgeCommit record
            - `id` string, required
            - `organization_id` string, required
            - `commit_seq` integer, required
            - `mutation_kind` string, required
            - `creator` string, required
            - `actor_user_id` string, nullable
            - `session_id` string, nullable
            - `operation_metadata_json` unknown
            - `description` string, nullable
            - `manifest_s3_key` string, nullable
            - `manifest_s3_version_id` string, nullable
            - `manifest_sha256` string, nullable
            - `filesystem_manifest_sha256` string, nullable
            - `manifest_entry_count` integer, nullable
            - `manifest_size_bytes` integer, nullable
            - `cleanup_eligible_after` string, date-time, nullable
            - `committed_at` string, date-time, required
            - `organization` PrismaModelsOrganization — recursive
            - `actor` PrismaModelsUser — recursive
            - `session` Session — recursive
            - `pinned_sessions` Session[], nullable
            - `sandbox_assignments` SandboxAssignment[], nullable
              - …
            - `logical_head_for_orgs` AgentKnowledgeHead[], nullable
              - …
            - `serving_head_for_orgs` AgentKnowledgeHead[], nullable
              - …
            - `entries` AgentKnowledgeCommitEntry[], nullable
              - …
            - `materializations` AgentKnowledgeMaterialization[], nullable
              - …
            - `base_for_publications` AgentKnowledgePublication[], nullable
              - …
            - `result_for_publications` AgentKnowledgePublication[], nullable
              - …
          - `knowledge_originated_commits` AgentKnowledgeCommit[], nullable
            - `id` string, required
            - `organization_id` string, required
            - `commit_seq` integer, required
            - `mutation_kind` string, required
            - `creator` string, required
            - `actor_user_id` string, nullable
            - `session_id` string, nullable
            - `operation_metadata_json` unknown
            - `description` string, nullable
            - `manifest_s3_key` string, nullable
            - `manifest_s3_version_id` string, nullable
            - `manifest_sha256` string, nullable
            - `filesystem_manifest_sha256` string, nullable
            - `manifest_entry_count` integer, nullable
            - `manifest_size_bytes` integer, nullable
            - `cleanup_eligible_after` string, date-time, nullable
            - `committed_at` string, date-time, required
            - `organization` PrismaModelsOrganization — recursive
            - `actor` PrismaModelsUser — recursive
            - `session` Session — recursive
            - `pinned_sessions` Session[], nullable
            - `sandbox_assignments` SandboxAssignment[], nullable
              - …
            - `logical_head_for_orgs` AgentKnowledgeHead[], nullable
              - …
            - `serving_head_for_orgs` AgentKnowledgeHead[], nullable
              - …
            - `entries` AgentKnowledgeCommitEntry[], nullable
              - …
            - `materializations` AgentKnowledgeMaterialization[], nullable
              - …
            - `base_for_publications` AgentKnowledgePublication[], nullable
              - …
            - `result_for_publications` AgentKnowledgePublication[], nullable
              - …
        - `evaluations` Evaluation[], nullable
          - `id` string, required
          - `created_at` string, date-time, required
          - `incident_id` string, nullable
          - `session_id` string, nullable
          - `result` unknown
          - `score` number, nullable
          - `full_report` unknown, required
          - `error` string, nullable
          - `evaluator_class` string, nullable
          - `author_uuid` string, nullable
          - `origin` 'web_ui' | 'auto_eval' | 'local'
          - `origin_endpoint` 'evaluate_session' | 'evaluate_incident'
          - `endpoint_args` unknown
          - `duration` number, nullable
          - `full_report_url` string, nullable
          - `incident` Incident — recursive
          - `session` Session — Represents a Session record
            - `session_id` string, required
            - `user_uuid` string, nullable
            - `principal_id` string, nullable
            - `created_at` string, date-time, nullable
            - `updated_at` string, date-time, nullable
            - `archived_at` string, date-time, nullable
            - `incident_description` string, nullable
            - `incident_timezone` string, nullable
            - `incident_time` string, date-time, nullable
            - `organization_id` string, nullable
            - `original_session_id` string, nullable
            - `status` string, required
            - `failure_reason` string, nullable
            - `incident_id` string, nullable
            - `session_title` string, nullable
            - `mode` string, nullable
            - `trigger_type` string, nullable
            - `estimated_cost_usd` number, nullable
            - `parent_session_id` string, nullable
            - `origin_slack_channel_id` string, nullable
            - `execution_origin` 'user' | 'session_runner' | 'load_test' | 'ab_test' | 'config_optimizer' | 'product_flow_e2e', required
            - `citation_in_db` boolean, required
            - `user` PrismaModelsUser — recursive
            - `principal` Principal — Represents a Principal record
              - …
            - `parent_session` Session — recursive
            - `child_sessions` Session[], nullable
            - `llm_calls` LlmCalls[], nullable
              - …
            - `chat_messages` ChatMessage[], nullable
              - …
            - `investigation_messages` InvestigationMessage[], nullable
              - …
            - `organization_session_permission` OrganizationSessionPermission[], nullable
              - …
            - `user_session_permission` UserSessionPermission[], nullable
              - …
            - `MessageFeedback` MessageFeedback[], nullable
              - …
            - `investigation_output_type` InvestigationOutputType[], nullable
              - …
            - `SlackSessionParentThreadMapping` PrismaModelsSlackSessionParentThreadMapping[], nullable
              - …
            - `ChatPlatformSessionThreadMapping` ChatPlatformSessionThreadMapping[], nullable
              - …
            - `incident` Incident — recursive
            - `evaluations` Evaluation[], nullable
            - `organization` PrismaModelsOrganization — recursive
            - `slackbot_investigation_modal` SlackbotInvestigationModal[], nullable
              - …
            - `alerts` Alert[], nullable
              - …
            - `alert_events` AlertEvent[], nullable
              - …
            - `run_set_id` string, nullable
            - `run_set` RunSet — Represents a RunSet record
              - …
            - `session_runs` SessionRun[], nullable
              - …
            - `manual_evaluation` ManualEvaluation — Represents a ManualEvaluation record
              - …
            - `agent_memories` AgentMemory[], nullable
              - …
            - `session_feedback` SessionFeedback[], nullable
              - …
            - `agent_messages` AgentMessage[], nullable
              - …
            - `proactive_monitoring_session` ProactiveMonitoringSession — Represents a ProactiveMonitoringSession record
              - …
            - `background_tasks` BackgroundTask[], nullable
              - …
            - `alert_story` AlertStory — Represents a AlertStory record
              - …
            - `engagement_events` EngagementEvent[], nullable
              - …
            - `session_pins` SessionPin[], nullable
              - …
            - `evidence_citations` EvidenceCitation[], nullable
              - …
            - `tool_latency_observations` ToolLatencyObservation[], nullable
              - …
            - `trajectory` Trajectory — Represents a Trajectory record
              - …
            - `knowledge_version_commit_id` string, nullable
            - `knowledge_version_pin_kind` string, nullable
            - `knowledge_version_pinned_at` string, date-time, nullable
            - `knowledge_version_commit` AgentKnowledgeCommit — Represents a AgentKnowledgeCommit record
              - …
            - `knowledge_originated_commits` AgentKnowledgeCommit[], nullable
              - …
          - `author` PrismaModelsUser — recursive
          - `incident_ground_truth_sources` IncidentGroundtruthSource[], nullable
            - `incident_id` string, required
            - `source_type` string, required
            - `evaluation_id` string, nullable
            - `latest_eval_timestamp` string, date-time, nullable
            - `first_completed_at` string, date-time, nullable
            - `ignore` boolean, required
            - `ignore_reason` string, nullable
            - `incident` Incident — recursive
            - `evaluation` Evaluation — recursive
          - `missed_ground_truth_items` PrismaModelsMissedGroundTruthItem[], nullable
            - `id` string, required
            - `created_at` string, date-time, required
            - `evaluation_id` string, required
            - `item_name` string, required
            - `item_type` string, required
            - `item_kind` string, required
            - `item_data` unknown, required
            - `source` string, required
            - `context_field` string, nullable
            - `context` string, nullable
            - `description` string, nullable
            - `causal_relation` string, required
            - `causal_relation_reason` string, nullable
            - `evaluation` Evaluation — recursive
        - `user_token_caches` UserTokenCache[], nullable
          - `id` string, required
          - `user_uuid` string, required
          - `access_token` string, required
          - `id_token` string, required
          - `refresh_token` string, required
          - `refresh_token_id_hash` string, required
          - `created_at` string, date-time, required
          - `updated_at` string, date-time, required
          - `expires_at` string, date-time, required
          - `user` PrismaModelsUser — recursive
        - `auth_issuer_sessions` AuthIssuerSession[], nullable
          - `id` string, required
          - `user_uuid` string, required
          - `issuer` string, required
          - `tenant` string, required
          - `session_id` string, required
          - `access_token_hash` string, required
          - `previous_access_token_hash` string, nullable
          - `refresh_token_hash` string, required
          - `previous_refresh_token_hash` string, nullable
          - `access_token_expires_at` string, date-time, required
          - `previous_access_token_expires_at` string, date-time, nullable
          - `previous_pair_valid_until` string, date-time, nullable
          - `rotation_version` integer, required
          - `target_organization_id` string, nullable
          - `expires_at` string, date-time, required
          - `updated_at` string, date-time, required
          - `created_at` string, date-time, required
          - `user` PrismaModelsUser — recursive
          - `target_organization` PrismaModelsOrganization — recursive
        - `auth_routing_transactions` AuthRoutingTransaction[], nullable
          - `id` string, required
          - `state_hash` string, required
          - `nonce_hash` string, required
          - `code_challenge` string, required
          - `issuer` string, required
          - `tenant` string, required
          - `redirect_uri` string, required
          - `flow` string, required
          - `user_uuid` string, nullable
          - `organization_id` string, nullable
          - `expires_at` string, date-time, required
          - `consumed_at` string, date-time, nullable
          - `created_at` string, date-time, required
          - `user` PrismaModelsUser — recursive
          - `organization` PrismaModelsOrganization — recursive
        - `manual_ground_truths_created` ManualGroundTruth[], nullable
          - `id` string, required
          - `incident_id` string, required
          - `content` string, required
          - `created_at` string, date-time, required
          - `updated_at` string, date-time, required
          - `created_by_uuid` string, required
          - `updated_by_uuid` string, required
          - `incident` Incident — recursive
          - `creator` PrismaModelsUser — recursive
          - `updater` PrismaModelsUser — recursive
        - `manual_ground_truths_updated` ManualGroundTruth[], nullable
          - `id` string, required
          - `incident_id` string, required
          - `content` string, required
          - `created_at` string, date-time, required
          - `updated_at` string, date-time, required
          - `created_by_uuid` string, required
          - `updated_by_uuid` string, required
          - `incident` Incident — recursive
          - `creator` PrismaModelsUser — recursive
          - `updater` PrismaModelsUser — recursive
        - `manual_evaluations_created` ManualEvaluation[], nullable
          - `id` string, required
          - `session_id` string, required
          - `score` integer, required
          - `justification` string, nullable
          - `created_at` string, date-time, required
          - `updated_at` string, date-time, required
          - `created_by_uuid` string, required
          - `updated_by_uuid` string, required
          - `session` Session — Represents a Session record
            - `session_id` string, required
            - `user_uuid` string, nullable
            - `principal_id` string, nullable
            - `created_at` string, date-time, nullable
            - `updated_at` string, date-time, nullable
            - `archived_at` string, date-time, nullable
            - `incident_description` string, nullable
            - `incident_timezone` string, nullable
            - `incident_time` string, date-time, nullable
            - `organization_id` string, nullable
            - `original_session_id` string, nullable
            - `status` string, required
            - `failure_reason` string, nullable
            - `incident_id` string, nullable
            - `session_title` string, nullable
            - `mode` string, nullable
            - `trigger_type` string, nullable
            - `estimated_cost_usd` number, nullable
            - `parent_session_id` string, nullable
            - `origin_slack_channel_id` string, nullable
            - `execution_origin` 'user' | 'session_runner' | 'load_test' | 'ab_test' | 'config_optimizer' | 'product_flow_e2e', required
            - `citation_in_db` boolean, required
            - `user` PrismaModelsUser — recursive
            - `principal` Principal — Represents a Principal record
              - …
            - `parent_session` Session — recursive
            - `child_sessions` Session[], nullable
            - `llm_calls` LlmCalls[], nullable
              - …
            - `chat_messages` ChatMessage[], nullable
              - …
            - `investigation_messages` InvestigationMessage[], nullable
              - …
            - `organization_session_permission` OrganizationSessionPermission[], nullable
              - …
            - `user_session_permission` UserSessionPermission[], nullable
              - …
            - `MessageFeedback` MessageFeedback[], nullable
              - …
            - `investigation_output_type` InvestigationOutputType[], nullable
              - …
            - `SlackSessionParentThreadMapping` PrismaModelsSlackSessionParentThreadMapping[], nullable
              - …
            - `ChatPlatformSessionThreadMapping` ChatPlatformSessionThreadMapping[], nullable
              - …
            - `incident` Incident — recursive
            - `evaluations` Evaluation[], nullable
              - …
            - `organization` PrismaModelsOrganization — recursive
            - `slackbot_investigation_modal` SlackbotInvestigationModal[], nullable
              - …
            - `alerts` Alert[], nullable
              - …
            - `alert_events` AlertEvent[], nullable
              - …
            - `run_set_id` string, nullable
            - `run_set` RunSet — Represents a RunSet record
              - …
            - `session_runs` SessionRun[], nullable
              - …
            - `manual_evaluation` ManualEvaluation — recursive
            - `agent_memories` AgentMemory[], nullable
              - …
            - `session_feedback` SessionFeedback[], nullable
              - …
            - `agent_messages` AgentMessage[], nullable
              - …
            - `proactive_monitoring_session` ProactiveMonitoringSession — Represents a ProactiveMonitoringSession record
              - …
            - `background_tasks` BackgroundTask[], nullable
              - …
            - `alert_story` AlertStory — Represents a AlertStory record
              - …
            - `engagement_events` EngagementEvent[], nullable
              - …
            - `session_pins` SessionPin[], nullable
              - …
            - `evidence_citations` EvidenceCitation[], nullable
              - …
            - `tool_latency_observations` ToolLatencyObservation[], nullable
              - …
            - `trajectory` Trajectory — Represents a Trajectory record
              - …
            - `knowledge_version_commit_id` string, nullable
            - `knowledge_version_pin_kind` string, nullable
            - `knowledge_version_pinned_at` string, date-time, nullable
            - `knowledge_version_commit` AgentKnowledgeCommit — Represents a AgentKnowledgeCommit record
              - …
            - `knowledge_originated_commits` AgentKnowledgeCommit[], nullable
              - …
          - `creator` PrismaModelsUser — recursive
          - `updater` PrismaModelsUser — recursive
        - `manual_evaluations_updated` ManualEvaluation[], nullable
          - `id` string, required
          - `session_id` string, required
          - `score` integer, required
          - `justification` string, nullable
          - `created_at` string, date-time, required
          - `updated_at` string, date-time, required
          - `created_by_uuid` string, required
          - `updated_by_uuid` string, required
          - `session` Session — Represents a Session record
            - `session_id` string, required
            - `user_uuid` string, nullable
            - `principal_id` string, nullable
            - `created_at` string, date-time, nullable
            - `updated_at` string, date-time, nullable
            - `archived_at` string, date-time, nullable
            - `incident_description` string, nullable
            - `incident_timezone` string, nullable
            - `incident_time` string, date-time, nullable
            - `organization_id` string, nullable
            - `original_session_id` string, nullable
            - `status` string, required
            - `failure_reason` string, nullable
            - `incident_id` string, nullable
            - `session_title` string, nullable
            - `mode` string, nullable
            - `trigger_type` string, nullable
            - `estimated_cost_usd` number, nullable
            - `parent_session_id` string, nullable
            - `origin_slack_channel_id` string, nullable
            - `execution_origin` 'user' | 'session_runner' | 'load_test' | 'ab_test' | 'config_optimizer' | 'product_flow_e2e', required
            - `citation_in_db` boolean, required
            - `user` PrismaModelsUser — recursive
            - `principal` Principal — Represents a Principal record
              - …
            - `parent_session` Session — recursive
            - `child_sessions` Session[], nullable
            - `llm_calls` LlmCalls[], nullable
              - …
            - `chat_messages` ChatMessage[], nullable
              - …
            - `investigation_messages` InvestigationMessage[], nullable
              - …
            - `organization_session_permission` OrganizationSessionPermission[], nullable
              - …
            - `user_session_permission` UserSessionPermission[], nullable
              - …
            - `MessageFeedback` MessageFeedback[], nullable
              - …
            - `investigation_output_type` InvestigationOutputType[], nullable
              - …
            - `SlackSessionParentThreadMapping` PrismaModelsSlackSessionParentThreadMapping[], nullable
              - …
            - `ChatPlatformSessionThreadMapping` ChatPlatformSessionThreadMapping[], nullable
              - …
            - `incident` Incident — recursive
            - `evaluations` Evaluation[], nullable
              - …
            - `organization` PrismaModelsOrganization — recursive
            - `slackbot_investigation_modal` SlackbotInvestigationModal[], nullable
              - …
            - `alerts` Alert[], nullable
              - …
            - `alert_events` AlertEvent[], nullable
              - …
            - `run_set_id` string, nullable
            - `run_set` RunSet — Represents a RunSet record
              - …
            - `session_runs` SessionRun[], nullable
              - …
            - `manual_evaluation` ManualEvaluation — recursive
            - `agent_memories` AgentMemory[], nullable
              - …
            - `session_feedback` SessionFeedback[], nullable
              - …
            - `agent_messages` AgentMessage[], nullable
              - …
            - `proactive_monitoring_session` ProactiveMonitoringSession — Represents a ProactiveMonitoringSession record
              - …
            - `background_tasks` BackgroundTask[], nullable
              - …
            - `alert_story` AlertStory — Represents a AlertStory record
              - …
            - `engagement_events` EngagementEvent[], nullable
              - …
            - `session_pins` SessionPin[], nullable
              - …
            - `evidence_citations` EvidenceCitation[], nullable
              - …
            - `tool_latency_observations` ToolLatencyObservation[], nullable
              - …
            - `trajectory` Trajectory — Represents a Trajectory record
              - …
            - `knowledge_version_commit_id` string, nullable
            - `knowledge_version_pin_kind` string, nullable
            - `knowledge_version_pinned_at` string, date-time, nullable
            - `knowledge_version_commit` AgentKnowledgeCommit — Represents a AgentKnowledgeCommit record
              - …
            - `knowledge_originated_commits` AgentKnowledgeCommit[], nullable
              - …
          - `creator` PrismaModelsUser — recursive
          - `updater` PrismaModelsUser — recursive
        - `memory_categories` MemoryCategory[], nullable
          - `id` string, required
          - `organization_id` string, nullable
          - `label` string, nullable
          - `description` string, nullable
          - `user_uuid` string, nullable
          - `created_at` string, date-time, required
          - `updated_at` string, date-time, required
          - `archived_at` string, date-time, nullable
          - `organization` PrismaModelsOrganization — recursive
          - `user` PrismaModelsUser — recursive
          - `knowledge_base_entries` KnowledgeBase[], nullable
            - `id` string, required
            - `organization_id` string, required
            - `title` string, required
            - `content` string, required
            - `summary` string, nullable
            - `use_case` string, nullable
            - `type` string, required
            - `category_id` string, nullable
            - `tags` string[], required
            - `source_type` string, required
            - `source_id` string, nullable
            - `source_url` string, nullable
            - `is_enabled` boolean, required
            - `status` string, required
            - `flattened_content` string, nullable
            - `created_at` string, date-time, required
            - `updated_at` string, date-time, required
            - `last_synced_at` string, date-time, nullable
            - `user_uuid` string, nullable
            - `upload_origin` string, required
            - `file_id` string, nullable
            - `organization` PrismaModelsOrganization — recursive
            - `category` MemoryCategory — recursive
            - `user` PrismaModelsUser — recursive
            - `file` PrismaModelsFile — Represents a File record
              - …
            - `references_from` KnowledgeBaseReference[], nullable
              - …
        - `session_feedback` SessionFeedback[], nullable
          - `id` string, required
          - `prompt_one` string, nullable
          - `prompt_two` string, nullable
          - `rating` string, nullable
          - `session_id` string, nullable
          - `save_as_memory` boolean, nullable
          - `created_at` string, date-time, required
          - `updated_at` string, date-time, required
          - `user_uuid` string, nullable
          - `session` Session — Represents a Session record
            - `session_id` string, required
            - `user_uuid` string, nullable
            - `principal_id` string, nullable
            - `created_at` string, date-time, nullable
            - `updated_at` string, date-time, nullable
            - `archived_at` string, date-time, nullable
            - `incident_description` string, nullable
            - `incident_timezone` string, nullable
            - `incident_time` string, date-time, nullable
            - `organization_id` string, nullable
            - `original_session_id` string, nullable
            - `status` string, required
            - `failure_reason` string, nullable
            - `incident_id` string, nullable
            - `session_title` string, nullable
            - `mode` string, nullable
            - `trigger_type` string, nullable
            - `estimated_cost_usd` number, nullable
            - `parent_session_id` string, nullable
            - `origin_slack_channel_id` string, nullable
            - `execution_origin` 'user' | 'session_runner' | 'load_test' | 'ab_test' | 'config_optimizer' | 'product_flow_e2e', required
            - `citation_in_db` boolean, required
            - `user` PrismaModelsUser — recursive
- … truncated; see the full OpenAPI document linked below

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/traversal/apis/fastapi.md) · [All operations](https://skmtc.net/traversal/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/traversal/fastapi/revisions/2134ebffd1ef/schema)
