API Reference
Log In
API Reference

Get the savings a team can get back from its coding assistants

Savings a team can get back from its coding assistants, ranked, with totals already worked out, spend to inspect and the latest AI Insights savings items. Copy the totals; never add rows up. With level=department, one row per department instead, ranked by its own figure: a monthly floor that does not add up to the totals; read departmentSetup first, and page through departments with page and size. Use only for questions about saving money, waste or what to change; not for spend totals. Not yet enabled in every region.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
enum

Only this coding assistant: claude-code, claude-cowork, codex-cli, cursor-ide or github-copilot. Omit it for every assistant with usage in the window.

Allowed:
date-time

Start of the window, ISO 8601 in UTC. Defaults to 30 days before endDate. The window may span at most 366 days.

date-time

End of the date range, ISO 8601 in UTC. Defaults to now.

string
enum
Defaults to person

person (the default) lists each saving with the people it comes from. department lists one row per top-level department instead, ranked by what it can save a month, with each finding behind it, and names nobody.

Allowed:
integer | null
≥ 0
Defaults to 0

With level=department, which page of departments to return, 0-based: page 1 is the next size departments after page 0. Ignored at level=person.

integer
≤ 100
Defaults to 20

With level=department, how many departments a page returns (default 20, at most 100). Ignored at level=person.

string

Hashed id of the team to answer for. Optional. With a user token it may be any team the user belongs to; without it the user's default team answers. An API key always answers for its own team, and naming any other team is refused with 403.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
API Key
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json