---
title: "Retry a failed OTel span attribute facet backfill."
method: POST
path: "/otel/facets/{key}/retry"
tags: ["OTel Facets"]
---

# Retry a failed OTel span attribute facet backfill.

`POST /otel/facets/{key}/retry`

## Request

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

Only valid when the facet's `status` is `failed`. Resets its progress and
lets the background poller re-attempt the backfill from the beginning on
its next tick.

## Path parameters

- `key` string, required

## Response `200`

Backfill retry scheduled

- FacetInfo: Public representation of a registered span attribute facet.
  - `attribute_key` string, required: The OTel attribute key, e.g. `enduser.id` or `galachain.contract`.
  - `backend` 'clickhouse' | 'timescaledb', required: Which storage engine a facet was created against. A deployment only ever runs one backend at a time (see `plugin.rs`'s storage selection), but stamping it on each row keeps the status fields unambiguous.
  - `created_at` string, required
  - `error_message` string, nullable: Populated when `status = failed`, explaining why.
  - `rows_backfilled` integer, required: Rows backfilled so far. Only meaningful for the `timescaledb` backend — the `clickhouse` backend's mutation doesn't expose a row count until it's done, so this stays 0 there even while running.
  - `slot` integer, required: The slot column index 1..=20 (`facet_attr_N`).
  - `status` 'pending' | 'running' | 'completed' | 'failed' | 'deleting', required: Backfill/delete-clear lifecycle for a facet. See the module docs for how the poller advances a facet through these states.

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Facet not found
- `409`: Facet is not in a failed state
- `500`: Internal server error

## Changes

- **2026-11-09** `12896146b193`: 5 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 `404` status
  - removed the required property `extensions` from the response with the `409` status
  - …1 more
- **2026-10-05** `4b228ebed583`: 5 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 `404` status
  - added the optional property `status` to the response with the `409` status
  - …1 more
- **2026-10-05** `63a80791dc58`: 5 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 `404` status
  - removed the optional property `status` from the response with the `409` status
  - …1 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/otel/facets/:key/retry/post.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)
