---
title: "Get the status of a Source"
method: GET
path: "/system/status/inputs/{id}"
tags: ["sources"]
---

# Get the status of a Source

`GET /system/status/inputs/{id}`

Get the status and optional metrics for the specified Source.

## Path parameters

- `id` string, required

## Query parameters

- `metrics` boolean
- `type` boolean

## Response `200`

The requested Source status object in a single-item list.

- CountedInputStatus
  - `count` integer, required — number of items present in the items array
  - `items` InputStatus[], required — List of items in this response.
    - `id` string, required — Unique identifier of the Source or Destination.
    - `status` AggregatedInputOutputStatusBody, required
      - `error` StatusError
        - `details` object — Additional error details.
        - `message` string, required — Human-readable message that describes the error.
      - `health` 'Green' | 'Red' | 'Unknown' | 'Yellow', required — Overall health status of the Source or Destination.
      - `healthCounts` HealthCountType, required
        - `Green` integer — Number of Worker Processes reporting a healthy (Green) status.
        - `Red` integer — Number of Worker Processes reporting a critical (Red) status.
        - `Unknown` integer — Number of Worker Processes reporting an unknown health status.
        - `Yellow` integer — Number of Worker Processes reporting a degraded (Yellow) status.
      - `metrics` object — Metrics data for the Source or Destination, including base metrics, aggregated across all Worker Processes. For load-balanced Destinations, includes item-level metrics.
      - `pq` AggregatedPQStatus
        - `error` StatusError
          - `details` object — Additional error details.
          - `message` string, required — Human-readable message that describes the error.
        - `health` 'Green' | 'Red' | 'Unknown' | 'Yellow', required — Health status of the persistent queue.
        - `healthCounts` HealthCountType, required
          - `Green` integer — Number of Worker Processes reporting a healthy (Green) status.
          - `Red` integer — Number of Worker Processes reporting a critical (Red) status.
          - `Unknown` integer — Number of Worker Processes reporting an unknown health status.
          - `Yellow` integer — Number of Worker Processes reporting a degraded (Yellow) status.
        - `timestamp` integer, required — Timestamp (in Unix time) when the persistent queue status was last updated.
      - `timestamp` integer, required — Timestamp (in Unix time) when the status was last updated.
    - `type` string — Type of the Source or Destination.

## Other responses

- `401` — Authentication failed (missing or invalid credentials or Bearer token).
- `500` — Unexpected server error.

---

[API](https://skmtc.net/criblio/apis/cribl-api-reference.md) · [All operations](https://skmtc.net/criblio/apis/cribl-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/criblio/cribl-api-reference/versions/e9bef570d106/schema)
