---
title: "Get County Load Stats"
method: GET
path: "/api/v1/internal/workspaces/county-load-stats"
tags: ["internal", "workspaces"]
---

# Get County Load Stats

`GET /api/v1/internal/workspaces/county-load-stats`

Duration stats over one county's recent succeeded loads (any workspace).

Feeds the admin uploader's elapsed/ETA display; workspace-agnostic
because load duration is a property of the county's data volume, not the
workspace. Zero sample means the county has no representative load
history and the UI shows no estimate.

## Query parameters

- `county_fips` string, required

## Response `200`

Successful Response

- CountyLoadStatsResponse — Aggregate county-load duration stats for the admin ETA display. Seconds from request to completion over recent succeeded loads; `median_seconds` / `p90_seconds` are null when `sample_size` is 0.
  - `median_seconds` number, nullable, required
  - `p90_seconds` number, nullable, required
  - `sample_size` integer, required

## Other responses

- `422` — Validation Error

---

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