Check how much API budget is left, per resource. core covers most of this pack, search is the 30-per-minute budget the search tools spend, and code_search is narrower still. This request does not itself count against any of them, so it is safe to call before a long walk.