> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.runtype.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.runtype.com/_mcp/server.

# Inspect OTLP admission, queryability, and durable recovery debt

GET https://api.runtype.com/v1/telemetry/ingest-health

Owner-scoped delivery receipts retained for 30 days. Lag is acceptance to confirmation (a positive hot receipt read, or a successful raw send), not a production SLO guarantee. Idle is not proof of sink health. No transcripts or retained payloads are returned. Requires ANALYTICS:READ or AGENTS:READ; TELEMETRY:WRITE alone is append-only.

Reference: https://docs.runtype.com/api-reference/runtype-api/telemetry/get-otlp-ingest-health

## Authentication

- `Authorization` header (bearer token, required) — API key or Clerk session token

## Servers

- `https://api.runtype.com` (Production, default)
- `https://api.runtype-staging.com` (Staging)

## Request

### Query parameters

- `traceId` (string, optional)

## Response

### 200

Admission and observed delivery health

- `admission` (V1TelemetryIngestHealthGetResponsesContentApplicationJsonSchemaAdmission, required)
- `errors` (list of V1TelemetryIngestHealthGetResponsesContentApplicationJsonSchemaErrorsItems, required)
- `lastAcceptedAt` (string, required, nullable)
- `observedAt` (string, required)
- `receiptHistoryDays` (integer, required)
- `status` (enum, required)
  - Allowed values: `idle`, `observing`, `degraded`, `queryable`
- `tiers` (V1TelemetryIngestHealthGetResponsesContentApplicationJsonSchemaTiers, required)
- `totals` (V1TelemetryIngestHealthGetResponsesContentApplicationJsonSchemaTotals, required)
- `trace` (V1TelemetryIngestHealthGetResponsesContentApplicationJsonSchemaTrace, required, nullable)

## Errors

### 400 Bad Request Error

Invalid trace identity

- `error` (string, required)
- `code` (string, optional) — Stable error code. `insufficient_scope` marks an API key that lacks a scope this request needs.
- `details` (list of ErrorDetailsItems, optional)
- `requiredScopes` (list of string, optional) — On `insufficient_scope`: every API key scope this request needs.

### 401 Unauthorized Error

Unauthenticated

- `error` (string, required)
- `code` (string, optional) — Stable error code. `insufficient_scope` marks an API key that lacks a scope this request needs.
- `details` (list of ErrorDetailsItems, optional)
- `requiredScopes` (list of string, optional) — On `insufficient_scope`: every API key scope this request needs.

### 403 Forbidden Error

Read scope required

- `error` (string, required)
- `code` (string, optional) — Stable error code. `insufficient_scope` marks an API key that lacks a scope this request needs.
- `details` (list of ErrorDetailsItems, optional)
- `requiredScopes` (list of string, optional) — On `insufficient_scope`: every API key scope this request needs.

### 503 Service Unavailable Error

Health state temporarily unavailable

- `error` (string, required)
- `code` (string, optional) — Stable error code. `insufficient_scope` marks an API key that lacks a scope this request needs.
- `details` (list of ErrorDetailsItems, optional)
- `requiredScopes` (list of string, optional) — On `insufficient_scope`: every API key scope this request needs.

## Types

### V1TelemetryIngestHealthGetResponsesContentApplicationJsonSchemaAdmission

- `activeRequests` (integer, required)
- `availableBytes` (integer, required)
- `availableRecords` (integer, required)
- `maximumConcurrentRequests` (integer, required)

### V1TelemetryIngestHealthGetResponsesContentApplicationJsonSchemaErrorsItems

- `code` (string, required)
- `records` (integer, required)

### V1TelemetryIngestHealthGetResponsesContentApplicationJsonSchemaTiers

- `canonical` (V1TelemetryIngestHealthGetResponsesContentApplicationJsonSchemaTiersCanonical, required) — Deprecated: the canonical storage tier is retired and every field is permanently zero. It is emitted only so already-published SDKs, which model it as required, keep parsing; it is removed in a following release.
- `hot` (V1TelemetryIngestHealthGetResponsesContentApplicationJsonSchemaTiersHot, required) — Hot tier: confirmed by a positive receipt read, not a stream acknowledgment.
- `raw` (V1TelemetryIngestHealthGetResponsesContentApplicationJsonSchemaTiersRaw, required) — Raw storage tier: confirmed when its send succeeds (at-least-once, no read-back). `waiting` counts rows whose send has not yet succeeded.

### V1TelemetryIngestHealthGetResponsesContentApplicationJsonSchemaTotals

- `accepted` (integer, required)
- `claimConflicts` (integer, required)
- `complete` (integer, required)
- `deleted` (integer, required)
- `exhaustedAttempts` (integer, required)
- `expired` (integer, required)
- `pending` (integer, required)
- `pendingBytes` (integer, required)
- `suppressed` (integer, required)

### V1TelemetryIngestHealthGetResponsesContentApplicationJsonSchemaTrace

