External Publication
Visit Post

Issue With Costs API Pagination – Invalid Page Token Returned

OpenAI Developer Community March 30, 2026
Source

Just to add a datapoint, I am still getting the error message. Passing the parameters start_time, end_time, bucket_width: “1d”,group_by: “line_item”, page: and on the first request it’s fine and when using the next_page I always get the error about invalid page token.

Discussion in the ATmosphere

Loading comments...