client.usage.list_llm_organization_summary
A method of the Usage endpoint.
- list_llm_organization_summary(org_id: int, *, start_date: str = None, end_date: str = None) ListResponse
Get summarized usage statistics for a given organization
API URL:
GET /usage/llm/organization/{org_id}/summaryimport civis client = civis.APIClient() response = client.usage.list_llm_organization_summary(...)
Warning
The method name
<client>.usage.list_llm_organization_summaryis deprecated and will be removed at civis-python v3.0.0 (scheduled for February 2027). Please switch to<client>.usage.get_llm_organization_summaryfor the same method.- 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.