# getIntegrationDiagnostic

Source: /openapi/thomas-federated.openapi.json

## Operation

| Method | URL |
|---|---|
| GET | https://staging-api.thomas.co/v1/integration-diagnostics/{diagnosticId} |

| Field | Value |
|---|---|
| operationId | getIntegrationDiagnostic |
| method | GET |
| server | https://staging-api.thomas.co/v1 |
| path | /integration-diagnostics/{diagnosticId} |
| tags | `Partner Diagnostics` |
| summary | Retrieve one integration diagnostic |
| badges | None |

## Request Parameters

| Name | In | Required | Schema | Description |
|---|---|---|---|---|
| diagnosticId | path | true | string |  |

## Request Body

None.

## Responses

| Status | Description | Schema refs |
|---|---|---|
| 200 | The canonical diagnostic | #/components/schemas/IntegrationDiagnosticReadResponseDto |
| 400 | The `diagnosticId` path parameter is not a UUID | #/components/schemas/ApiErrorResponseDto |
| 401 | Invalid or missing authentication token (AUTH_TOKEN_INVALID) | #/components/schemas/ApiErrorResponseDto |
| 403 | Only a provisioned, active Partner-owned API client may call this operation. A suspended or deactivated Partner collapses into this same refusal. | #/components/schemas/ApiErrorResponseDto |
| 404 | No diagnostic with this id belongs to the calling API client and remains within its active Grant. A diagnostic owned by a different client, and one whose originating Grant has been revoked or narrowed, are concealed behind this same response. | #/components/schemas/ApiErrorResponseDto |
| 429 | Rate limit exceeded. | #/components/schemas/ApiErrorResponseDto |
| 503 | The durable diagnostic projection could not be read. Retry the request. | #/components/schemas/ApiErrorResponseDto |

### Response 429 headers

| Name | Description | Schema |
|---|---|---|
| Retry-After | Seconds until the rate-limit block expires before retrying. | {"type":"integer","minimum":0} |
| RateLimit-Limit | Configured request limit for the active rate-limit window. | {"type":"integer"} |
| RateLimit-Remaining | Requests remaining in the active rate-limit window; zero when blocked. | {"type":"integer"} |
| RateLimit-Reset | Seconds until the rate-limit block expires. | {"type":"integer","minimum":0} |

## Artifact Examples

### Response 400 example

```json
{
  "statusCode": 400,
  "message": "Validation failed (uuid is expected)",
  "error": "HTTP_BAD_REQUEST"
}
```

### Response 401 example

```json
{
  "statusCode": 401,
  "message": "Invalid or missing authentication token",
  "error": "AUTH_TOKEN_INVALID"
}
```

### Response 403 example

```json
{
  "statusCode": 403,
  "message": "API client is not permitted to call this operation",
  "error": "PRINCIPAL_TYPE_NOT_ALLOWED"
}
```

### Response 404 example

```json
{
  "statusCode": 404,
  "message": "Integration diagnostic was not found",
  "error": "INTEGRATION_DIAGNOSTIC_NOT_FOUND"
}
```

### Response 429 example

```json
{
  "statusCode": 429,
  "message": "ThrottlerException: Too Many Requests",
  "error": "HTTP_TOO_MANY_REQUESTS"
}
```

### Response 503 example

```json
{
  "statusCode": 503,
  "message": "Integration diagnostics are temporarily unavailable",
  "error": "INTEGRATION_DIAGNOSTICS_UNAVAILABLE"
}
```
