---
title: "Refresh Monthly Metrics"
method: POST
path: "/api/v1/internal/cron/monthly"
tags: ["internal-cron"]
---

# Refresh Monthly Metrics

`POST /api/v1/internal/cron/monthly`

## Request

- Base URL: `https://api.seoproai.co`
- URL: `https://api.seoproai.co/api/v1/internal/cron/monthly`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://dajosjnaalanhqksxrpe.supabase.co/auth/v1/authorize`, token URL `https://dajosjnaalanhqksxrpe.supabase.co/auth/v1/token`)

Reset backlink credits and refresh Domain Rating + backlink_summary for all websites.

This endpoint is intended to be triggered by a trusted scheduler (Supabase Edge
Function). Simple header-based auth is used to keep things lightweight.

## Headers

- `x-cron-secret` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/seoproai/apis/seopro-ai.md) · [All operations](https://skmtc.dev/seoproai/apis/seopro-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/seoproai/apis/seopro-ai/revisions/5b4b6391ddc9?raw)
