---
title: "Status of the most recent Temps Cloud telemetry backfill for a project."
method: GET
path: "/otel/cloud-telemetry/backfill/{project_id}"
tags: ["OTel"]
---

# Status of the most recent Temps Cloud telemetry backfill for a project.

`GET /otel/cloud-telemetry/backfill/{project_id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/otel/cloud-telemetry/backfill/{project_id}`
- Auth: HTTP bearer

## Path parameters

- `project_id` integer, required

## Response `200`

Backfill status

- CloudBackfillStatusResponse
  - `backfill_available` boolean, required: Whether a backfill would be accepted right now. False means the project is still at `metered` fidelity.
  - `command` string, required: The exact command an operator should run. Always present, in every state, so the capability is discoverable from the Console even though the Console deliberately cannot trigger it.
  - `completed_at` string, date-time, nullable
  - `fidelity` 'metered' | 'queryable', required: Current per-project egress fidelity. A `metered` project cannot be backfilled at all — the CLI refuses — so the client must be able to render "not set up" rather than "not started".
  - `last_error` string, nullable: Reason the last run stopped, when `status` is `failed`. Verbatim, but length-bounded: it originates as raw driver/server text and is readable by every project member with `OtelRead`, not only whoever ran the command.
  - `percent_complete` number, double, nullable: `spans_processed / spans_total`, clamped to 0–100. `None` when the total is unknown or zero — an empty window is not "0% done".
  - `project_id` integer, required
  - `setup_path` string, nullable: Where to go to raise fidelity, when `backfill_available` is false.
  - `spans_processed` integer, required
  - `spans_total` integer, required
  - `started_at` string, date-time, nullable
  - `status` 'not_started' | 'running' | 'completed' | 'failed', required: `not_started` when no backfill has ever run for this project.
  - `updated_at` string, date-time, nullable: Bumped on every progress write. A `running` status whose `updated_at` is far in the past is a stalled run, and the client should say so instead of showing a spinner forever.
  - `window_from` string, date-time, nullable
  - `window_to` string, date-time, nullable

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `500`: Internal server error

## Changes

- **2026-11-09** `12896146b193`: 3 breaking
  - removed the required property `extensions` from the response with the `401` status
  - removed the required property `extensions` from the response with the `403` status
  - removed the required property `extensions` from the response with the `500` status
- **2026-10-05** `4b228ebed583`: 3 info
  - added the optional property `status` to the response with the `401` status
  - added the optional property `status` to the response with the `403` status
  - added the optional property `status` to the response with the `500` status
- **2026-10-05** `63a80791dc58`: 3 warning
  - removed the optional property `status` from the response with the `401` status
  - removed the optional property `status` from the response with the `403` status
  - removed the optional property `status` from the response with the `500` status
- **2026-09-23** `f4efc4d5c7b7`: 3 info
  - added the optional property `status` to the response with the `401` status
  - added the optional property `status` to the response with the `403` status
  - added the optional property `status` to the response with the `500` status
- **2026-09-07** `e2dec7aec75d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/otel/cloud-telemetry/backfill/:project_id/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
