Learn R Programming

civis (version 3.1.3)

usage_get_llm: Get an individual usage statistic for a given organization

Description

Get an individual usage statistic for a given organization

Usage

usage_get_llm(id)

Value

A list containing the following elements:

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.

Arguments

id

integer required. The ID of the usage statistic to get.