UsageRecord
UsageRecord
type
agent_run for Agent Run charges, validation for Validation charges. Agent Run charges include Prompt executions and document processing. Records may be split by cost type or credit grant, so multiple agent_run records can share a run_id. New values may be added in the future.
workspace_id
agent_id
run_id
user
created
credits_used
credits_used across all pages of agent_run records with the same run_id, including Prompt re-executions. Filters limit which usage is included.
validation_id
ListUsageRecordsResponse
ListUsageRecordsResponse
records
total_pages
page_number and page_size to control which Usage Records are fetched.
