ClockNext: verify signal (dry run)
clocknext_verify_signalValidate and price a usage signal without recording it — a dry run that returns projected cost, credits, and applied rules to confirm billing setup before sending real traffic.
Instructions
Validate and PRICE a usage signal WITHOUT recording it — a dry run. Returns the projected usage log (cost, credits drawn, applied rules) so you can confirm the customer, model, and plan are wired up correctly before sending real traffic. Records nothing and never bills.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Which meter to record against: 'wallet' debits USD at the model's cost; 'credit' draws down a named credit; 'outcome' advances one step of a workflow. | |
| model | Yes | Catalog model id (e.g. 'gpt-4o'), matched case-insensitively. Use clocknext_list_models to see valid ids. | |
| member | No | Optional customer-member email to attribute the usage to. | |
| agentKey | No | Required for type 'credit' (the credit's agent key) or 'outcome' (the outcome step's agent key). Ignored for 'wallet'. | |
| customerId | Yes | The ClockNext customer id (e.g. cus_…) this usage belongs to. | |
| cacheTokens | No | Cached (prompt-cache) tokens; defaults to 0 when omitted. | |
| inputTokens | Yes | Prompt tokens for this call. | |
| outputTokens | Yes | Completion tokens for this call. |