---
title: "Get Api Source Resources Status"
method: GET
path: "/sources/{source_id}/api-resources-status"
tags: ["Sources"]
---

# Get Api Source Resources Status

`GET /sources/{source_id}/api-resources-status`

## Request

- Base URL: `https://api.streamkap.com`
- URL: `https://api.streamkap.com/sources/{source_id}/api-resources-status`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/streamkap/apis/streamkap-rest-api/docs/sources/:source_id/api-resources-status/get.ts> (a function with typed inputs; its response is checked against the schema)

Whether an API source is still loading history, and each resource's progress, lag and last completed poll.

While a resource backfills, the runner's latency is the age of the rows it is loading rather than a delay, so the
page shows this state instead. API sources only: a Kafka Connect source answers 404.

## Path parameters

- `source_id` string, required

## Response `200`

Successful Response

- ApiResourcesStatus
  - `state` 'backfilling' | 'streaming' | 'unknown', required: `backfilling` while any selected resource is backfilling or pending, `streaming` once every selected resource is caught up, `unknown` when nothing is selected.
  - `progress` number, nullable: Mean progress, 0..1, of the backfilling resources that report one, a pending resource counting as 0.
  - `resources` ApiResourceStatus[], required
    - `resource` string, required
    - `pending` boolean, required: Selected, but no sync has reported on it yet.
    - `backfilling` boolean, nullable, required: Still loading the resource's history; null while pending.
    - `progress` number, nullable: Share of the history window covered, 0..1, while backfilling and when known.
    - `lag_ms` number, nullable: How far the resource lags behind the vendor, in ms.
    - `last_completed_at` string, date-time, nullable: When the resource last finished a sync.
    - `stale` boolean, required: No sync of the resource has finished within max(3 x its sync interval, 1 hour). False while pending.

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-07** `e3a5e20b7102`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/streamkap/apis/streamkap-rest-api/changes/sources/:source_id/api-resources-status/get.md)

---

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