OPENAPI / COMPONENTS / SCHEMAS

Usage Completions Result data structure

UsageCompletionsResult

Structural definition for Usage Completions Result in the OpenAI API contract.

object22properties
api_key_idstring

api key id value in the OpenAI API contract.

batchstring

batch value in the OpenAI API contract.

input_audio_tokensinteger

input audio tokens value in the OpenAI API contract.

input_cache_write_tokensinteger

input cache write tokens value in the OpenAI API contract.

input_cached_audio_tokensinteger

input cached audio tokens value in the OpenAI API contract.

input_cached_image_tokensinteger

input cached image tokens value in the OpenAI API contract.

input_cached_text_tokensinteger

input cached text tokens value in the OpenAI API contract.

input_cached_tokensinteger

input cached tokens value in the OpenAI API contract.

input_image_tokensinteger

input image tokens value in the OpenAI API contract.

input_text_tokensinteger

input text tokens value in the OpenAI API contract.

input_tokensintegerrequired

input tokens value in the OpenAI API contract.

input_uncached_tokensinteger

input uncached tokens value in the OpenAI API contract.

modelstring

model value in the OpenAI API contract.

num_model_requestsintegerrequired

num model requests value in the OpenAI API contract.

objectstringrequired

object value in the OpenAI API contract.

output_audio_tokensinteger

output audio tokens value in the OpenAI API contract.

output_image_tokensinteger

output image tokens value in the OpenAI API contract.

output_text_tokensinteger

output text tokens value in the OpenAI API contract.

output_tokensintegerrequired

output tokens value in the OpenAI API contract.

project_idstring

project id value in the OpenAI API contract.

service_tierstring

service tier value in the OpenAI API contract.

user_idstring

user id value in the OpenAI API contract.