Skip to main content
POST
Backfill step cost totals

Authorizations

better-auth.session_token
string
cookie
required

Session cookie set by Better Auth on sign-in.

x-workspace-id
string
header
required

Workspace UUID. Required on all /api/* endpoints.

Body

application/json

Empty body — backfills totalUsd on workflow_run_step rows that have token data

Response

Backfill counts

Count of steps whose totalUsd was recomputed

updated
integer
required
total
integer
required