client.usage.get_llm_organization_summary
A method of the Usage endpoint.
- get_llm_organization_summary(org_id: int, *, start_date: str = None, end_date: str = None) Response
Get summarized usage statistics for a given organization
API URL:
GET /usage/llm/organization/{org_id}/summaryimport civis client = civis.APIClient() response = client.usage.get_llm_organization_summary(...)
- Parameters:
- org_idint
The ID of the organization to get usage statistics for.
- start_datestr, 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_datestr, 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.
- Returns:
civis.Response- creditsfloat (float)
The number of credits used.
- organization_idint
The organization for which LLM usage statistics are summarized.