How to retrieve the AI Consumption of AI Credits of the opened session

Open
#2,121 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
java
Domain
api

Research direction

The issue names no file or test; begin with the SDK's opened-session entry point and trace how the current session represents its main agent and subagent. Determine whether AI credit consumption is exposed, and consider the work complete when retrieval behavior or its unsupported/planned status is clearly documented.

Written by the indexing model from the issue text.

Description

question

Hello

I would like to retrieve the number of ai credits consumed by the current session (main agent + subagent). Is it possible ? If yes how ? If no, is it planned ?

Dominant language
Java
Stars
10.5k
Forks
1.5k
Avg merge
1d 12h
Merged PRs (30d)
133

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/copilot-sdk

All issues in github/copilot-sdk

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.