---
title: "Checked, not merged: files checked in the editor that have not reached the branch"
method: GET
path: "/analytics/v1/live/pending"
tags: ["analytics"]
---

# Checked, not merged: files checked in the editor that have not reached the branch

`GET /analytics/v1/live/pending`

## Request

- Base URL: `https://api.qualityclouds.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.qualityclouds.ai/analytics/v1/live/pending`
- Auth: one of:
  - HTTP bearer
  - OpenID Connect (`https://account.qualityclouds.com//realms/ai-production/.well-known/openid-configuration`)

Per developer × client × repository: files checked in the period, still inside retention, with no merged-file row of their path written after the check. A file counts once, for its latest check; oldest_check_at is its first. No path is returned. Self-only: a contributor sees their own rows unless an admin turned the team view on.

## Query parameters

- `weeks` integer: Length of the period in ISO weeks. One of [4, 8, 12, 26].
- `repository_id` string, nullable: Narrow to one repository.
- `user_id` string, nullable: Narrow to one developer: the owner of the connection.
- `client` string[], nullable: Repeatable. Canonical client label, e.g. 'Cursor'.

## Response `200`

Successful Response

- LivePendingResponse: `GET /live/pending` — self-only rule applied server-side.
  - `total` integer, required: Files not merged the caller may see; equals card 2 for an admin
  - `showing_all` boolean, required: False when the caller only sees their own rows
  - `rows` PendingRowResponse[], required
    - `user_id` string, nullable: Owner of the latest pending check
    - `username` string, nullable
    - `client` string, required
    - `repository_id` string, required
    - `repository_name` string, nullable
    - `files` integer, required: Files whose latest pending check is this row's
    - `oldest_check_at` string, date-time, required: First pending check of those files

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: Validation Error

---

[API](https://skmtc.dev/qualityclouds/apis/qai-orchestrator-api.md) · [All operations](https://skmtc.dev/qualityclouds/apis/qai-orchestrator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/qualityclouds/apis/qai-orchestrator-api/revisions/250c849925af?raw)
