Coregit
API Reference

Usage & Billing

Monitor API usage and understand billing tiers.

Get Usage Summary

GET /v1/usage

Optional query: ?period=2025-03 (format: YYYY-MM, defaults to current month).

Response 200:

{
  "period": "2025-03",
  "api_calls": 4521,
  "repos_created": 3,
  "git_transfer_bytes": 1048576,
  "storage_bytes": 5242880
}

Get Usage Details

GET /v1/usage/details?limit=100&offset=0
  • limit — Max results (default: 100, max: 500)
  • offset — Skip items (default: 0)

Response 200:

{
  "events": [
    {
      "id": 1,
      "event_type": "api_call",
      "quantity": 1,
      "metadata": null,
      "recorded_at": "2025-03-15T12:00:00Z"
    }
  ],
  "limit": 100,
  "offset": 0
}

Tiers

FreeUsage
Repos5Unlimited
API calls10,000 / monthUnlimited
Git transfer5 GB / monthUnlimited
Storage1 GBUnlimited
Price$0Pay-as-you-go

Upgrade to the Usage tier from your Dashboard.

On this page