Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.09 KB

File metadata and controls

34 lines (25 loc) · 1.09 KB

UserUsageResponse

Per-user usage snapshot.

Properties

Name Type Description Notes
user_id UUID
period_start datetime
period_end datetime
tokens_used_this_period int
documents_processed_this_period int

Example

from ksapi.models.user_usage_response import UserUsageResponse

# TODO update the JSON string below
json = "{}"
# create an instance of UserUsageResponse from a JSON string
user_usage_response_instance = UserUsageResponse.from_json(json)
# print the JSON string representation of the object
print(UserUsageResponse.to_json())

# convert the object into a dict
user_usage_response_dict = user_usage_response_instance.to_dict()
# create an instance of UserUsageResponse from a dict
user_usage_response_from_dict = UserUsageResponse.from_dict(user_usage_response_dict)

[Back to Model list] [Back to API list] [Back to README]