GitHub Copilot usage API

Organisation kestrel. Base URL: this host. Data is per user per day, US Central dates, through yesterday.

Authentication

Send Authorization: Bearer <token> on every call. Kestrel's read-only token is held by the Data Platform Lead; never commit it.

Rate limit

60 calls a minute per token. Over the limit you get 429 with a Retry-After header in seconds.

GET /orgs/kestrel/copilot/usage

Query: since and until (inclusive, YYYY-MM-DD, at most 90 days back), page (from 1). 100 rows a page. The next page is in the Link header (rel="next"); the last page has none.

{"total_count": 5868, "usage": [{"day": "2026-10-12", "login": "kmm-ana-chen", "editor": "vscode",
  "suggestions_count": 212, "acceptances_count": 61, "lines_accepted": 140, "chat_turns": 7}]}

login is the person's GitHub login. Days with no activity have no row.

GET /orgs/kestrel/copilot/seats

{"total_seats": 120, "seats": [{"login": "kmm-ana-chen", "plan_type": "business",
  "created_at": "2026-03-04", "monthly_cost_usd": 19.0}]}

Copilot Business is billed at $19 per seat per month for every assigned seat, whether or not it is used.