@extends('crm.layouts.master') @section('title', 'AI Usage') @section('main-content')
| Surface | Requests | Cost |
|---|---|---|
| {{ str_replace('_',' ',ucfirst($row->surface)) }} | {{ number_format($row->requests) }} | ${{ number_format($row->cost, 4) }} |
| No usage | ||
| Model | Tokens | Cost |
|---|---|---|
| {{ $row->model }} | {{ number_format($row->tokens) }} | ${{ number_format($row->cost, 4) }} |
| No usage | ||
| Actor | Requests | Cost |
|---|---|---|
| {{ $actorLabel($row) }} | {{ number_format($row->requests) }} | ${{ number_format($row->cost, 4) }} |
| No usage | ||
| UTC time | Actor | Surface | Model | Status | Tokens | Searches | Est. cost | Request ID |
|---|---|---|---|---|---|---|---|---|
| {{ $audit->created_at?->utc()->format('Y-m-d H:i:s') }} | {{ $actorLabel($audit) }}@if($audit->impersonator_user_id) Impersonated by user #{{ $audit->impersonator_user_id }} @endif |
{{ str_replace('_',' ',ucfirst($audit->surface)) }} | {{ $audit->model }} | {{ ucfirst($audit->status) }}@if($audit->error_code) {{ $audit->error_code }} @endif |
{{ number_format($audit->total_tokens) }} {{ number_format($audit->input_tokens) }} in / {{ number_format($audit->output_tokens) }} out |
{{ number_format($audit->web_search_calls) }} | ${{ number_format((float)$audit->estimated_cost_usd, 6) }} | {{ $audit->provider_request_id ?: '—' }} |
| No AI requests for this period. | ||||||||