Skip to content

Conversation

@seratch
Copy link
Member

@seratch seratch commented Nov 21, 2025

This pull request resolves #678

@changeset-bot
Copy link

changeset-bot bot commented Nov 21, 2025

🦋 Changeset detected

Latest commit: 0fae5ae

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@openai/agents-extensions Patch
@openai/agents-openai Patch
@openai/agents-core Patch
@openai/agents Patch
@openai/agents-realtime Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@seratch seratch added this to the 0.3.x milestone Nov 21, 2025
/**
* The usage aggregated for this run. This includes per-request breakdowns when available.
*/
get usage(): Usage {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

currently there is no public property/method to access the usage data of an agent run. so, i've added this method this time

@seratch seratch merged commit 22865ae into main Nov 21, 2025
5 checks passed
@seratch seratch deleted the issue-678-per-request-usage branch November 21, 2025 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a list of per-request usage data to Usage

2 participants