Skip to content
Docs
GitHub

Get a health issue with evidence and recovery steps

Preview

Get current issue evidence and recovery guidance in the current organization.

Public APIEverruns Cloud and self-hosted Platform

GET/v1/health-issues/{issue_id}

See authentication for credentials and permissions.

issue_id
required
string format: uuid

Responses

200
Media typeapplication/json

An organization-scoped operational issue and its current recovery evidence.

object
agent_id

Public identifier of the owning agent; absent for an organization-level issue.

string | null
agent_name

Display name of the owning agent; absent for an organization-level issue.

string | null
body
required

Explanation of the impact and recovery action.

string
channel_id

Public identifier of the affected channel; absent for an organization-level issue.

string | null
code
required

Detector code: slack.permissions for a channel, org.active_turn_limit for the organization.

string
error_code

Sanitized provider or verification error code, when available.

string | null
evidence

The numbers a detector or classifier recorded for a finding: counts, costs, probabilities. Never session content.

object | null
first_detected_at
required

Time the current issue episode was first detected.

string format: date-time
fixers
required

Repairs Everruns can make for the issue now, in the order to offer them. Empty when it has none, or the issue is resolved.

Array<object>

A repair Everruns can make for an issue.

object
effect
required

in_place when running it is the whole fix; consent when the person then approves the change in the provider.

string
kind
required

What it does: slack.add_permissions, slack.reconnect or schedule.pause.

string
label
required

Button text.

string
needs_provider_admin
required

Whether the provider may ask a workspace administrator to approve.

boolean
steps
required

What happens when it runs, step by step, in plain words.

Array<string>
unavailable_reason

Why it cannot run now, and what unlocks it. Absent when it can run.

string | null
undoable
required

Whether the fix can be undone from the finding.

boolean
href
required

Application-relative link to the issue details.

string
id
required

Stable identifier of the canonical issue.

string format: uuid
investigation
One of:

The Inspector’s write-up of a finding’s current episode, when it has one.

object
cluster_id

The cluster of similar findings in this organization.

string | null format: uuid
cluster_open

Open findings in the cluster, this one included.

integer | null format: int64
cluster_title

Title of that cluster, naming the problem the findings share.

string | null
completed_at

When the write-up was finished.

string | null format: date-time
dismiss_reason

The note the person gave when dismissing.

string | null
dismissed_at

When a person dismissed the finding, and why.

string | null format: date-time
model

The model that wrote it.

string | null
severity

high, medium or low, as the Inspector judged it.

string | null
status
required

running, done, failed, or unavailable (no model to write it).

string
suggested_action

One concrete next step.

string | null
what_happened

What happened, in two to four plain sentences.

string | null
last_checked_at
required

Time the latest accepted verification evidence was observed.

string format: date-time
missing_scopes
required

Required Slack scopes absent from the verified grant.

Array<string>
notification_id

Current user’s announcement identifier, when one was issued.

string | null
session_id

Public identifier of the session the issue points at, when it has one.

string | null
snoozed_until

Current user’s reminder suppression deadline, if snoozed.

string | null format: date-time
stale
required

Whether the evidence is old, unavailable, or for a previous channel revision.

boolean
status
required

Current issue state: open, needs_check, resolved, or inapplicable.

string
subject_id

What a background-work issue is about: a schedule (sched_…), an agent (agent_…), a session (session_…) or the organization (org_…).

string | null
title
required

Human-readable summary of the required action.

string

Example

