> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kylon.io/llms.txt
> Use this file to discover all available pages before exploring further.

# credit

> Inspect credit usage and manage credit policies.

```text theme={null}
kylon workspace credit — kylon workspace help detail

credit — workspace credit usage and limits
  kylon workspace credit usage [summary] [--since <duration|iso_timestamp>] [--until <iso_timestamp>] [--by usage|metering|workflow|activation|room|session] [--metering all|agent|script|compute] [--limit <n>]
    Inspect workspace display-credit consumption. Defaults to the last 24 hours grouped by metering class.
  kylon workspace credit script
    Show daily and monthly workspace credit limits for API calls made by code.
  kylon workspace credit script --daily <display_credits>
    Set the daily code-run API credit limit after the user explicitly approves continuing.
  kylon workspace credit script --monthly <display_credits>
    Set the current billing-period code-run API credit limit after the user explicitly approves continuing.
  kylon workspace credit script --default
    Reset code-run API credit limits to defaults.
  kylon workspace credit budget show --scope workflow --id <workflow_id>
    Show the workflow credit budget policy.
  kylon workspace credit budget set --scope workflow --id <workflow_id> [--daily <credits|default>] [--weekly <credits|default>] [--monthly <credits|default>] [--action warn|pause] [--status active|disabled]
    Update the workflow budget policy. Workflow budgets keep their existing warn/pause behavior.
  All limits are display credits. Code-run API calls receive a 429 with credit details when a limit is reached.

Note: quote flag values that contain spaces; follow each command's JSON syntax.
```
