Skip to main content
POST
/
billing
/
rebuild-cache
Rebuild usage cache
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.prudra.dev/billing/rebuild-cache', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "rebuilt": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.prudra.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Your Prudra API key. Get one at dashboard.prudra.com/settings/api-keys

Response

200 - application/json

Cache rebuilt

rebuilt
boolean