{
"agent_id": "agent_550e8400e29b41d4a716446655440000",
"agent_name": "Support assistant",
"body": "Reconnect Slack to grant the required permissions.",
"channel_id": "appchan_550e8400e29b41d4a716446655440000",
"code": "slack.permissions",
"error_code": "missing_scope",
"first_detected_at": "2026-10-03T12:00:00Z",
"fixers": [
{
"effect": "consent",
"kind": "slack.add_permissions",
"label": "Fix in Slack"
}
],
"href": "/settings/health?issue=550e8400-e29b-41d4-a716-446655440000",
"id": "550e8400-e29b-41d4-a716-446655440000",
"investigation": {
"cluster_id": "550e8400-e29b-41d4-a716-446655440000",
"cluster_open": 3,
"cluster_title": "Schedules polling an expired claim",
"completed_at": "2026-10-18T21:40:00Z",
"dismiss_reason": "Expected: load test",
"model": "gpt-6.1-sol",
"severity": "high",
"status": "done",
"suggested_action": "Add a stop rule to the schedule's instructions.",
"what_happened": "The schedule polls a sign-in claim that expired; every run since reports the same error."
},
"last_checked_at": "2026-10-03T12:05:00Z",
"missing_scopes": [
"reactions:write"
],
"notification_id": "notification_550e8400e29b41d4a716446655440001",
"session_id": "session_550e8400e29b41d4a716446655440000",
"snoozed_until": "2026-10-04T12:00:00Z",
"stale": false,
"status": "open",
"subject_id": "sched_550e8400e29b41d4a716446655440000",
"title": "Slack permissions need updating"
}
404
Media typeapplication/json

Standard error response.

Wire shape is RFC 9457 Problem Details: every error response includes title and status, and may include detail, code, allowed_actions, retry_after_seconds, instance, and type. The content type is rewritten to application/problem+json with the application/problem+json content type.

object
allowed_actions

Recovery actions the caller can take next.

Array<object>

Agent-actionable link describing a follow-up the caller can take. Used in two contexts:

  • Error recovery — ErrorResponse.allowed_actions carries rels like retry, retry-later, unarchive, get-existing so the agent knows the right next call after a 4xx/429.
  • Entity hypermedia — WithUrls<T>.allowed_actions carries state-aware rels like cancel, events, self, update on the entity itself so the agent can follow links instead of reconstructing routes from prose.

The shape is intentionally identical across both contexts; the closed rel vocabulary distinguishes them.

object
hint

Short, agent-readable hint (e.g. “Shorten ‘name’ to <= 200 chars.”, “Cancel the active turn for this session.”).

string | null
href

Absolute (preferred) or relative URL the caller may invoke directly. Always present on entity hypermedia actions (WithUrls<T>.allowed_actions); optional on error-recovery actions (ErrorResponse.allowed_actions) where the matching operation_id is enough and the URI is implicit from the failed call.

string | null
method

HTTP method to use against href. Required for entity hypermedia actions; usually omitted on error-recovery actions where the same operation is retried with its original method.

string | null
operation_id

OpenAPI operationId the caller should invoke. Lets an MCP client resolve the call without parsing href.

string | null
rel
required

Link relation describing the action. Examples: self, cancel, pause, resume, events, retry, retry-later, unarchive, get-existing, delete, update.

string
schema_ref

OpenAPI $ref to the request-body schema, when the action takes one (e.g. #/components/schemas/UpdateSessionRequest). Lets a tool-calling agent fetch the input shape without scanning the whole spec.

string | null
code

Stable, machine-readable error code (snake_case).

string | null
detail

Human-readable explanation specific to this occurrence.

string | null
instance

Request URI for this occurrence.

string | null
retry_after_seconds

Seconds the caller should wait before retrying (429 / transient 503).

integer | null format: int32
status
required

HTTP status code; mirrors the response status line.

integer format: int32
title
required

Short, human-readable summary of the problem (e.g. “Not Found”).

string
type

RFC 9457 problem type URI. Optional; identifies the problem class.

string | null

Example

{
"allowed_actions": [
{
"method": "POST"
}
],
"code": "session_not_found",
"detail": "Session session_01933b5a000070008000000000000001 not found in org org_01933b5a000070008000000000000001.",
"instance": "/v1/sessions/session_01933b5a000070008000000000000001",
"retry_after_seconds": 30,
"status": 404,
"title": "Session not found",
"type": "https://everruns.com/docs/errors/session_not_found"
}