Get input token counts
Changed onReturns input token counts of the request.
Returns an object with object set to response.input_tokens and an input_tokens count.
Request
- Base URLhttps://api.openai.com/v1
- URLhttps://api.openai.com/v1/responses/input_tokens
- AuthHTTP bearer
Request body
Response
Success
Example response
{
"object": "response.input_tokens",
"input_tokens": 123
}Changes
- info
added the new optional request property
////////// - info
added the new optional request property
////////// - info
added the new optional request property
////////// - info
added the new optional request property
////////// - info
added the new optional request property
////////// - info
added the new optional request property
////////// - info
added the new optional request property
/////////// - info
added the new optional request property
/////////// - info
added the new optional request property
///////////
- info
- info
the
request property default value changed fromgpt-image-1togpt-image-2 - info
the
request property default value changed fromgpt-image-1togpt-image-2 - info
the
request property default value changed fromgpt-image-1togpt-image-2
- info