jobs
Backfill token usage from AgentsView payloads
post/api/tokens/backfill
Request body
Example request
{
"$schema": "https://example.com/BackfillTokensRequest.json"
}Response
OK
Example response
{
"$schema": "https://example.com/TokenSummary.json"
}Changes
Changed in 3 of the 23 revisions of this API.23
- ○
added the new optional request property
sessions/items/costnew-optional-request-property
- ○
- ○
added the new optional request property
sessions/items/cached_input_tokensnew-optional-request-property
- ○
added the new optional request property
sessions/items/input_tokensnew-optional-request-property
- ○
- ●
removed the request property
sessions/items/cached_input_tokensrequest-property-removed
- ●
removed the request property
sessions/items/input_tokensrequest-property-removed
This revision also has 13 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●