- `acceptedAt` (string, required)
- `completeness` (string, required)
- `delivery` (V1TelemetryIngestHealthGetResponsesContentApplicationJsonSchemaTraceDelivery, required) — Receipt counts for this trace only; hot confirmations require a positive receipt read, raw confirmations a successful send.
- `diagnostics` (map from string to any, required)
- `expiresAt` (string, required)
- `revision` (integer, required)
- `traceId` (string, required)

### ErrorDetailsItems

- `message` (string, required)
- `code` (string, optional) — Stable Runtype validation code (e.g. MISSING_REQUIRED_FIELD, INVALID_ENUM).
- `path` (string, optional) — Dotted JSON path to the offending field.
- `suggestion` (string, optional) — Actionable hint (allowed values, accepted range, …).

### V1TelemetryIngestHealthGetResponsesContentApplicationJsonSchemaTiersCanonical

Deprecated: the canonical storage tier is retired and every field is permanently zero. It is emitted only so already-published SDKs, which model it as required, keep parsing; it is removed in a following release.

- `confirmed` (integer, required)
- `maximumConfirmedLagMs` (double, required, nullable)
- `oldestPendingAgeMs` (double, required, nullable)
- `repairs` (integer, required)
- `waiting` (integer, required)

### V1TelemetryIngestHealthGetResponsesContentApplicationJsonSchemaTiersHot

Hot tier: confirmed by a positive receipt read, not a stream acknowledgment.

- `confirmed` (integer, required)
- `maximumConfirmedLagMs` (double, required, nullable)
- `oldestPendingAgeMs` (double, required, nullable)
- `repairs` (integer, required)
- `waiting` (integer, required)

### V1TelemetryIngestHealthGetResponsesContentApplicationJsonSchemaTiersRaw

Raw storage tier: confirmed when its send succeeds (at-least-once, no read-back). `waiting` counts rows whose send has not yet succeeded.

- `confirmed` (integer, required)
- `maximumConfirmedLagMs` (double, required, nullable)
- `oldestPendingAgeMs` (double, required, nullable)
- `repairs` (integer, required)
- `waiting` (integer, required)

### V1TelemetryIngestHealthGetResponsesContentApplicationJsonSchemaTraceDelivery

Receipt counts for this trace only; hot confirmations require a positive receipt read, raw confirmations a successful send.

- `accepted` (integer, required)
- `canonicalConfirmed` (integer, required) — Deprecated: the canonical storage tier is retired and every field is permanently zero. It is emitted only so already-published SDKs, which model it as required, keep parsing; it is removed in a following release.
- `complete` (integer, required)
- `hotConfirmed` (integer, required)
- `pending` (integer, required)
- `rawConfirmed` (integer, required)

## Examples

**Response**

```json
{
  "admission": {
    "activeRequests": 1,
    "availableBytes": 1,
    "availableRecords": 1,
    "maximumConcurrentRequests": 1
  },
  "errors": [
    {
      "code": "string",
      "records": 1
    }
  ],
  "lastAcceptedAt": "string",
  "observedAt": "string",
  "receiptHistoryDays": 1,
  "status": "idle",
  "tiers": {
    "canonical": {
      "confirmed": 1,
      "maximumConfirmedLagMs": 1.1,
      "oldestPendingAgeMs": 1.1,
      "repairs": 1,
      "waiting": 1
    },
    "hot": {
      "confirmed": 1,
      "maximumConfirmedLagMs": 1.1,
      "oldestPendingAgeMs": 1.1,
      "repairs": 1,
      "waiting": 1
    },
    "raw": {
      "confirmed": 1,
      "maximumConfirmedLagMs": 1.1,
      "oldestPendingAgeMs": 1.1,
      "repairs": 1,
      "waiting": 1
    }
  },
  "totals": {
    "accepted": 1,
    "claimConflicts": 1,
    "complete": 1,
    "deleted": 1,
    "exhaustedAttempts": 1,
    "expired": 1,
    "pending": 1,
    "pendingBytes": 1,
    "suppressed": 1
  },
  "trace": {
    "acceptedAt": "string",
    "completeness": "string",
    "delivery": {
      "accepted": 1,
      "canonicalConfirmed": 1,
      "complete": 1,
      "hotConfirmed": 1,
      "pending": 1,
      "rawConfirmed": 1
    },
    "diagnostics": {},
    "expiresAt": "string",
    "revision": 1,
    "traceId": "string"
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.runtype.com/v1/telemetry/ingest-health"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.runtype.com/v1/telemetry/ingest-health';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.runtype.com/v1/telemetry/ingest-health"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.runtype.com/v1/telemetry/ingest-health")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.runtype.com/v1/telemetry/ingest-health")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.runtype.com/v1/telemetry/ingest-health', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.runtype.com/v1/telemetry/ingest-health");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.runtype.com/v1/telemetry/ingest-health")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```