Get input token counts
Returns input token counts of the request.
Returns an object with object set to response.input_tokens and an input_tokens count.
Headers
Optional beta features to enable for this request.
Request body
Response
Success
Example response
{
"object": "response.input_tokens",
"input_tokens": 123
}Changes
Changed in 2 of the 31 revisions of this API.21
- ▲
removed
subschema #1subschema #2subschema #3from theinput/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[BetaMultiAgentCallOutputItemParam]/output/items/annotationsrequest propertyanyOflistrequest-property-any-of-removed
- ▲
the
input/anyOf[subschema #1]/anyOf[subschema #2]/items/anyOf[subschema #2: Item]/anyOf[BetaMultiAgentCallOutputItemParam]/output/items/annotationsrequest property type/format changed from/toarray/request-property-type-changed
- ▲
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○