/** * This file was auto-generated by openapi-typescript. * Do not make direct changes to the file. */ export interface paths { '/investigations': { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * List investigations * @description List investigations created by the hypothesis-driven investigation engine. Pass `chatId` to find the investigation owning a chat (returns a singleton list). */ get: operations['get-investigations']; put?: never; /** * Create an investigation * @description Create a standalone investigation that runs the hypothesis-driven engine directly. */ post: operations['post-investigations']; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; '/investigations/profiles': { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * List investigation agent profiles * @description List configured prompt/tool profiles for arena runs. Nested under /investigations for gateway routing; profiles are not scoped to a specific investigation. */ get: operations['get-investigations-profiles']; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; '/investigations/{investigationId}': { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Get investigation * @description Fetch the investigation row: lifecycle state and metadata (title, summary, labels, team scope, failure details) plus its chatId for workspace navigation. For the engine's work-in-progress view, use the snapshot endpoint. */ get: operations['get-investigations-by-investigation-id']; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; '/investigations/{investigationId}/evidence': { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * List captured evidence * @description Resolve the investigation's captured panels (e.g. p3) to their query, tool, and epoch. Used to render citation hover cards in the workspace. */ get: operations['get-investigations-by-investigation-id-evidence']; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; '/investigations/{investigationId}/hypotheses/{hypothesisId}/verdict': { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; /** * Record a user verdict on a hypothesis * @description Mark a hypothesis confirmed or rejected. These statuses record a human judgment and cannot be set by the agent, which sees the verdict and may still disagree with it. Row-level owner/team/system access is enforced by the handler. Returns 410 Gone when the investigation no longer supports hypothesis verdicts. */ put: operations['put-investigations-by-investigation-id-hypotheses-by-hypothesis-id-verdict']; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; '/investigations/{investigationId}/loops': { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * List an investigation's watch loops * @description List the active watch loops on an investigation, including a re-check the investigation scheduled itself. */ get: operations['get-investigations-by-investigation-id-loops']; put?: never; /** * Create an investigation watch loop * @description Create a watch loop that re-checks an investigation on a schedule. Returns 410 Gone when the investigation no longer supports loops; to re-check it on a schedule, ask it to create an automation with POST /api/v1/assistant/chats and its chatId. */ post: operations['post-investigations-by-investigation-id-loops']; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; '/investigations/{investigationId}/loops/{loopId}': { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; post?: never; /** * Stop an investigation watch loop * @description Stop a specific watch loop by id. */ delete: operations['delete-investigations-by-investigation-id-loops-by-loop-id']; options?: never; head?: never; patch?: never; trace?: never; }; '/investigations/{investigationId}/mode': { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; /** * Update investigation mode * @description Change the autonomy mode of an investigation. Returns 410 Gone when the investigation no longer supports autonomy modes. */ put: operations['put-investigations-by-investigation-id-mode']; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; '/investigations/{investigationId}/pause': { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Pause an investigation * @deprecated * @description Deprecated. Pause a running investigation. The investigation stops and saves its state so it can be resumed. Returns 410 Gone when the investigation no longer supports pausing; cancel it instead. */ post: operations['post-investigations-by-investigation-id-pause']; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; '/investigations/{investigationId}/report/elements/{elementId}/mermaid': { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; /** * Update a Mermaid element in an investigation report * @description Persist a repaired Mermaid diagram back into the saved report spec. Anyone who can view the investigation may use this narrow repair write; row-level owner/team/system access is still enforced by the handler. Returns 410 Gone when the investigation no longer supports diagram repair. */ put: operations['put-investigations-by-investigation-id-report-elements-by-element-id-mermaid']; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; '/investigations/{investigationId}/report/elements/{elementId}/mermaid/repair': { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Repair a Mermaid element in an investigation report * @description Use the backend LLM client to repair a Mermaid diagram from the saved report spec after investigation access has been verified. The endpoint does not persist the repair; callers persist successful output through the Mermaid update endpoint. Returns 410 Gone when the investigation no longer supports diagram repair. */ post: operations['post-investigations-by-investigation-id-report-elements-by-element-id-mermaid-repair']; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; '/investigations/{investigationId}/resume': { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Resume a paused investigation * @deprecated * @description Deprecated. Resume a paused investigation by setting its state back to in_progress. Returns 410 Gone when the investigation no longer supports resuming; continue it by sending a message with POST /api/v1/assistant/chats and its chatId. */ post: operations['post-investigations-by-investigation-id-resume']; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; '/investigations/{investigationId}/share': { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; put?: never; /** * Share an investigation with Grafana teams * @description Widen the visibility of an investigation by adding one or more Grafana teams. Sharing is one-way: existing teams cannot be removed. Only the investigation's creator may share it (for system-created investigations, a user with investigations.system:read), and they need not be a member of the teams they add. */ post: operations['post-investigations-by-investigation-id-share']; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; '/investigations/{investigationId}/snapshot': { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; /** * Get engine work snapshot * @description Point-in-time snapshot of the engine's work for an investigation: session status, plan, report spec, and team scope. Named `snapshot` to avoid collision with the investigation row's `state` field. */ get: operations['get-investigations-by-investigation-id-snapshot']; put?: never; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; '/investigations/{investigationId}/teams': { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; /** * Set an investigation's team scope * @description Replace the Grafana teams that scope an investigation. This is a full update: an empty list makes the investigation private, and teams omitted from the list lose access. Only the investigation's creator may change the scope (for system-created investigations, a user with investigations.system:read), and they need not be a member of the teams they assign. */ put: operations['put-investigations-by-investigation-id-teams']; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; '/investigations/{investigationId}/tier': { parameters: { query?: never; header?: never; path?: never; cookie?: never; }; get?: never; /** * Update investigation tier * @description Replace the saved tier selection for the next and subsequent investigation turns. */ put: operations['put-investigations-by-investigation-id-tier']; post?: never; delete?: never; options?: never; head?: never; patch?: never; trace?: never; }; } export type webhooks = Record; export interface components { schemas: { AgentResponse: { /** @description Audience for the agent, usually a user or system identifier */ audience: string; /** @description Creation timestamp */ createdAt: string; /** @description Last message sent by the agent */ finalMessage?: string; /** @description Unique identifier of the agent record */ id: string; /** @description Name of the agent */ name: string; /** @description Last 256 characters of agent output as a sliding window */ outputPreview?: string; /** @description Current status of the agent */ status: string; /** @description Task input given to the agent */ task: string; /** * Format: int64 * @description Monotonic counter of total tokens used by this agent */ tokenCounter?: number; /** @description Last 30 TPS measurements for sparkline visualization */ tokensPerSecondHistory?: number[]; /** @description Last update timestamp */ updatedAt: string; }; /** @enum {string} */ AssistantTier: 'auto' | 'small' | 'medium' | 'large'; CreateLoopBody: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/CreateLoopBody.json */ readonly $schema?: string; /** * Format: int64 * @description Seconds between checks. Minimum 60. */ intervalSeconds: number; /** * Format: int64 * @description Optional: how long to keep watching before giving up, in seconds. Defaults to a safe window if omitted. */ maxDurationSeconds?: number; /** @description The instruction to re-send to the investigation each interval. */ prompt: string; }; CreateLoopResponse: { /** @description The id of the new loop */ loopId: string; /** @description Result message */ message: string; }; Error: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/Error.json */ readonly $schema?: string; details?: { [key: string]: unknown; }; hint?: string; message: string; name: string; retryable?: boolean; /** Format: int64 */ statusCode?: number; traceId?: string; typeUri?: string; }; EvidenceItem: { /** * Format: int64 * @description Epoch (LLM turn) at capture time */ epoch: number; /** @description Panel ID and citation key, e.g. p3 */ panelId: string; /** @description Human-readable query summary */ query: string; /** @description Capture timestamp */ time: string; /** @description Short tool name (prometheus, loki, tempo, pyroscope) */ tool: string; /** @description Tool call ID that produced this panel */ toolUseId?: string; }; ExternalSource: { chat_id?: string; investigation_id: string; panel_refs?: string[]; }; GetLodestoneEvidenceResponse: { /** @description Captured panels resolvable by panel ID */ evidence: components['schemas']['EvidenceItem'][]; }; GetLodestoneStateResponse: { /** @description IDs of rules applied during the investigation. Retrieve details with GET /rules/{id}, which returns 404 for rules the caller cannot access */ appliedRuleIds?: string[]; /** @description IDs of skills read during the investigation. Retrieve details with GET /skills/{id}, which returns 404 for skills the caller cannot access */ appliedSkillIds?: string[]; /** @description Whether the caller may send anything to this investigation, either a turn or an ephemeral question. False for read-only viewers, such as callers who reach it only through investigations.all:read */ canSend: boolean; /** @description User ID of the session owner */ createdBy: string; /** * Format: int64 * @description Current epoch (LLM turn counter), 0 if no turns have completed. Absent when the investigation does not count epochs */ epoch?: number; /** @description Investigation ID to use for actions such as submitting feedback */ investigationId: string; /** @description Investigation autonomy mode (low, medium, high). Absent when the investigation has no autonomy mode */ mode?: string; /** @description Investigation plan document, null if not yet created */ plan?: components['schemas']['Plan']; /** @description Saved report source */ reportContent?: string; /** @description Whether report generation is in progress */ reportPending: boolean; /** @description Structured report content used to render the investigation report */ reportSpec?: components['schemas']['ReportSpec']; /** @description Verdicts people recorded on the report's Hypotheses items. Only Investigate investigations have them; Lodestone verdicts are on the plan */ reportVerdicts?: components['schemas']['ReportVerdict'][]; /** @description Concrete tier used for the last resolved turn; may differ from the next-turn selection */ resolvedTier?: components['schemas']['AssistantTier']; /** @description Session lifecycle status (idle, active, pause) */ sessionStatus: string; /** @description Normalized Grafana team names this investigation is scoped to (empty/absent for private investigations) */ teamNames?: string[]; /** @description Selected investigation tier */ tier?: components['schemas']['AssistantTier']; }; Hypothesis: { dimension: string; evidence?: string; external_sources?: components['schemas']['ExternalSource'][]; id: string; panel_refs?: string[]; status?: string; text: string; transitions?: components['schemas']['Transition'][]; }; InvestigationSource: { chatId?: string; prNotificationTarget?: components['schemas']['PRNotificationTarget']; prompt?: string; type: string; userId?: string; value?: string; }; InvestigationSummary: { /** * Format: int64 * @description Number of active loops (scheduled re-checks) on this investigation; >0 means it is looping */ activeLoopCount?: number; /** @description List of agents involved */ agents?: components['schemas']['AgentResponse'][]; /** @description Associated chat ID */ chatId: string; /** @description Quality of completed investigation: normal or degraded */ completionQuality?: string; /** * Format: double * @description Deprecated: Confidence score (always null) */ confidence?: number; /** @description Creation timestamp */ createdAt: string; /** @description Why the investigation was marked degraded */ degradedReason?: string; /** @description Description of the investigation */ description: string; /** @description Set when you moved the backing chat to Done and nothing brought it back since; automatic Done rules do not set it. Set only by list endpoints */ done?: boolean; /** @description When you moved the backing chat to Done; set with done */ doneAt?: string; /** @description Unique identifier of the investigation */ id: string; /** @description Set while the investigation is in progress with a queued, running or suspended task, a turn of its chat is queued or running, or a sub-agent of its chat is still working. An Investigate extension investigation runs only while its chat's turn or a sub-agent does */ isRunning?: boolean; /** @description Metadata labels */ labels?: { [key: string]: string; }; /** @description When a message was last saved in the backing chat */ lastActivityAt?: string; /** @description User ID of the backing chat owner (determines archive permission) */ ownerUserId?: string; /** @description Deprecated: Todo progress breakdown (always null) */ progress?: components['schemas']['TodoProgress']; /** * @description Your shelf for the backing chat, by the same rules as the workspace feed, including its automatic Done rules. Set only by list endpoints * @enum {string} */ shelf?: 'active' | 'done'; /** @description Source of the investigation */ source?: components['schemas']['InvestigationSource']; /** @description Current state of the investigation */ state: string; /** @description Title of the investigation */ title: string; /** * Format: int64 * @description Total tokens used */ tokensUsed?: number; /** @description Last update timestamp */ updatedAt: string; /** @description Investigation runner variant used (empty for legacy investigations) */ variant?: string; /** * @description Set while the backing chat's current turn is parked and not running: approval waits for a tool approval, browser waits for a browser to run a tool * @enum {string} */ waitingFor?: 'approval' | 'browser'; /** @description Whether the backing chat waits for a reply from the user */ waitingForUser?: boolean; /** @description When the backing chat started waiting for the user; set with waitingForUser */ waitingSince?: string; }; InvestigationSummaryResponse: { /** @description List of investigation summaries */ investigations: components['schemas']['InvestigationSummary'][]; /** * Format: int64 * @description Total number of investigations */ total: number; }; ListLoopsResponse: { /** @description The active loops on this investigation */ loops: components['schemas']['LoopSummary'][]; /** @description Loops are paused by the tenant settings; scheduled checks do not run until re-enabled */ paused: boolean; }; LodestoneCreateBody: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/LodestoneCreateBody.json */ readonly $schema?: string; /** @description Optional agent profile ID. Empty uses the stack's default profile; GET /investigations/profiles lists the profiles. */ agentProfileId?: string; /** @description The prompt/instruction for the investigation; must contain non-whitespace text */ instruction: string; /** @description Optional metadata labels for the investigation */ labels?: { [key: string]: string; }; /** @description Optional originating assistant chat ID for Slack thread attachment */ originatingChatId?: string; /** @description Optional Grafana team names to scope access to this investigation */ teamNames?: string[]; /** @description Optional tier; omission selects Auto for new investigations */ tier?: components['schemas']['AssistantTier']; /** @description Optional title (auto-derived from instruction if omitted) */ title?: string; }; LodestoneCreateResponse: { /** @description Agent profile used for the investigation */ agentProfileId?: string; /** @description Chat ID for the investigation session */ chatId: string; /** @description ID of the created investigation */ investigationId: string; }; LodestoneProfileResponse: { /** @description Whether this profile is used by default */ default: boolean; /** @description Profile description */ description?: string; /** @description Human-readable profile name */ displayName: string; /** @description Stable hash of effective prompt, tools, and max steps */ hash: string; /** @description Profile identifier used as agentProfileId */ id: string; /** * Format: int64 * @description Maximum investigation steps for this profile */ maxSteps: number; /** @description Resolved investigation tool names */ toolNames: string[]; }; LodestoneProfilesResponse: { /** @description Available investigation agent profiles */ profiles: components['schemas']['LodestoneProfileResponse'][]; }; LodestoneShareBody: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/LodestoneShareBody.json */ readonly $schema?: string; /** @description Grafana team names to add to the investigation scope. Sharing is one-way: existing teams cannot be removed by this endpoint. */ teamNames: string[]; }; LodestoneShareResponse: { /** @description Team names that were newly added by this call (empty when the request was a no-op) */ addedTeamNames: string[]; /** @description ID of the investigation */ investigationId: string; /** @description All team names now scoping this investigation (normalized, lowercased) */ teamNames: string[]; }; LoopSummary: { /** @description Duration deadline (RFC3339); the automation may stop earlier when resolved or its check limit is reached */ endsAt?: string; /** @description Loop ID */ id: string; /** * Format: int64 * @description Seconds between checks */ intervalSeconds: number; /** * Format: int64 * @description Checks started so far */ iterations: number; /** * Format: int64 * @description Maximum number of scheduled checks before stopping */ maxIterations?: number; /** @description When the loop next fires (RFC3339) */ nextWake?: string; /** @description The instruction re-sent each interval */ prompt: string; }; PRNotificationTarget: { alertGroupId: string; }; PauseLodestoneResponse: { /** @description Pause status message */ message: string; }; Plan: { hypotheses?: components['schemas']['Hypothesis'][]; objective: string; /** Format: int64 */ version: number; }; RepairLodestoneReportMermaidResponse: { /** @description Repaired Mermaid source, or the original source when no safe repair was produced */ content: string; /** @description Best-effort reason when no repair was produced */ error?: string; /** @description Whether the LLM returned a changed Mermaid diagram */ fixed: boolean; }; RepairLodestoneReportMermaidV2RequestBody: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/RepairLodestoneReportMermaidV2RequestBody.json */ readonly $schema?: string; /** @description Mermaid parser error observed by the renderer */ errorMessage?: string; }; ReportElement: { children?: string[]; props: { [key: string]: unknown; }; type: string; }; ReportSpec: { elements: { [key: string]: components['schemas']['ReportElement']; }; root: string; }; ReportVerdict: { /** @description ID of the Hypotheses item */ hypothesisId: string; /** * @description Whether the person said it was the cause * @enum {string} */ verdict: 'confirmed' | 'rejected'; }; ResolveLodestoneInvestigationResponse: { /** @description Workspace chat ID for the investigation session */ chatId: string; /** @description Quality of completed investigation: normal or degraded */ completionQuality?: string; /** @description Creation timestamp (RFC3339) */ createdAt?: string; /** @description User ID of the creator, or 'system' for system-created investigations */ createdBy?: string; /** @description Why the investigation was marked degraded */ degradedReason?: string; /** @description Description of what is being investigated */ description?: string; /** @description Detailed error information when the investigation failed (truncated) */ errorMessage?: string; /** @description High-level category for investigation failure */ failureReason?: string; /** @description ID of the investigation */ investigationId: string; /** @description Metadata labels */ labels?: { [key: string]: string; }; /** @description Most recent engine final state (e.g. completed, paused, max_steps) */ lastFinalState?: string; /** @description Origin of the investigation */ source?: components['schemas']['InvestigationSource']; /** @description Current lifecycle state of the investigation */ state?: string; /** @description Rolling summary of investigation progress and findings */ summary?: string; /** @description Grafana teams that scope visibility of this investigation */ teamNames?: string[]; /** @description Title of the investigation */ title?: string; /** @description Last update timestamp (RFC3339) */ updatedAt?: string; /** @description Investigation runner variant: assistant or assistant:; empty for legacy investigations */ variant?: string; }; ResponseBodyCreateLoopResponse: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/ResponseBodyCreateLoopResponse.json */ readonly $schema?: string; data: components['schemas']['CreateLoopResponse']; status: string; }; ResponseBodyGetLodestoneEvidenceResponse: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/ResponseBodyGetLodestoneEvidenceResponse.json */ readonly $schema?: string; data: components['schemas']['GetLodestoneEvidenceResponse']; status: string; }; ResponseBodyGetLodestoneStateResponse: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/ResponseBodyGetLodestoneStateResponse.json */ readonly $schema?: string; data: components['schemas']['GetLodestoneStateResponse']; status: string; }; ResponseBodyInvestigationSummaryResponse: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/ResponseBodyInvestigationSummaryResponse.json */ readonly $schema?: string; data: components['schemas']['InvestigationSummaryResponse']; status: string; }; ResponseBodyListLoopsResponse: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/ResponseBodyListLoopsResponse.json */ readonly $schema?: string; data: components['schemas']['ListLoopsResponse']; status: string; }; ResponseBodyLodestoneCreateResponse: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/ResponseBodyLodestoneCreateResponse.json */ readonly $schema?: string; data: components['schemas']['LodestoneCreateResponse']; status: string; }; ResponseBodyLodestoneProfilesResponse: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/ResponseBodyLodestoneProfilesResponse.json */ readonly $schema?: string; data: components['schemas']['LodestoneProfilesResponse']; status: string; }; ResponseBodyLodestoneShareResponse: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/ResponseBodyLodestoneShareResponse.json */ readonly $schema?: string; data: components['schemas']['LodestoneShareResponse']; status: string; }; ResponseBodyPauseLodestoneResponse: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/ResponseBodyPauseLodestoneResponse.json */ readonly $schema?: string; data: components['schemas']['PauseLodestoneResponse']; status: string; }; ResponseBodyRepairLodestoneReportMermaidResponse: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/ResponseBodyRepairLodestoneReportMermaidResponse.json */ readonly $schema?: string; data: components['schemas']['RepairLodestoneReportMermaidResponse']; status: string; }; ResponseBodyResolveLodestoneInvestigationResponse: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/ResponseBodyResolveLodestoneInvestigationResponse.json */ readonly $schema?: string; data: components['schemas']['ResolveLodestoneInvestigationResponse']; status: string; }; ResponseBodyResumeLodestoneResponse: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/ResponseBodyResumeLodestoneResponse.json */ readonly $schema?: string; data: components['schemas']['ResumeLodestoneResponse']; status: string; }; ResponseBodySetLodestoneHypothesisVerdictResponse: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/ResponseBodySetLodestoneHypothesisVerdictResponse.json */ readonly $schema?: string; data: components['schemas']['SetLodestoneHypothesisVerdictResponse']; status: string; }; ResponseBodyStopLoopResponse: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/ResponseBodyStopLoopResponse.json */ readonly $schema?: string; data: components['schemas']['StopLoopResponse']; status: string; }; ResponseBodyUpdateInvestigationTeamsResponse: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/ResponseBodyUpdateInvestigationTeamsResponse.json */ readonly $schema?: string; data: components['schemas']['UpdateInvestigationTeamsResponse']; status: string; }; ResponseBodyUpdateLodestoneModeResponse: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/ResponseBodyUpdateLodestoneModeResponse.json */ readonly $schema?: string; data: components['schemas']['UpdateLodestoneModeResponse']; status: string; }; ResponseBodyUpdateLodestoneReportMermaidResponse: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/ResponseBodyUpdateLodestoneReportMermaidResponse.json */ readonly $schema?: string; data: components['schemas']['UpdateLodestoneReportMermaidResponse']; status: string; }; ResponseBodyUpdateLodestoneTierResponse: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/ResponseBodyUpdateLodestoneTierResponse.json */ readonly $schema?: string; data: components['schemas']['UpdateLodestoneTierResponse']; status: string; }; ResumeLodestoneResponse: { /** @description Resume status message */ message: string; }; SetLodestoneHypothesisVerdictResponse: { /** @description The verdict now recorded on the hypothesis */ status: string; /** @description Whether the plan changed (false when the verdict already matched) */ updated: boolean; }; SetLodestoneHypothesisVerdictV2RequestBody: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/SetLodestoneHypothesisVerdictV2RequestBody.json */ readonly $schema?: string; /** * @description The user's verdict on this hypothesis * @enum {string} */ status: 'confirmed' | 'rejected'; }; StopLoopResponse: { /** @description Result message */ message: string; }; TodoProgress: { /** * Format: int64 * @description Number of canceled tasks */ canceled: number; /** * Format: int64 * @description Number of completed tasks */ completed: number; /** * Format: int64 * @description Number of in-progress tasks */ inProgress: number; /** * Format: int64 * @description Number of pending tasks */ pending: number; /** * Format: int64 * @description Total number of tasks */ total: number; }; Transition: { actor: string; /** Format: date-time */ at: string; from?: string; to: string; }; UpdateInvestigationTeamsBody: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/UpdateInvestigationTeamsBody.json */ readonly $schema?: string; /** @description Grafana team names that should scope this investigation. This is a full replace: an empty list makes the investigation private, and teams omitted from the list lose access. */ teamNames: string[]; }; UpdateInvestigationTeamsResponse: { /** @description ID of the investigation */ investigationId: string; /** @description The team names now scoping this investigation (normalized, lowercased). Empty means private. */ teamNames: string[]; }; UpdateLodestoneModeBody: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/UpdateLodestoneModeBody.json */ readonly $schema?: string; /** @description Investigation autonomy mode (low, medium, high) */ mode: string; }; UpdateLodestoneModeResponse: { /** @description Mode update status message */ message: string; /** @description The new mode value */ mode: string; }; UpdateLodestoneReportMermaidResponse: { /** @description Whether the report was modified (false when content already matched) */ updated: boolean; }; UpdateLodestoneReportMermaidV2RequestBody: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/UpdateLodestoneReportMermaidV2RequestBody.json */ readonly $schema?: string; /** @description New Mermaid diagram source */ content: string; }; UpdateLodestoneTierResponse: { tier: components['schemas']['AssistantTier']; }; UpdateLodestoneTierV2RequestBody: { /** * Format: uri * @description A URL to the JSON Schema for this object. * @example https://example.com/schemas/UpdateLodestoneTierV2RequestBody.json */ readonly $schema?: string; /** @description Tier for the next and subsequent turns */ tier: components['schemas']['AssistantTier']; }; }; responses: never; parameters: never; requestBodies: never; headers: never; pathItems: never; } export type $defs = Record; export interface operations { 'get-investigations': { parameters: { query?: { /** @description Find the investigation owning this chat ID. Returns a singleton list. When set, all other filters are ignored. */ chatId?: string; /** @description Filter by investigation state */ state?: string; /** @description Search text for title, description, or chat name */ q?: string; /** @description Visibility scope: all, mine, teams, or system */ scope?: 'all' | 'mine' | 'teams' | 'system'; /** @description Filter investigations created at or after this RFC3339 timestamp */ from?: string; /** @description Filter investigations created at or before this RFC3339 timestamp */ to?: string; /** @description Sort field: createdAt, updatedAt, title, or state */ sort?: string; /** @description Sort order: asc or desc */ order?: string; /** @description Response projection: full or lite. Lite omits agents and truncates description and source.prompt to 200 runes, appending an ellipsis when truncated. */ view?: string; /** @description Maximum number of investigations to return */ limit?: number; /** @description Number of investigations to skip */ offset?: number; /** @description Filter by label in key:value format */ label?: string; /** @description Filter investigations to a specific team */ teamName?: string; /** @description Also include legacy investigations in results */ includeLegacy?: boolean; /** @description Include investigations whose backing chat is archived */ includeArchived?: boolean; /** @description Return only investigations whose backing chat is archived. Overrides includeArchived when true. */ archivedOnly?: boolean; /** @description Use your saved Done choices without automatic reopening */ explicitShelf?: boolean; }; header?: { 'X-Scope-OrgID'?: string; 'X-Grafana-User'?: string; 'X-Grafana-User-ID'?: string; 'X-Grafana-URL'?: string; 'X-Grafana-API-Key'?: string; 'X-Oss-Mode'?: boolean; 'X-User-Type'?: string; }; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['ResponseBodyInvestigationSummaryResponse']; }; }; /** @description Error */ default: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['Error']; }; }; }; }; 'post-investigations': { parameters: { query?: never; header?: { 'X-Scope-OrgID'?: string; 'X-Grafana-User'?: string; 'X-Grafana-User-ID'?: string; 'X-Grafana-URL'?: string; 'X-Grafana-API-Key'?: string; 'X-Oss-Mode'?: boolean; 'X-User-Type'?: string; }; path?: never; cookie?: never; }; requestBody: { content: { 'application/json': components['schemas']['LodestoneCreateBody']; }; }; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['ResponseBodyLodestoneCreateResponse']; }; }; /** @description Error */ default: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['Error']; }; }; }; }; 'get-investigations-profiles': { parameters: { query?: never; header?: { 'X-Scope-OrgID'?: string; 'X-Grafana-User'?: string; 'X-Grafana-User-ID'?: string; 'X-Grafana-URL'?: string; 'X-Grafana-API-Key'?: string; 'X-Oss-Mode'?: boolean; 'X-User-Type'?: string; }; path?: never; cookie?: never; }; requestBody?: never; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['ResponseBodyLodestoneProfilesResponse']; }; }; /** @description Error */ default: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['Error']; }; }; }; }; 'get-investigations-by-investigation-id': { parameters: { query?: never; header?: { 'X-Scope-OrgID'?: string; 'X-Grafana-User'?: string; 'X-Grafana-User-ID'?: string; 'X-Grafana-URL'?: string; 'X-Grafana-API-Key'?: string; 'X-Oss-Mode'?: boolean; 'X-User-Type'?: string; }; path: { /** @description ID of the investigation */ investigationId: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['ResponseBodyResolveLodestoneInvestigationResponse']; }; }; /** @description Error */ default: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['Error']; }; }; }; }; 'get-investigations-by-investigation-id-evidence': { parameters: { query?: never; header?: { 'X-Scope-OrgID'?: string; 'X-Grafana-User'?: string; 'X-Grafana-User-ID'?: string; 'X-Grafana-URL'?: string; 'X-Grafana-API-Key'?: string; 'X-Oss-Mode'?: boolean; 'X-User-Type'?: string; }; path: { /** @description Investigation ID */ investigationId: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['ResponseBodyGetLodestoneEvidenceResponse']; }; }; /** @description Error */ default: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['Error']; }; }; }; }; 'put-investigations-by-investigation-id-hypotheses-by-hypothesis-id-verdict': { parameters: { query?: never; header?: { 'X-Scope-OrgID'?: string; 'X-Grafana-User'?: string; 'X-Grafana-User-ID'?: string; 'X-Grafana-URL'?: string; 'X-Grafana-API-Key'?: string; 'X-Oss-Mode'?: boolean; 'X-User-Type'?: string; }; path: { /** @description Investigation ID */ investigationId: string; /** @description ID of the hypothesis to rule on (e.g. h1) */ hypothesisId: string; }; cookie?: never; }; requestBody: { content: { 'application/json': components['schemas']['SetLodestoneHypothesisVerdictV2RequestBody']; }; }; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['ResponseBodySetLodestoneHypothesisVerdictResponse']; }; }; /** @description Error */ default: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['Error']; }; }; }; }; 'get-investigations-by-investigation-id-loops': { parameters: { query?: never; header?: { 'X-Scope-OrgID'?: string; 'X-Grafana-User'?: string; 'X-Grafana-User-ID'?: string; 'X-Grafana-URL'?: string; 'X-Grafana-API-Key'?: string; 'X-Oss-Mode'?: boolean; 'X-User-Type'?: string; }; path: { /** @description Investigation ID */ investigationId: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['ResponseBodyListLoopsResponse']; }; }; /** @description Error */ default: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['Error']; }; }; }; }; 'post-investigations-by-investigation-id-loops': { parameters: { query?: never; header?: { 'X-Scope-OrgID'?: string; 'X-Grafana-User'?: string; 'X-Grafana-User-ID'?: string; 'X-Grafana-URL'?: string; 'X-Grafana-API-Key'?: string; 'X-Oss-Mode'?: boolean; 'X-User-Type'?: string; }; path: { /** @description Investigation ID */ investigationId: string; }; cookie?: never; }; requestBody: { content: { 'application/json': components['schemas']['CreateLoopBody']; }; }; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['ResponseBodyCreateLoopResponse']; }; }; /** @description Error */ default: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['Error']; }; }; }; }; 'delete-investigations-by-investigation-id-loops-by-loop-id': { parameters: { query?: never; header?: { 'X-Scope-OrgID'?: string; 'X-Grafana-User'?: string; 'X-Grafana-User-ID'?: string; 'X-Grafana-URL'?: string; 'X-Grafana-API-Key'?: string; 'X-Oss-Mode'?: boolean; 'X-User-Type'?: string; }; path: { /** @description Investigation ID */ investigationId: string; /** @description The id of the loop to stop */ loopId: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['ResponseBodyStopLoopResponse']; }; }; /** @description Error */ default: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['Error']; }; }; }; }; 'put-investigations-by-investigation-id-mode': { parameters: { query?: never; header?: { 'X-Scope-OrgID'?: string; 'X-Grafana-User'?: string; 'X-Grafana-User-ID'?: string; 'X-Grafana-URL'?: string; 'X-Grafana-API-Key'?: string; 'X-Oss-Mode'?: boolean; 'X-User-Type'?: string; }; path: { /** @description Investigation ID */ investigationId: string; }; cookie?: never; }; requestBody: { content: { 'application/json': components['schemas']['UpdateLodestoneModeBody']; }; }; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['ResponseBodyUpdateLodestoneModeResponse']; }; }; /** @description Error */ default: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['Error']; }; }; }; }; 'post-investigations-by-investigation-id-pause': { parameters: { query?: never; header?: { 'X-Scope-OrgID'?: string; 'X-Grafana-User'?: string; 'X-Grafana-User-ID'?: string; 'X-Grafana-URL'?: string; 'X-Grafana-API-Key'?: string; 'X-Oss-Mode'?: boolean; 'X-User-Type'?: string; }; path: { /** @description Investigation ID */ investigationId: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['ResponseBodyPauseLodestoneResponse']; }; }; /** @description Error */ default: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['Error']; }; }; }; }; 'put-investigations-by-investigation-id-report-elements-by-element-id-mermaid': { parameters: { query?: never; header?: { 'X-Scope-OrgID'?: string; 'X-Grafana-User'?: string; 'X-Grafana-User-ID'?: string; 'X-Grafana-URL'?: string; 'X-Grafana-API-Key'?: string; 'X-Oss-Mode'?: boolean; 'X-User-Type'?: string; }; path: { /** @description Investigation ID */ investigationId: string; /** @description Report element ID of the Mermaid diagram to update */ elementId: string; }; cookie?: never; }; requestBody: { content: { 'application/json': components['schemas']['UpdateLodestoneReportMermaidV2RequestBody']; }; }; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['ResponseBodyUpdateLodestoneReportMermaidResponse']; }; }; /** @description Error */ default: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['Error']; }; }; }; }; 'post-investigations-by-investigation-id-report-elements-by-element-id-mermaid-repair': { parameters: { query?: never; header?: { 'X-Scope-OrgID'?: string; 'X-Grafana-User'?: string; 'X-Grafana-User-ID'?: string; 'X-Grafana-URL'?: string; 'X-Grafana-API-Key'?: string; 'X-Oss-Mode'?: boolean; 'X-User-Type'?: string; }; path: { /** @description Investigation ID */ investigationId: string; /** @description Report element ID of the Mermaid diagram to repair */ elementId: string; }; cookie?: never; }; requestBody: { content: { 'application/json': components['schemas']['RepairLodestoneReportMermaidV2RequestBody']; }; }; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['ResponseBodyRepairLodestoneReportMermaidResponse']; }; }; /** @description Error */ default: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['Error']; }; }; }; }; 'post-investigations-by-investigation-id-resume': { parameters: { query?: never; header?: { 'X-Scope-OrgID'?: string; 'X-Grafana-User'?: string; 'X-Grafana-User-ID'?: string; 'X-Grafana-URL'?: string; 'X-Grafana-API-Key'?: string; 'X-Oss-Mode'?: boolean; 'X-User-Type'?: string; }; path: { /** @description Investigation ID */ investigationId: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['ResponseBodyResumeLodestoneResponse']; }; }; /** @description Error */ default: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['Error']; }; }; }; }; 'post-investigations-by-investigation-id-share': { parameters: { query?: never; header?: { 'X-Scope-OrgID'?: string; 'X-Grafana-User'?: string; 'X-Grafana-User-ID'?: string; 'X-Grafana-URL'?: string; 'X-Grafana-API-Key'?: string; 'X-Oss-Mode'?: boolean; 'X-User-Type'?: string; }; path: { /** @description ID of the investigation to share */ investigationId: string; }; cookie?: never; }; requestBody: { content: { 'application/json': components['schemas']['LodestoneShareBody']; }; }; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['ResponseBodyLodestoneShareResponse']; }; }; /** @description Error */ default: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['Error']; }; }; }; }; 'get-investigations-by-investigation-id-snapshot': { parameters: { query?: never; header?: { 'X-Scope-OrgID'?: string; 'X-Grafana-User'?: string; 'X-Grafana-User-ID'?: string; 'X-Grafana-URL'?: string; 'X-Grafana-API-Key'?: string; 'X-Oss-Mode'?: boolean; 'X-User-Type'?: string; }; path: { /** @description Investigation ID */ investigationId: string; }; cookie?: never; }; requestBody?: never; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['ResponseBodyGetLodestoneStateResponse']; }; }; /** @description Error */ default: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['Error']; }; }; }; }; 'put-investigations-by-investigation-id-teams': { parameters: { query?: never; header?: { 'X-Scope-OrgID'?: string; 'X-Grafana-User'?: string; 'X-Grafana-User-ID'?: string; 'X-Grafana-URL'?: string; 'X-Grafana-API-Key'?: string; 'X-Oss-Mode'?: boolean; 'X-User-Type'?: string; }; path: { /** @description ID of the investigation whose team scope is being set */ investigationId: string; }; cookie?: never; }; requestBody: { content: { 'application/json': components['schemas']['UpdateInvestigationTeamsBody']; }; }; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['ResponseBodyUpdateInvestigationTeamsResponse']; }; }; /** @description Error */ default: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['Error']; }; }; }; }; 'put-investigations-by-investigation-id-tier': { parameters: { query?: never; header?: { 'X-Scope-OrgID'?: string; 'X-Grafana-User'?: string; 'X-Grafana-User-ID'?: string; 'X-Grafana-URL'?: string; 'X-Grafana-API-Key'?: string; 'X-Oss-Mode'?: boolean; 'X-User-Type'?: string; }; path: { /** @description Investigation ID */ investigationId: string; }; cookie?: never; }; requestBody: { content: { 'application/json': components['schemas']['UpdateLodestoneTierV2RequestBody']; }; }; responses: { /** @description OK */ 200: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['ResponseBodyUpdateLodestoneTierResponse']; }; }; /** @description Error */ default: { headers: { [name: string]: unknown; }; content: { 'application/json': components['schemas']['Error']; }; }; }; }; } //# sourceMappingURL=api.gen.d.ts.map