---
title: "Get Agent Diagnostic"
method: GET
path: "/api/agents/{agent_id}/diagnostic"
tags: ["agents"]
---

# Get Agent Diagnostic

`GET /api/agents/{agent_id}/diagnostic`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/agents/{agent_id}/diagnostic`
- Auth: HTTP bearer

Return the current recognized issue for an errored agent, if any.

## Path parameters

- `agent_id` string, required

## Response `200`

Successful Response

- AgentDiagnosticResponse
  - `source` string, required
  - `code` string, required
  - `title` string, required
  - `message` string, required
  - `action` string, required
  - `deploymentId` string, nullable
  - `technicalDetails` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/maritime/apis/maritime-api.md) - [All operations](https://skmtc.dev/maritime/apis/maritime-api/llms.txt) - [OpenAPI document](https://skmtc.dev/maritime/apis/maritime-api/revisions/acd712090ad6?raw)
