View source: R/generated_client.R
usage_list_llm | R Documentation |
Get a list of usage statistics for a given organization
usage_list_llm(org_id = NULL, start_date = NULL, end_date = NULL)
org_id |
integer optional. The ID of the organization to get usage statistics for. |
start_date |
string optional. The start date of the range to get usage statistics for."\ "Defaults to the start of the current month if neither start_date nor end_date is specified. |
end_date |
string optional. The end date of the range to get usage statistics for."\ "Defaults to the end of the current day if neither start_date nor end_date is specified. |
An array containing the following fields:
id |
integer, The ID of the usage statistic to get. |
runId |
integer, The ID of the run which contributed this usage. |
jobId |
integer, The ID of the job which contributed this usage. |
userId |
integer, The ID of the user who contributed this usage. |
organizationId |
integer, The organization of the user who contributed this usage. |
runCreatedAt |
string, When the run was created at. |
runTime |
integer, The duration of the run in seconds. |
credits |
number, The number of credits used. |
inputTokens |
integer, The number of tokens input to the run. |
outputTokens |
integer, The number of tokens output from the run. |
modelId |
string, The ID of the LLM model used. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.