OPENAPI / COMPONENTS / SCHEMAS
Usage Completions Result data structure
UsageCompletionsResultStructural definition for Usage Completions Result in the OpenAI API contract.
api_key_idstringapi key id value in the OpenAI API contract.
batchstringbatch value in the OpenAI API contract.
input_audio_tokensintegerinput audio tokens value in the OpenAI API contract.
input_cache_write_tokensintegerinput cache write tokens value in the OpenAI API contract.
input_cached_audio_tokensintegerinput cached audio tokens value in the OpenAI API contract.
input_cached_image_tokensintegerinput cached image tokens value in the OpenAI API contract.
input_cached_text_tokensintegerinput cached text tokens value in the OpenAI API contract.
input_cached_tokensintegerinput cached tokens value in the OpenAI API contract.
input_image_tokensintegerinput image tokens value in the OpenAI API contract.
input_text_tokensintegerinput text tokens value in the OpenAI API contract.
input_tokensintegerrequiredinput tokens value in the OpenAI API contract.
input_uncached_tokensintegerinput uncached tokens value in the OpenAI API contract.
modelstringmodel value in the OpenAI API contract.
num_model_requestsintegerrequirednum model requests value in the OpenAI API contract.
objectstringrequiredobject value in the OpenAI API contract.
output_audio_tokensintegeroutput audio tokens value in the OpenAI API contract.
output_image_tokensintegeroutput image tokens value in the OpenAI API contract.
output_text_tokensintegeroutput text tokens value in the OpenAI API contract.
output_tokensintegerrequiredoutput tokens value in the OpenAI API contract.
project_idstringproject id value in the OpenAI API contract.
service_tierstringservice tier value in the OpenAI API contract.
user_idstringuser id value in the OpenAI API contract.