Skip to main content
POST
/
api
/
logs
/
recalculate-cost
Error
A valid request URL is required to generate request examples
{
  "total_matched": 123,
  "updated": 123,
  "skipped": 123,
  "remaining": 123
}

Authorizations

Authorization
string
header
required

Management API authentication for /api/* endpoints. Use the Authorization header with Bearer <API key>. Virtual keys, dashboard/user/session tokens, and x-api-key headers are not supported on management APIs.

Body

application/json

Recalculate cost request

filters
object

Log search filters

limit
integer

Maximum number of logs to process (default 200, max 1000)

Response

Costs recalculated successfully

Recalculate cost response

total_matched
integer
updated
integer
skipped
integer
remaining
integer