internal
Internal Update Run Stats
Changed onUpdate token/cost stats on a run (for margin monitoring).
Credit deduction happens at task pickup, not here. This endpoint only records cost_usd for internal tracking. A v3 turn's stream_stats (spec 2026-09-30 MODEL_CALL_STALL_GUARD §3.2) is merged into runs.extra_metadata.
put/internal/runs/{run_id}/stats
Request
- Base URL: https://api.nanocorp.so (the document declares no server; this is the origin it was published from)
- URL: https://api.nanocorp.so/internal/runs/{run_id}/stats
- Auth: HTTP bearer
Path parameters
run_idstring uuid required
Request body
Response
Successful Response
Changes
- info
added the new optional request property
//
- info
- info
added the new optional request property
- info