Repository navigation
Commit 5e7a23e
authored
feat(api): add organization Decisions usage reporting (#4062)
## Summary
Query organization-wide Decisions API usage with the Python client.
## Changes
- Add synchronous and asynchronous Decisions usage queries with list
filters, grouping, and page cursors.
- Read token counts, model request totals, and optional usage-source
attribution.
Co-authored-by: jbeckwith-oai <[email protected]>1 parent 3c50399 commit 5e7a23e
8 files changed
Lines changed: 945 additions & 8 deletions
File tree
- api_reference
- src/openai
- resources/admin/organization
- types/admin/organization
- tests/api_resources/admin/organization
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1399 | 1399 | | |
1400 | 1400 | | |
1401 | 1401 | | |
| 1402 | + | |
1402 | 1403 | | |
1403 | 1404 | | |
1404 | 1405 | | |
| |||
1415 | 1416 | | |
1416 | 1417 | | |
1417 | 1418 | | |
| 1419 | + | |
1418 | 1420 | | |
1419 | 1421 | | |
1420 | 1422 | | |
| |||
0 commit comments