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

# Billing bootstrap

> Everything the billing screen needs in one request — wallet, plan, a twelve-month usage window and the current controls. Built so a dashboard does not have to fan out to eight endpoints on load. Each block carries its own `state`, so one slow source degrades a section rather than failing the response.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/accounts/{account_id}/billing/bootstrap
openapi: 3.0.4
info:
  title: Tied API
  description: >-
    The Tied REST API. Three families of endpoint, each with its own credential:
    **Application** for everything inside an account, **Platform** for
    provisioning accounts and users, and **Client** for acting as a contact from
    your own surface.
  version: 1.1.0
  termsOfService: https://tied.com/legal
  contact:
    email: hello@tied.com
  license:
    name: MIT License
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://app.tied.com
    description: Tied cloud
security: []
tags:
  - name: Account AgentBots
    description: Account-specific Agent Bots
  - name: Agents
    description: Agent management APIs
  - name: Canned Responses
    description: Pre-defined responses for common queries
  - name: Contacts
    description: Contact management APIs
  - name: Contact Labels
    description: Manage contact labels
  - name: Conversation Assignments
    description: Manage conversation assignments
  - name: Conversation Labels
    description: Manage conversation labels
  - name: Conversations
    description: Conversation management APIs
  - name: Custom Attributes
    description: Custom fields for contacts and conversations
  - name: Custom Filters
    description: Saved filters for conversations
  - name: Inboxes
    description: Communication channels setup
  - name: Integrations
    description: Third-party integrations
  - name: Messages
    description: Message management APIs
  - name: Profile
    description: User profile APIs
  - name: Reports
    description: Analytics and reporting APIs
  - name: Teams
    description: Team management APIs
  - name: Webhooks
    description: Event notification webhooks
  - name: Automation Rule
    description: Workflow automation rules
  - name: Help Center
    description: Knowledge base management
  - name: Contacts API
    description: Public contact APIs
  - name: Conversations API
    description: Public conversation APIs
  - name: Messages API
    description: Public message APIs
  - name: CSAT Survey Page
    description: Customer satisfaction survey
  - name: Account
    description: >-
      The authenticated user's own account — read and update account settings.
      Distinct from the Platform family's **Accounts**, which provisions
      accounts across an installation.
  - name: Audit Logs
    description: Read the account's audit trail
  - name: Inbox API
    description: Public inbox lookup by channel identifier
  - name: Labels
    description: >-
      Create and manage the account's labels. Applying one to a conversation or
      contact is a separate endpoint under those resources.
  - name: Macros
    description: >-
      Saved multi-step actions an agent — or an integration — can run against
      one or more conversations.
  - name: Campaigns
    description: Ongoing website campaigns and one-off SMS and WhatsApp sends.
  - name: Contact Notes
    description: Internal notes on a contact. Never visible to the contact.
  - name: Help Center Categories
    description: Categories group a portal's articles, one tree per allowed locale.
  - name: Help Center Articles
    description: The articles a portal publishes, and their draft and archived states.
  - name: Summary Reports
    description: Per-agent, per-team, per-inbox and per-label totals for a period, as JSON.
  - name: Live Reports
    description: Right-now queue counts. No date range — these describe the present.
  - name: CSAT
    description: >-
      The satisfaction ratings contacts have submitted, and the metrics computed
      from them.
  - name: Notifications
    description: >-
      The per-user notification feed, its read and snooze state, and the
      settings that decide what lands in it.
  - name: Conversation Participants
    description: >-
      The agents watching a conversation. Participants get notified about it
      without being assigned to it.
  - name: Draft Messages
    description: >-
      The unsent reply held for a conversation. Stored in Redis, one per
      conversation.
  - name: Search
    description: >-
      One search service across conversations, contacts, messages and Help
      Center articles.
  - name: Dashboard Apps
    description: Embedded pages that appear as a tab beside a conversation.
  - name: Assignment Policies
    description: How conversations are handed out, and which inbox uses which policy.
  - name: Files
    description: Storing a file so another endpoint can attach it.
  - name: Bot Flows
    description: >-
      Scripted conversation flows, their versions, and the publish and rollback
      that move between them.
  - name: Billing
    description: >-
      Credit balance, usage, invoices, spend controls and the provider-hosted
      payment flows.
  - name: AMB Templates
    description: >-
      Saved Apple Messages primitive payloads an agent can reuse from the
      composer.
  - name: AMB Onboarding
    description: The in-flight Apple Messages for Business registration for an account.
  - name: Widget Session
    description: Starting a widget session and reading the visitor it belongs to.
  - name: Widget Conversation
    description: The visitor's conversation and its messages.
  - name: Widget Context
    description: Campaigns, agents, labels, events and uploads for a widget session.
  - name: CSAT Survey
    description: The public, unauthenticated survey a contact answers from a link.
  - name: Workspace
    description: Scheduling and cancelling deletion of the whole workspace.
paths:
  /api/v1/accounts/{account_id}/billing/bootstrap:
    parameters:
      - $ref: '#/components/parameters/account_id'
    get:
      tags:
        - Billing
      summary: Billing bootstrap
      description: >-
        Everything the billing screen needs in one request — wallet, plan, a
        twelve-month usage window and the current controls. Built so a dashboard
        does not have to fan out to eight endpoints on load. Each block carries
        its own `state`, so one slow source degrades a section rather than
        failing the response.
      operationId: get-billing-bootstrap
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                description: >-
                  Composite payload; each block mirrors the dedicated endpoint
                  for that data.
                additionalProperties: true
              example:
                schema_version: '1'
                account_id: 1
                generated_at: '2026-09-21T04:24:39.210116Z'
                source: postgres
                timezone: UTC
                window:
                  start: '2025-10-01T00:00:00.000000Z'
                  end: '2026-10-01T00:00:00.000000Z'
                  months:
                    - 2025-10
                    - 2025-11
                wallet:
                  state: loaded
                  source: postgres
                  held_credits: '37.0'
                  buckets:
                    - feature_id: free_ai
                      held_credits: '12.0'
                    - feature_id: purchased
                      held_credits: '25.0'
                  balances_state: provider_live
                  peg_dollars: '0.1'
                  resolution_reference_dollars: '0.5'
                  top_up_limits:
                    min_cents: 100
                    max_cents: 1000000
                  dunning_state: null
                  pending_top_up: false
                  pending_outbox_events: true
                  fetched_at: '2026-09-21T04:24:39.210116Z'
                subscription:
                  state: loaded
                  source: postgres
                  plan_name: Business
                  subscribed_quantity: 3
                  subscription_ends_on: '2026-09-11T02:20:51Z'
                controls:
                  state: loaded
                  alert_preferences:
                    state:
                      event_types:
                        - dunning
                        - invoice
                      channels:
                        - email
                        - in_app
                      supported_event_types:
                        - low_balance
                        - spend_cap
                      supported_channels:
                        - email
                        - in_app
                    source: postgres
                    persisted: true
                    freshness:
                      source: postgres
                      as_of: 2026-08-08 22:04:52 UTC
                      state: fresh
                    eligibility:
                      eligible: true
                    dunning_state: null
                    pending: false
                    error: null
                  spend_caps:
                    state: provider_live
                    source: provider_live
                    configuration: null
                    eligibility: null
                    dunning_state: null
                  auto_top_up:
                    state: provider_live
                    configuration: null
                    dunning_state: null
                    pending: false
                  payment_methods:
                    state: provider_live
                    payment_methods: null
                    default_payment_method_id: null
                    auto_top_up_ready: null
                usage:
                  state: loaded
                  source: postgres
                  sections:
                    resolutions:
                      title: Resolutions
                      state: loaded
                      rows:
                        - key: knowledge
                          label: Knowledge
                          count: 6
                          credits: '24.0'
                          dollars: '2.1'
                          pricing_state: published
                        - key: read
                          label: Read
                          count: 7
                          credits: '29.0'
                          dollars: '3.5'
                          pricing_state: published
                      totals:
                        count: 29
                        credits: '225.0'
                        dollars: '23.1'
                      llm_passthrough:
                        credits: '0.0'
                        dollars: '0.0'
                        byok: false
                        itemized: []
                    channel_fees:
                      title: Channel Fees
                      state: loaded
                      rows:
                        - key: amb
                          label: Apple Messages
                          billable_unit: unknown
                          direction: outbound
                          count: 2
                          billable_quantity: null
                          mixtures: []
                          subtotals:
                            - billable_unit: unknown
                              count: 2
                              billable_quantity: null
                              credits: '100.0'
                              dollars: '10.0'
                          credits: '100.0'
                          dollars: '10.0'
                        - key: rcs
                          label: RCS
                          billable_unit: unknown
                          direction: outbound
                          count: 2
                          billable_quantity: null
                          mixtures: []
                          subtotals:
                            - billable_unit: unknown
                              count: 2
                              billable_quantity: null
                              credits: '100.0'
                              dollars: '10.0'
                          credits: '100.0'
                          dollars: '10.0'
                      totals:
                        count: 10
                        credits: '500.0'
                        dollars: '50.0'
                    other_variable_usage:
                      title: Other Variable Usage
                      state: empty
                      rows:
                        - key: ask_tied
                          label: Ask Tied
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                      totals:
                        count: 0
                        credits: '0.0'
                        dollars: '0.0'
                  months:
                    2025-10:
                      resolutions:
                        title: Resolutions
                        state: empty
                        rows:
                          - key: knowledge
                            label: Knowledge
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                            pricing_state: published
                          - key: read
                            label: Read
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                            pricing_state: published
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                        llm_passthrough:
                          credits: '0.0'
                          dollars: '0.0'
                          byok: false
                          itemized: []
                      channel_fees:
                        title: Channel Fees
                        state: empty
                        rows:
                          - key: amb
                            label: Apple Messages
                            billable_unit: message
                            direction: outbound
                            count: 0
                            billable_quantity: '0.0'
                            mixtures: []
                            subtotals: []
                            credits: '0.0'
                            dollars: '0.0'
                          - key: rcs
                            label: RCS
                            billable_unit: message
                            direction: outbound
                            count: 0
                            billable_quantity: '0.0'
                            mixtures: []
                            subtotals: []
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                      other_variable_usage:
                        title: Other Variable Usage
                        state: empty
                        rows:
                          - key: ask_tied
                            label: Ask Tied
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                    2025-11:
                      resolutions:
                        title: Resolutions
                        state: empty
                        rows:
                          - key: knowledge
                            label: Knowledge
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                            pricing_state: published
                          - key: read
                            label: Read
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                            pricing_state: published
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                        llm_passthrough:
                          credits: '0.0'
                          dollars: '0.0'
                          byok: false
                          itemized: []
                      channel_fees:
                        title: Channel Fees
                        state: empty
                        rows:
                          - key: amb
                            label: Apple Messages
                            billable_unit: message
                            direction: outbound
                            count: 0
                            billable_quantity: '0.0'
                            mixtures: []
                            subtotals: []
                            credits: '0.0'
                            dollars: '0.0'
                          - key: rcs
                            label: RCS
                            billable_unit: message
                            direction: outbound
                            count: 0
                            billable_quantity: '0.0'
                            mixtures: []
                            subtotals: []
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                      other_variable_usage:
                        title: Other Variable Usage
                        state: empty
                        rows:
                          - key: ask_tied
                            label: Ask Tied
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                    2025-12:
                      resolutions:
                        title: Resolutions
                        state: empty
                        rows:
                          - key: knowledge
                            label: Knowledge
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                            pricing_state: published
                          - key: read
                            label: Read
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                            pricing_state: published
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                        llm_passthrough:
                          credits: '0.0'
                          dollars: '0.0'
                          byok: false
                          itemized: []
                      channel_fees:
                        title: Channel Fees
                        state: empty
                        rows:
                          - key: amb
                            label: Apple Messages
                            billable_unit: message
                            direction: outbound
                            count: 0
                            billable_quantity: '0.0'
                            mixtures: []
                            subtotals: []
                            credits: '0.0'
                            dollars: '0.0'
                          - key: rcs
                            label: RCS
                            billable_unit: message
                            direction: outbound
                            count: 0
                            billable_quantity: '0.0'
                            mixtures: []
                            subtotals: []
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                      other_variable_usage:
                        title: Other Variable Usage
                        state: empty
                        rows:
                          - key: ask_tied
                            label: Ask Tied
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                    2026-01:
                      resolutions:
                        title: Resolutions
                        state: empty
                        rows:
                          - key: knowledge
                            label: Knowledge
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                            pricing_state: published
                          - key: read
                            label: Read
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                            pricing_state: published
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                        llm_passthrough:
                          credits: '0.0'
                          dollars: '0.0'
                          byok: false
                          itemized: []
                      channel_fees:
                        title: Channel Fees
                        state: empty
                        rows:
                          - key: amb
                            label: Apple Messages
                            billable_unit: message
                            direction: outbound
                            count: 0
                            billable_quantity: '0.0'
                            mixtures: []
                            subtotals: []
                            credits: '0.0'
                            dollars: '0.0'
                          - key: rcs
                            label: RCS
                            billable_unit: message
                            direction: outbound
                            count: 0
                            billable_quantity: '0.0'
                            mixtures: []
                            subtotals: []
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                      other_variable_usage:
                        title: Other Variable Usage
                        state: empty
                        rows:
                          - key: ask_tied
                            label: Ask Tied
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                    2026-02:
                      resolutions:
                        title: Resolutions
                        state: empty
                        rows:
                          - key: knowledge
                            label: Knowledge
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                            pricing_state: published
                          - key: read
                            label: Read
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                            pricing_state: published
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                        llm_passthrough:
                          credits: '0.0'
                          dollars: '0.0'
                          byok: false
                          itemized: []
                      channel_fees:
                        title: Channel Fees
                        state: empty
                        rows:
                          - key: amb
                            label: Apple Messages
                            billable_unit: message
                            direction: outbound
                            count: 0
                            billable_quantity: '0.0'
                            mixtures: []
                            subtotals: []
                            credits: '0.0'
                            dollars: '0.0'
                          - key: rcs
                            label: RCS
                            billable_unit: message
                            direction: outbound
                            count: 0
                            billable_quantity: '0.0'
                            mixtures: []
                            subtotals: []
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                      other_variable_usage:
                        title: Other Variable Usage
                        state: empty
                        rows:
                          - key: ask_tied
                            label: Ask Tied
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                    2026-03:
                      resolutions:
                        title: Resolutions
                        state: empty
                        rows:
                          - key: knowledge
                            label: Knowledge
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                            pricing_state: published
                          - key: read
                            label: Read
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                            pricing_state: published
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                        llm_passthrough:
                          credits: '0.0'
                          dollars: '0.0'
                          byok: false
                          itemized: []
                      channel_fees:
                        title: Channel Fees
                        state: empty
                        rows:
                          - key: amb
                            label: Apple Messages
                            billable_unit: message
                            direction: outbound
                            count: 0
                            billable_quantity: '0.0'
                            mixtures: []
                            subtotals: []
                            credits: '0.0'
                            dollars: '0.0'
                          - key: rcs
                            label: RCS
                            billable_unit: message
                            direction: outbound
                            count: 0
                            billable_quantity: '0.0'
                            mixtures: []
                            subtotals: []
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                      other_variable_usage:
                        title: Other Variable Usage
                        state: empty
                        rows:
                          - key: ask_tied
                            label: Ask Tied
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                    2026-04:
                      resolutions:
                        title: Resolutions
                        state: empty
                        rows:
                          - key: knowledge
                            label: Knowledge
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                            pricing_state: published
                          - key: read
                            label: Read
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                            pricing_state: published
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                        llm_passthrough:
                          credits: '0.0'
                          dollars: '0.0'
                          byok: false
                          itemized: []
                      channel_fees:
                        title: Channel Fees
                        state: empty
                        rows:
                          - key: amb
                            label: Apple Messages
                            billable_unit: message
                            direction: outbound
                            count: 0
                            billable_quantity: '0.0'
                            mixtures: []
                            subtotals: []
                            credits: '0.0'
                            dollars: '0.0'
                          - key: rcs
                            label: RCS
                            billable_unit: message
                            direction: outbound
                            count: 0
                            billable_quantity: '0.0'
                            mixtures: []
                            subtotals: []
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                      other_variable_usage:
                        title: Other Variable Usage
                        state: empty
                        rows:
                          - key: ask_tied
                            label: Ask Tied
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                    2026-05:
                      resolutions:
                        title: Resolutions
                        state: empty
                        rows:
                          - key: knowledge
                            label: Knowledge
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                            pricing_state: published
                          - key: read
                            label: Read
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                            pricing_state: published
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                        llm_passthrough:
                          credits: '0.0'
                          dollars: '0.0'
                          byok: false
                          itemized: []
                      channel_fees:
                        title: Channel Fees
                        state: empty
                        rows:
                          - key: amb
                            label: Apple Messages
                            billable_unit: message
                            direction: outbound
                            count: 0
                            billable_quantity: '0.0'
                            mixtures: []
                            subtotals: []
                            credits: '0.0'
                            dollars: '0.0'
                          - key: rcs
                            label: RCS
                            billable_unit: message
                            direction: outbound
                            count: 0
                            billable_quantity: '0.0'
                            mixtures: []
                            subtotals: []
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                      other_variable_usage:
                        title: Other Variable Usage
                        state: empty
                        rows:
                          - key: ask_tied
                            label: Ask Tied
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                    2026-06:
                      resolutions:
                        title: Resolutions
                        state: empty
                        rows:
                          - key: knowledge
                            label: Knowledge
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                            pricing_state: published
                          - key: read
                            label: Read
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                            pricing_state: published
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                        llm_passthrough:
                          credits: '0.0'
                          dollars: '0.0'
                          byok: false
                          itemized: []
                      channel_fees:
                        title: Channel Fees
                        state: empty
                        rows:
                          - key: amb
                            label: Apple Messages
                            billable_unit: message
                            direction: outbound
                            count: 0
                            billable_quantity: '0.0'
                            mixtures: []
                            subtotals: []
                            credits: '0.0'
                            dollars: '0.0'
                          - key: rcs
                            label: RCS
                            billable_unit: message
                            direction: outbound
                            count: 0
                            billable_quantity: '0.0'
                            mixtures: []
                            subtotals: []
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                      other_variable_usage:
                        title: Other Variable Usage
                        state: empty
                        rows:
                          - key: ask_tied
                            label: Ask Tied
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                    2026-07:
                      resolutions:
                        title: Resolutions
                        state: loaded
                        rows:
                          - key: knowledge
                            label: Knowledge
                            count: 4
                            credits: '14.0'
                            dollars: '1.4'
                            pricing_state: published
                          - key: read
                            label: Read
                            count: 7
                            credits: '29.0'
                            dollars: '3.5'
                            pricing_state: published
                        totals:
                          count: 22
                          credits: '166.0'
                          dollars: '17.2'
                        llm_passthrough:
                          credits: '0.0'
                          dollars: '0.0'
                          byok: false
                          itemized: []
                      channel_fees:
                        title: Channel Fees
                        state: loaded
                        rows:
                          - key: amb
                            label: Apple Messages
                            billable_unit: unknown
                            direction: outbound
                            count: 1
                            billable_quantity: null
                            mixtures: []
                            subtotals:
                              - billable_unit: unknown
                                count: 1
                                billable_quantity: null
                                credits: '99.0'
                                dollars: '9.9'
                            credits: '99.0'
                            dollars: '9.9'
                          - key: rcs
                            label: RCS
                            billable_unit: message
                            direction: outbound
                            count: 0
                            billable_quantity: '0.0'
                            mixtures: []
                            subtotals: []
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 3
                          credits: '297.0'
                          dollars: '29.7'
                      other_variable_usage:
                        title: Other Variable Usage
                        state: empty
                        rows:
                          - key: ask_tied
                            label: Ask Tied
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                    2026-08:
                      resolutions:
                        title: Resolutions
                        state: loaded
                        rows:
                          - key: knowledge
                            label: Knowledge
                            count: 2
                            credits: '10.0'
                            dollars: '0.7'
                            pricing_state: published
                          - key: read
                            label: Read
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                            pricing_state: published
                        totals:
                          count: 7
                          credits: '59.0'
                          dollars: '5.9'
                        llm_passthrough:
                          credits: '0.0'
                          dollars: '0.0'
                          byok: false
                          itemized: []
                      channel_fees:
                        title: Channel Fees
                        state: loaded
                        rows:
                          - key: amb
                            label: Apple Messages
                            billable_unit: unknown
                            direction: outbound
                            count: 1
                            billable_quantity: null
                            mixtures: []
                            subtotals:
                              - billable_unit: unknown
                                count: 1
                                billable_quantity: null
                                credits: '1.0'
                                dollars: '0.1'
                            credits: '1.0'
                            dollars: '0.1'
                          - key: rcs
                            label: RCS
                            billable_unit: unknown
                            direction: outbound
                            count: 2
                            billable_quantity: null
                            mixtures: []
                            subtotals:
                              - billable_unit: unknown
                                count: 2
                                billable_quantity: null
                                credits: '100.0'
                                dollars: '10.0'
                            credits: '100.0'
                            dollars: '10.0'
                        totals:
                          count: 7
                          credits: '203.0'
                          dollars: '20.3'
                      other_variable_usage:
                        title: Other Variable Usage
                        state: empty
                        rows:
                          - key: ask_tied
                            label: Ask Tied
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                    2026-09:
                      resolutions:
                        title: Resolutions
                        state: empty
                        rows:
                          - key: knowledge
                            label: Knowledge
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                            pricing_state: published
                          - key: read
                            label: Read
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                            pricing_state: published
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                        llm_passthrough:
                          credits: '0.0'
                          dollars: '0.0'
                          byok: false
                          itemized: []
                      channel_fees:
                        title: Channel Fees
                        state: empty
                        rows:
                          - key: amb
                            label: Apple Messages
                            billable_unit: message
                            direction: outbound
                            count: 0
                            billable_quantity: '0.0'
                            mixtures: []
                            subtotals: []
                            credits: '0.0'
                            dollars: '0.0'
                          - key: rcs
                            label: RCS
                            billable_unit: message
                            direction: outbound
                            count: 0
                            billable_quantity: '0.0'
                            mixtures: []
                            subtotals: []
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                      other_variable_usage:
                        title: Other Variable Usage
                        state: empty
                        rows:
                          - key: ask_tied
                            label: Ask Tied
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                        totals:
                          count: 0
                          credits: '0.0'
                          dollars: '0.0'
                drilldowns:
                  state: loaded
                  source: postgres
                  sections:
                    resolutions:
                      rows:
                        knowledge:
                          label: Knowledge
                          events:
                            - id: 6
                              occurred_at: '2026-08-02T20:38:20Z'
                              conversation:
                                id: null
                                label: Unknown
                                url: null
                                exists: false
                              channel:
                                key: null
                                label: Unknown
                              inbox:
                                id: null
                                name: Unknown
                              resolver:
                                key: demo-seed-resolver
                                label: Demo seed resolver
                              outcome:
                                key: answered
                                label: Answered
                              resolution_class:
                                key: knowledge
                                label: Knowledge
                              unit_price: '0.35'
                              credits: '5.0'
                              dollars: '0.35'
                              pricing_state: published
                              llm:
                                mode: null
                                byok: false
                                passthrough_credits: null
                                passthrough_dollars: null
                                line_items: []
                            - id: 5
                              occurred_at: '2026-08-01T20:38:20Z'
                              conversation:
                                id: null
                                label: Unknown
                                url: null
                                exists: false
                              channel:
                                key: null
                                label: Unknown
                              inbox:
                                id: null
                                name: Unknown
                              resolver:
                                key: demo-seed-resolver
                                label: Demo seed resolver
                              outcome:
                                key: answered
                                label: Answered
                              resolution_class:
                                key: knowledge
                                label: Knowledge
                              unit_price: '0.35'
                              credits: '5.0'
                              dollars: '0.35'
                              pricing_state: published
                              llm:
                                mode: null
                                byok: false
                                passthrough_credits: null
                                passthrough_dollars: null
                                line_items: []
                          totals:
                            count: 6
                            credits: '24.0'
                            dollars: '2.1'
                            passthrough_credits: '0.0'
                            passthrough_dollars: '0.0'
                          months:
                            2025-10:
                              count: 0
                            2025-11:
                              count: 0
                            2025-12:
                              count: 0
                            2026-01:
                              count: 0
                            2026-02:
                              count: 0
                            2026-03:
                              count: 0
                            2026-04:
                              count: 0
                            2026-05:
                              count: 0
                            2026-06:
                              count: 0
                            2026-07:
                              count: 4
                            2026-08:
                              count: 2
                            2026-09:
                              count: 0
                        read:
                          label: Read
                          events:
                            - id: 4
                              occurred_at: '2026-07-31T20:38:20Z'
                              conversation:
                                id: null
                                label: Unknown
                                url: null
                                exists: false
                              channel:
                                key: null
                                label: Unknown
                              inbox:
                                id: null
                                name: Unknown
                              resolver:
                                key: demo-seed-resolver
                                label: Demo seed resolver
                              outcome:
                                key: answered
                                label: Answered
                              resolution_class:
                                key: read
                                label: Read
                              unit_price: '0.5'
                              credits: '3.0'
                              dollars: '0.5'
                              pricing_state: published
                              llm:
                                mode: null
                                byok: false
                                passthrough_credits: null
                                passthrough_dollars: null
                                line_items: []
                            - id: 3
                              occurred_at: '2026-07-30T20:38:20Z'
                              conversation:
                                id: null
                                label: Unknown
                                url: null
                                exists: false
                              channel:
                                key: null
                                label: Unknown
                              inbox:
                                id: null
                                name: Unknown
                              resolver:
                                key: demo-seed-resolver
                                label: Demo seed resolver
                              outcome:
                                key: answered
                                label: Answered
                              resolution_class:
                                key: read
                                label: Read
                              unit_price: '0.5'
                              credits: '3.0'
                              dollars: '0.5'
                              pricing_state: published
                              llm:
                                mode: null
                                byok: false
                                passthrough_credits: null
                                passthrough_dollars: null
                                line_items: []
                          totals:
                            count: 7
                            credits: '29.0'
                            dollars: '3.5'
                            passthrough_credits: '0.0'
                            passthrough_dollars: '0.0'
                          months:
                            2025-10:
                              count: 0
                            2025-11:
                              count: 0
                            2025-12:
                              count: 0
                            2026-01:
                              count: 0
                            2026-02:
                              count: 0
                            2026-03:
                              count: 0
                            2026-04:
                              count: 0
                            2026-05:
                              count: 0
                            2026-06:
                              count: 0
                            2026-07:
                              count: 7
                            2026-08:
                              count: 0
                            2026-09:
                              count: 0
                        write_simple:
                          label: Write Simple
                          events:
                            - id: 8
                              occurred_at: '2026-08-04T20:38:20Z'
                              conversation:
                                id: null
                                label: Unknown
                                url: null
                                exists: false
                              channel:
                                key: null
                                label: Unknown
                              inbox:
                                id: null
                                name: Unknown
                              resolver:
                                key: demo-seed-resolver
                                label: Demo seed resolver
                              outcome:
                                key: completed
                                label: Completed
                              resolution_class:
                                key: write_simple
                                label: Write Simple
                              unit_price: '0.7'
                              credits: '7.0'
                              dollars: '0.7'
                              pricing_state: published
                              llm:
                                mode: null
                                byok: false
                                passthrough_credits: null
                                passthrough_dollars: null
                                line_items: []
                            - id: 7
                              occurred_at: '2026-08-03T20:38:20Z'
                              conversation:
                                id: null
                                label: Unknown
                                url: null
                                exists: false
                              channel:
                                key: null
                                label: Unknown
                              inbox:
                                id: null
                                name: Unknown
                              resolver:
                                key: demo-seed-resolver
                                label: Demo seed resolver
                              outcome:
                                key: completed
                                label: Completed
                              resolution_class:
                                key: write_simple
                                label: Write Simple
                              unit_price: '0.7'
                              credits: '7.0'
                              dollars: '0.7'
                              pricing_state: published
                              llm:
                                mode: null
                                byok: false
                                passthrough_credits: null
                                passthrough_dollars: null
                                line_items: []
                          totals:
                            count: 6
                            credits: '42.0'
                            dollars: '4.2'
                            passthrough_credits: '0.0'
                            passthrough_dollars: '0.0'
                          months:
                            2025-10:
                              count: 0
                            2025-11:
                              count: 0
                            2025-12:
                              count: 0
                            2026-01:
                              count: 0
                            2026-02:
                              count: 0
                            2026-03:
                              count: 0
                            2026-04:
                              count: 0
                            2026-05:
                              count: 0
                            2026-06:
                              count: 0
                            2026-07:
                              count: 4
                            2026-08:
                              count: 2
                            2026-09:
                              count: 0
                        write_financial:
                          label: Write Financial
                          events:
                            - id: 10
                              occurred_at: '2026-08-06T20:38:20Z'
                              conversation:
                                id: null
                                label: Unknown
                                url: null
                                exists: false
                              channel:
                                key: null
                                label: Unknown
                              inbox:
                                id: null
                                name: Unknown
                              resolver:
                                key: demo-seed-resolver
                                label: Demo seed resolver
                              outcome:
                                key: completed
                                label: Completed
                              resolution_class:
                                key: write_financial
                                label: Write Financial
                              unit_price: '0.95'
                              credits: '10.0'
                              dollars: '0.95'
                              pricing_state: published
                              llm:
                                mode: null
                                byok: false
                                passthrough_credits: null
                                passthrough_dollars: null
                                line_items: []
                            - id: 9
                              occurred_at: '2026-08-05T20:38:20Z'
                              conversation:
                                id: null
                                label: Unknown
                                url: null
                                exists: false
                              channel:
                                key: null
                                label: Unknown
                              inbox:
                                id: null
                                name: Unknown
                              resolver:
                                key: demo-seed-resolver
                                label: Demo seed resolver
                              outcome:
                                key: completed
                                label: Completed
                              resolution_class:
                                key: write_financial
                                label: Write Financial
                              unit_price: '0.95'
                              credits: '10.0'
                              dollars: '0.95'
                              pricing_state: published
                              llm:
                                mode: null
                                byok: false
                                passthrough_credits: null
                                passthrough_dollars: null
                                line_items: []
                          totals:
                            count: 6
                            credits: '58.0'
                            dollars: '5.7'
                            passthrough_credits: '0.0'
                            passthrough_dollars: '0.0'
                          months:
                            2025-10:
                              count: 0
                            2025-11:
                              count: 0
                            2025-12:
                              count: 0
                            2026-01:
                              count: 0
                            2026-02:
                              count: 0
                            2026-03:
                              count: 0
                            2026-04:
                              count: 0
                            2026-05:
                              count: 0
                            2026-06:
                              count: 0
                            2026-07:
                              count: 4
                            2026-08:
                              count: 2
                            2026-09:
                              count: 0
                        orchestrated:
                          label: Orchestrated
                          events:
                            - id: 11
                              occurred_at: '2026-08-07T20:38:20Z'
                              conversation:
                                id: null
                                label: Unknown
                                url: null
                                exists: false
                              channel:
                                key: null
                                label: Unknown
                              inbox:
                                id: null
                                name: Unknown
                              resolver:
                                key: demo-seed-resolver
                                label: Demo seed resolver
                              outcome:
                                key: completed
                                label: Completed
                              resolution_class:
                                key: orchestrated
                                label: Orchestrated
                              unit_price: '1.9'
                              credits: '15.0'
                              dollars: '1.9'
                              pricing_state: published
                              llm:
                                mode: null
                                byok: false
                                passthrough_credits: null
                                passthrough_dollars: null
                                line_items: []
                            - id: 28
                              occurred_at: '2026-07-12T20:38:20Z'
                              conversation:
                                id: null
                                label: Unknown
                                url: null
                                exists: false
                              channel:
                                key: null
                                label: Unknown
                              inbox:
                                id: null
                                name: Unknown
                              resolver:
                                key: demo-seed-resolver
                                label: Demo seed resolver
                              outcome:
                                key: completed
                                label: Completed
                              resolution_class:
                                key: orchestrated
                                label: Orchestrated
                              unit_price: '1.9'
                              credits: '19.0'
                              dollars: '1.9'
                              pricing_state: published
                              llm:
                                mode: null
                                byok: false
                                passthrough_credits: null
                                passthrough_dollars: null
                                line_items: []
                          totals:
                            count: 4
                            credits: '72.0'
                            dollars: '7.6'
                            passthrough_credits: '0.0'
                            passthrough_dollars: '0.0'
                          months:
                            2025-10:
                              count: 0
                            2025-11:
                              count: 0
                            2025-12:
                              count: 0
                            2026-01:
                              count: 0
                            2026-02:
                              count: 0
                            2026-03:
                              count: 0
                            2026-04:
                              count: 0
                            2026-05:
                              count: 0
                            2026-06:
                              count: 0
                            2026-07:
                              count: 3
                            2026-08:
                              count: 1
                            2026-09:
                              count: 0
                        long_horizon_case:
                          label: Long Horizon Case
                          events: []
                          totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                            passthrough_credits: '0.0'
                            passthrough_dollars: '0.0'
                          months:
                            2025-10:
                              count: 0
                            2025-11:
                              count: 0
                            2025-12:
                              count: 0
                            2026-01:
                              count: 0
                            2026-02:
                              count: 0
                            2026-03:
                              count: 0
                            2026-04:
                              count: 0
                            2026-05:
                              count: 0
                            2026-06:
                              count: 0
                            2026-07:
                              count: 0
                            2026-08:
                              count: 0
                            2026-09:
                              count: 0
                    channel_fees:
                      rows:
                        amb:
                          label: Apple Messages
                          events:
                            - id: 35
                              occurred_at: '2026-08-07T20:38:20Z'
                              conversation:
                                id: null
                                label: Unknown
                                url: null
                                exists: false
                              channel:
                                key: amb
                                label: Apple Messages
                              inbox:
                                id: null
                                name: Unknown
                              direction:
                                key: outbound
                                label: Outbound
                              variant:
                                key: null
                                label: Unknown
                              billable_unit:
                                key: null
                                label: Unknown
                              billable_quantity: '1.0'
                              number_type:
                                key: null
                                label: Unknown
                              country: Unknown
                              unit_price: null
                              credits: '1.0'
                              dollars: '0.1'
                            - id: 40
                              occurred_at: '2026-07-29T20:38:20Z'
                              conversation:
                                id: null
                                label: Unknown
                                url: null
                                exists: false
                              channel:
                                key: amb
                                label: Apple Messages
                              inbox:
                                id: null
                                name: Unknown
                              direction:
                                key: outbound
                                label: Outbound
                              variant:
                                key: null
                                label: Unknown
                              billable_unit:
                                key: null
                                label: Unknown
                              billable_quantity: '99.0'
                              number_type:
                                key: null
                                label: Unknown
                              country: Unknown
                              unit_price: null
                              credits: '99.0'
                              dollars: '9.9'
                          totals:
                            count: 2
                            billable_unit: unknown
                            direction: outbound
                            billable_quantity: '100.0'
                            credits: '100.0'
                            dollars: '10.0'
                            subtotals:
                              - billable_unit: unknown
                                count: 2
                                billable_quantity: '100.0'
                                credits: '100.0'
                                dollars: '10.0'
                            mixtures: []
                          months:
                            2025-10:
                              count: 0
                            2025-11:
                              count: 0
                            2025-12:
                              count: 0
                            2026-01:
                              count: 0
                            2026-02:
                              count: 0
                            2026-03:
                              count: 0
                            2026-04:
                              count: 0
                            2026-05:
                              count: 0
                            2026-06:
                              count: 0
                            2026-07:
                              count: 1
                            2026-08:
                              count: 1
                            2026-09:
                              count: 0
                        rcs:
                          label: RCS
                          events:
                            - id: 31
                              occurred_at: '2026-08-03T20:38:20Z'
                              conversation:
                                id: null
                                label: Unknown
                                url: null
                                exists: false
                              channel:
                                key: rcs
                                label: RCS
                              inbox:
                                id: null
                                name: Unknown
                              direction:
                                key: outbound
                                label: Outbound
                              variant:
                                key: null
                                label: Unknown
                              billable_unit:
                                key: null
                                label: Unknown
                              billable_quantity: '1.0'
                              number_type:
                                key: null
                                label: Unknown
                              country: Unknown
                              unit_price: null
                              credits: '1.0'
                              dollars: '0.1'
                            - id: 36
                              occurred_at: '2026-08-02T20:38:20Z'
                              conversation:
                                id: null
                                label: Unknown
                                url: null
                                exists: false
                              channel:
                                key: rcs
                                label: RCS
                              inbox:
                                id: null
                                name: Unknown
                              direction:
                                key: outbound
                                label: Outbound
                              variant:
                                key: null
                                label: Unknown
                              billable_unit:
                                key: null
                                label: Unknown
                              billable_quantity: '99.0'
                              number_type:
                                key: null
                                label: Unknown
                              country: Unknown
                              unit_price: null
                              credits: '99.0'
                              dollars: '9.9'
                          totals:
                            count: 2
                            billable_unit: unknown
                            direction: outbound
                            billable_quantity: '100.0'
                            credits: '100.0'
                            dollars: '10.0'
                            subtotals:
                              - billable_unit: unknown
                                count: 2
                                billable_quantity: '100.0'
                                credits: '100.0'
                                dollars: '10.0'
                            mixtures: []
                          months:
                            2025-10:
                              count: 0
                            2025-11:
                              count: 0
                            2025-12:
                              count: 0
                            2026-01:
                              count: 0
                            2026-02:
                              count: 0
                            2026-03:
                              count: 0
                            2026-04:
                              count: 0
                            2026-05:
                              count: 0
                            2026-06:
                              count: 0
                            2026-07:
                              count: 0
                            2026-08:
                              count: 2
                            2026-09:
                              count: 0
                        sms:
                          label: SMS
                          events:
                            - id: 32
                              occurred_at: '2026-08-04T20:38:20Z'
                              conversation:
                                id: null
                                label: Unknown
                                url: null
                                exists: false
                              channel:
                                key: sms
                                label: SMS
                              inbox:
                                id: null
                                name: Unknown
                              direction:
                                key: outbound
                                label: Outbound
                              variant:
                                key: null
                                label: Unknown
                              billable_unit:
                                key: null
                                label: Unknown
                              billable_quantity: '1.0'
                              number_type:
                                key: null
                                label: Unknown
                              country: Unknown
                              unit_price: null
                              credits: '1.0'
                              dollars: '0.1'
                            - id: 37
                              occurred_at: '2026-08-01T20:38:20Z'
                              conversation:
                                id: null
                                label: Unknown
                                url: null
                                exists: false
                              channel:
                                key: sms
                                label: SMS
                              inbox:
                                id: null
                                name: Unknown
                              direction:
                                key: outbound
                                label: Outbound
                              variant:
                                key: null
                                label: Unknown
                              billable_unit:
                                key: null
                                label: Unknown
                              billable_quantity: '99.0'
                              number_type:
                                key: null
                                label: Unknown
                              country: Unknown
                              unit_price: null
                              credits: '99.0'
                              dollars: '9.9'
                          totals:
                            count: 2
                            billable_unit: unknown
                            direction: outbound
                            billable_quantity: '100.0'
                            credits: '100.0'
                            dollars: '10.0'
                            subtotals:
                              - billable_unit: unknown
                                count: 2
                                billable_quantity: '100.0'
                                credits: '100.0'
                                dollars: '10.0'
                            mixtures: []
                          months:
                            2025-10:
                              count: 0
                            2025-11:
                              count: 0
                            2025-12:
                              count: 0
                            2026-01:
                              count: 0
                            2026-02:
                              count: 0
                            2026-03:
                              count: 0
                            2026-04:
                              count: 0
                            2026-05:
                              count: 0
                            2026-06:
                              count: 0
                            2026-07:
                              count: 0
                            2026-08:
                              count: 2
                            2026-09:
                              count: 0
                        mms:
                          label: MMS
                          events:
                            - id: 33
                              occurred_at: '2026-08-05T20:38:20Z'
                              conversation:
                                id: null
                                label: Unknown
                                url: null
                                exists: false
                              channel:
                                key: mms
                                label: MMS
                              inbox:
                                id: null
                                name: Unknown
                              direction:
                                key: outbound
                                label: Outbound
                              variant:
                                key: null
                                label: Unknown
                              billable_unit:
                                key: null
                                label: Unknown
                              billable_quantity: '1.0'
                              number_type:
                                key: null
                                label: Unknown
                              country: Unknown
                              unit_price: null
                              credits: '1.0'
                              dollars: '0.1'
                            - id: 38
                              occurred_at: '2026-07-31T20:38:20Z'
                              conversation:
                                id: null
                                label: Unknown
                                url: null
                                exists: false
                              channel:
                                key: mms
                                label: MMS
                              inbox:
                                id: null
                                name: Unknown
                              direction:
                                key: outbound
                                label: Outbound
                              variant:
                                key: null
                                label: Unknown
                              billable_unit:
                                key: null
                                label: Unknown
                              billable_quantity: '99.0'
                              number_type:
                                key: null
                                label: Unknown
                              country: Unknown
                              unit_price: null
                              credits: '99.0'
                              dollars: '9.9'
                          totals:
                            count: 2
                            billable_unit: unknown
                            direction: outbound
                            billable_quantity: '100.0'
                            credits: '100.0'
                            dollars: '10.0'
                            subtotals:
                              - billable_unit: unknown
                                count: 2
                                billable_quantity: '100.0'
                                credits: '100.0'
                                dollars: '10.0'
                            mixtures: []
                          months:
                            2025-10:
                              count: 0
                            2025-11:
                              count: 0
                            2025-12:
                              count: 0
                            2026-01:
                              count: 0
                            2026-02:
                              count: 0
                            2026-03:
                              count: 0
                            2026-04:
                              count: 0
                            2026-05:
                              count: 0
                            2026-06:
                              count: 0
                            2026-07:
                              count: 1
                            2026-08:
                              count: 1
                            2026-09:
                              count: 0
                        whatsapp:
                          label: WhatsApp
                          events:
                            - id: 34
                              occurred_at: '2026-08-06T20:38:20Z'
                              conversation:
                                id: null
                                label: Unknown
                                url: null
                                exists: false
                              channel:
                                key: whatsapp
                                label: WhatsApp
                              inbox:
                                id: null
                                name: Unknown
                              direction:
                                key: outbound
                                label: Outbound
                              variant:
                                key: null
                                label: Unknown
                              billable_unit:
                                key: null
                                label: Unknown
                              billable_quantity: '1.0'
                              number_type:
                                key: null
                                label: Unknown
                              country: Unknown
                              unit_price: null
                              credits: '1.0'
                              dollars: '0.1'
                            - id: 39
                              occurred_at: '2026-07-30T20:38:20Z'
                              conversation:
                                id: null
                                label: Unknown
                                url: null
                                exists: false
                              channel:
                                key: whatsapp
                                label: WhatsApp
                              inbox:
                                id: null
                                name: Unknown
                              direction:
                                key: outbound
                                label: Outbound
                              variant:
                                key: null
                                label: Unknown
                              billable_unit:
                                key: null
                                label: Unknown
                              billable_quantity: '99.0'
                              number_type:
                                key: null
                                label: Unknown
                              country: Unknown
                              unit_price: null
                              credits: '99.0'
                              dollars: '9.9'
                          totals:
                            count: 2
                            billable_unit: unknown
                            direction: outbound
                            billable_quantity: '100.0'
                            credits: '100.0'
                            dollars: '10.0'
                            subtotals:
                              - billable_unit: unknown
                                count: 2
                                billable_quantity: '100.0'
                                credits: '100.0'
                                dollars: '10.0'
                            mixtures: []
                          months:
                            2025-10:
                              count: 0
                            2025-11:
                              count: 0
                            2025-12:
                              count: 0
                            2026-01:
                              count: 0
                            2026-02:
                              count: 0
                            2026-03:
                              count: 0
                            2026-04:
                              count: 0
                            2026-05:
                              count: 0
                            2026-06:
                              count: 0
                            2026-07:
                              count: 1
                            2026-08:
                              count: 1
                            2026-09:
                              count: 0
                periods:
                  state: loaded
                  source: postgres
                  presets:
                    today:
                      period: today
                      range_type: named
                      custom_from: null
                      custom_to: null
                      period_start: '2026-09-21T00:00:00Z'
                      period_end: '2026-09-22T00:00:00Z'
                      timezone: UTC
                      previous_period_start: '2026-09-20T00:00:00Z'
                      previous_period_end: '2026-09-21T00:00:00Z'
                      sections:
                        resolutions:
                          title: Resolutions
                          state: empty
                          rows:
                            - key: knowledge
                              label: Knowledge
                              count: 0
                              credits: '0.0'
                              dollars: '0.0'
                              pricing_state: published
                              previous_count: 0
                              previous_credits: '0.0'
                              previous_dollars: '0.0'
                            - key: read
                              label: Read
                              count: 0
                              credits: '0.0'
                              dollars: '0.0'
                              pricing_state: published
                              previous_count: 0
                              previous_credits: '0.0'
                              previous_dollars: '0.0'
                          totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                          llm_passthrough:
                            credits: '0.0'
                            dollars: '0.0'
                            byok: false
                            itemized: []
                            previous_credits: '0.0'
                            previous_dollars: '0.0'
                          previous_totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                        channel_fees:
                          title: Channel Fees
                          state: empty
                          rows:
                            - key: amb
                              label: Apple Messages
                              billable_unit: message
                              direction: outbound
                              count: 0
                              billable_quantity: '0.0'
                              mixtures: []
                              subtotals: []
                              credits: '0.0'
                              dollars: '0.0'
                              previous_count: 0
                              previous_credits: '0.0'
                              previous_dollars: '0.0'
                            - key: rcs
                              label: RCS
                              billable_unit: message
                              direction: outbound
                              count: 0
                              billable_quantity: '0.0'
                              mixtures: []
                              subtotals: []
                              credits: '0.0'
                              dollars: '0.0'
                              previous_count: 0
                              previous_credits: '0.0'
                              previous_dollars: '0.0'
                          totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                          previous_totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                        other_variable_usage:
                          title: Other Variable Usage
                          state: empty
                          rows:
                            - key: ask_tied
                              label: Ask Tied
                              count: 0
                              credits: '0.0'
                              dollars: '0.0'
                              previous_count: 0
                              previous_credits: '0.0'
                              previous_dollars: '0.0'
                          totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                          previous_totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                      drilldowns:
                        sections:
                          resolutions:
                            rows:
                              knowledge:
                                totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              read:
                                totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              write_simple:
                                totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              write_financial:
                                totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              orchestrated:
                                totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              long_horizon_case:
                                totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                          channel_fees:
                            rows:
                              amb:
                                totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                                previous_totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                              rcs:
                                totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                                previous_totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                              sms:
                                totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                                previous_totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                              mms:
                                totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                                previous_totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                              whatsapp:
                                totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                                previous_totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                    week:
                      period: week
                      range_type: named
                      custom_from: null
                      custom_to: null
                      period_start: '2026-09-21T00:00:00Z'
                      period_end: '2026-09-28T00:00:00Z'
                      timezone: UTC
                      previous_period_start: '2026-09-14T00:00:00Z'
                      previous_period_end: '2026-09-21T00:00:00Z'
                      sections:
                        resolutions:
                          title: Resolutions
                          state: empty
                          rows:
                            - key: knowledge
                              label: Knowledge
                              count: 0
                              credits: '0.0'
                              dollars: '0.0'
                              pricing_state: published
                              previous_count: 0
                              previous_credits: '0.0'
                              previous_dollars: '0.0'
                            - key: read
                              label: Read
                              count: 0
                              credits: '0.0'
                              dollars: '0.0'
                              pricing_state: published
                              previous_count: 0
                              previous_credits: '0.0'
                              previous_dollars: '0.0'
                          totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                          llm_passthrough:
                            credits: '0.0'
                            dollars: '0.0'
                            byok: false
                            itemized: []
                            previous_credits: '0.0'
                            previous_dollars: '0.0'
                          previous_totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                        channel_fees:
                          title: Channel Fees
                          state: empty
                          rows:
                            - key: amb
                              label: Apple Messages
                              billable_unit: message
                              direction: outbound
                              count: 0
                              billable_quantity: '0.0'
                              mixtures: []
                              subtotals: []
                              credits: '0.0'
                              dollars: '0.0'
                              previous_count: 0
                              previous_credits: '0.0'
                              previous_dollars: '0.0'
                            - key: rcs
                              label: RCS
                              billable_unit: message
                              direction: outbound
                              count: 0
                              billable_quantity: '0.0'
                              mixtures: []
                              subtotals: []
                              credits: '0.0'
                              dollars: '0.0'
                              previous_count: 0
                              previous_credits: '0.0'
                              previous_dollars: '0.0'
                          totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                          previous_totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                        other_variable_usage:
                          title: Other Variable Usage
                          state: empty
                          rows:
                            - key: ask_tied
                              label: Ask Tied
                              count: 0
                              credits: '0.0'
                              dollars: '0.0'
                              previous_count: 0
                              previous_credits: '0.0'
                              previous_dollars: '0.0'
                          totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                          previous_totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                      drilldowns:
                        sections:
                          resolutions:
                            rows:
                              knowledge:
                                totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              read:
                                totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              write_simple:
                                totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              write_financial:
                                totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              orchestrated:
                                totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              long_horizon_case:
                                totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                          channel_fees:
                            rows:
                              amb:
                                totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                                previous_totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                              rcs:
                                totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                                previous_totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                              sms:
                                totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                                previous_totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                              mms:
                                totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                                previous_totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                              whatsapp:
                                totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                                previous_totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                    month:
                      period: month
                      range_type: named
                      custom_from: null
                      custom_to: null
                      period_start: '2026-09-01T00:00:00Z'
                      period_end: '2026-10-01T00:00:00Z'
                      timezone: UTC
                      previous_period_start: '2026-08-02T00:00:00Z'
                      previous_period_end: '2026-09-01T00:00:00Z'
                      sections:
                        resolutions:
                          title: Resolutions
                          state: empty
                          rows:
                            - key: knowledge
                              label: Knowledge
                              count: 0
                              credits: '0.0'
                              dollars: '0.0'
                              pricing_state: published
                              previous_count: 1
                              previous_credits: '5.0'
                              previous_dollars: '0.35'
                            - key: read
                              label: Read
                              count: 0
                              credits: '0.0'
                              dollars: '0.0'
                              pricing_state: published
                              previous_count: 0
                              previous_credits: '0.0'
                              previous_dollars: '0.0'
                          totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                          llm_passthrough:
                            credits: '0.0'
                            dollars: '0.0'
                            byok: false
                            itemized: []
                            previous_credits: '0.0'
                            previous_dollars: '0.0'
                          previous_totals:
                            count: 6
                            credits: '54.0'
                            dollars: '5.55'
                        channel_fees:
                          title: Channel Fees
                          state: empty
                          rows:
                            - key: amb
                              label: Apple Messages
                              billable_unit: message
                              direction: outbound
                              count: 0
                              billable_quantity: '0.0'
                              mixtures: []
                              subtotals: []
                              credits: '0.0'
                              dollars: '0.0'
                              previous_count: 1
                              previous_credits: '1.0'
                              previous_dollars: '0.1'
                            - key: rcs
                              label: RCS
                              billable_unit: message
                              direction: outbound
                              count: 0
                              billable_quantity: '0.0'
                              mixtures: []
                              subtotals: []
                              credits: '0.0'
                              dollars: '0.0'
                              previous_count: 2
                              previous_credits: '100.0'
                              previous_dollars: '10.0'
                          totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                          previous_totals:
                            count: 6
                            credits: '104.0'
                            dollars: '10.4'
                        other_variable_usage:
                          title: Other Variable Usage
                          state: empty
                          rows:
                            - key: ask_tied
                              label: Ask Tied
                              count: 0
                              credits: '0.0'
                              dollars: '0.0'
                              previous_count: 0
                              previous_credits: '0.0'
                              previous_dollars: '0.0'
                          totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                          previous_totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                      drilldowns:
                        sections:
                          resolutions:
                            rows:
                              knowledge:
                                totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 1
                                  credits: '5.0'
                                  dollars: '0.35'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              read:
                                totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              write_simple:
                                totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 2
                                  credits: '14.0'
                                  dollars: '1.4'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              write_financial:
                                totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 2
                                  credits: '20.0'
                                  dollars: '1.9'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              orchestrated:
                                totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 1
                                  credits: '15.0'
                                  dollars: '1.9'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              long_horizon_case:
                                totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                          channel_fees:
                            rows:
                              amb:
                                totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                                previous_totals:
                                  count: 1
                                  billable_unit: unknown
                                  direction: outbound
                                  billable_quantity: '1.0'
                                  credits: '1.0'
                                  dollars: '0.1'
                                  subtotals:
                                    - billable_unit: unknown
                                      count: 1
                                      billable_quantity: '1.0'
                                      credits: '1.0'
                                      dollars: '0.1'
                                  mixtures: []
                              rcs:
                                totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                                previous_totals:
                                  count: 2
                                  billable_unit: unknown
                                  direction: outbound
                                  billable_quantity: '100.0'
                                  credits: '100.0'
                                  dollars: '10.0'
                                  subtotals:
                                    - billable_unit: unknown
                                      count: 2
                                      billable_quantity: '100.0'
                                      credits: '100.0'
                                      dollars: '10.0'
                                  mixtures: []
                              sms:
                                totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                                previous_totals:
                                  count: 1
                                  billable_unit: unknown
                                  direction: outbound
                                  billable_quantity: '1.0'
                                  credits: '1.0'
                                  dollars: '0.1'
                                  subtotals:
                                    - billable_unit: unknown
                                      count: 1
                                      billable_quantity: '1.0'
                                      credits: '1.0'
                                      dollars: '0.1'
                                  mixtures: []
                              mms:
                                totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                                previous_totals:
                                  count: 1
                                  billable_unit: unknown
                                  direction: outbound
                                  billable_quantity: '1.0'
                                  credits: '1.0'
                                  dollars: '0.1'
                                  subtotals:
                                    - billable_unit: unknown
                                      count: 1
                                      billable_quantity: '1.0'
                                      credits: '1.0'
                                      dollars: '0.1'
                                  mixtures: []
                              whatsapp:
                                totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                                previous_totals:
                                  count: 1
                                  billable_unit: unknown
                                  direction: outbound
                                  billable_quantity: '1.0'
                                  credits: '1.0'
                                  dollars: '0.1'
                                  subtotals:
                                    - billable_unit: unknown
                                      count: 1
                                      billable_quantity: '1.0'
                                      credits: '1.0'
                                      dollars: '0.1'
                                  mixtures: []
                    quarter:
                      period: quarter
                      range_type: named
                      custom_from: null
                      custom_to: null
                      period_start: '2026-07-01T00:00:00Z'
                      period_end: '2026-10-01T00:00:00Z'
                      timezone: UTC
                      previous_period_start: '2026-03-31T00:00:00Z'
                      previous_period_end: '2026-07-01T00:00:00Z'
                      sections:
                        resolutions:
                          title: Resolutions
                          state: loaded
                          rows:
                            - key: knowledge
                              label: Knowledge
                              count: 6
                              credits: '24.0'
                              dollars: '2.1'
                              pricing_state: published
                              previous_count: 0
                              previous_credits: '0.0'
                              previous_dollars: '0.0'
                            - key: read
                              label: Read
                              count: 7
                              credits: '29.0'
                              dollars: '3.5'
                              pricing_state: published
                              previous_count: 0
                              previous_credits: '0.0'
                              previous_dollars: '0.0'
                          totals:
                            count: 29
                            credits: '225.0'
                            dollars: '23.1'
                          llm_passthrough:
                            credits: '0.0'
                            dollars: '0.0'
                            byok: false
                            itemized: []
                            previous_credits: '0.0'
                            previous_dollars: '0.0'
                          previous_totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                        channel_fees:
                          title: Channel Fees
                          state: loaded
                          rows:
                            - key: amb
                              label: Apple Messages
                              billable_unit: unknown
                              direction: outbound
                              count: 2
                              billable_quantity: null
                              mixtures: []
                              subtotals:
                                - billable_unit: unknown
                                  count: 2
                                  billable_quantity: null
                                  credits: '100.0'
                                  dollars: '10.0'
                              credits: '100.0'
                              dollars: '10.0'
                              previous_count: 0
                              previous_credits: '0.0'
                              previous_dollars: '0.0'
                            - key: rcs
                              label: RCS
                              billable_unit: unknown
                              direction: outbound
                              count: 2
                              billable_quantity: null
                              mixtures: []
                              subtotals:
                                - billable_unit: unknown
                                  count: 2
                                  billable_quantity: null
                                  credits: '100.0'
                                  dollars: '10.0'
                              credits: '100.0'
                              dollars: '10.0'
                              previous_count: 0
                              previous_credits: '0.0'
                              previous_dollars: '0.0'
                          totals:
                            count: 10
                            credits: '500.0'
                            dollars: '50.0'
                          previous_totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                        other_variable_usage:
                          title: Other Variable Usage
                          state: empty
                          rows:
                            - key: ask_tied
                              label: Ask Tied
                              count: 0
                              credits: '0.0'
                              dollars: '0.0'
                              previous_count: 0
                              previous_credits: '0.0'
                              previous_dollars: '0.0'
                          totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                          previous_totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                      drilldowns:
                        sections:
                          resolutions:
                            rows:
                              knowledge:
                                totals:
                                  count: 6
                                  credits: '24.0'
                                  dollars: '2.1'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              read:
                                totals:
                                  count: 7
                                  credits: '29.0'
                                  dollars: '3.5'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              write_simple:
                                totals:
                                  count: 6
                                  credits: '42.0'
                                  dollars: '4.2'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              write_financial:
                                totals:
                                  count: 6
                                  credits: '58.0'
                                  dollars: '5.7'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              orchestrated:
                                totals:
                                  count: 4
                                  credits: '72.0'
                                  dollars: '7.6'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              long_horizon_case:
                                totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                          channel_fees:
                            rows:
                              amb:
                                totals:
                                  count: 2
                                  billable_unit: unknown
                                  direction: outbound
                                  billable_quantity: '100.0'
                                  credits: '100.0'
                                  dollars: '10.0'
                                  subtotals:
                                    - billable_unit: unknown
                                      count: 2
                                      billable_quantity: '100.0'
                                      credits: '100.0'
                                      dollars: '10.0'
                                  mixtures: []
                                previous_totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                              rcs:
                                totals:
                                  count: 2
                                  billable_unit: unknown
                                  direction: outbound
                                  billable_quantity: '100.0'
                                  credits: '100.0'
                                  dollars: '10.0'
                                  subtotals:
                                    - billable_unit: unknown
                                      count: 2
                                      billable_quantity: '100.0'
                                      credits: '100.0'
                                      dollars: '10.0'
                                  mixtures: []
                                previous_totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                              sms:
                                totals:
                                  count: 2
                                  billable_unit: unknown
                                  direction: outbound
                                  billable_quantity: '100.0'
                                  credits: '100.0'
                                  dollars: '10.0'
                                  subtotals:
                                    - billable_unit: unknown
                                      count: 2
                                      billable_quantity: '100.0'
                                      credits: '100.0'
                                      dollars: '10.0'
                                  mixtures: []
                                previous_totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                              mms:
                                totals:
                                  count: 2
                                  billable_unit: unknown
                                  direction: outbound
                                  billable_quantity: '100.0'
                                  credits: '100.0'
                                  dollars: '10.0'
                                  subtotals:
                                    - billable_unit: unknown
                                      count: 2
                                      billable_quantity: '100.0'
                                      credits: '100.0'
                                      dollars: '10.0'
                                  mixtures: []
                                previous_totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                              whatsapp:
                                totals:
                                  count: 2
                                  billable_unit: unknown
                                  direction: outbound
                                  billable_quantity: '100.0'
                                  credits: '100.0'
                                  dollars: '10.0'
                                  subtotals:
                                    - billable_unit: unknown
                                      count: 2
                                      billable_quantity: '100.0'
                                      credits: '100.0'
                                      dollars: '10.0'
                                  mixtures: []
                                previous_totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                    year:
                      period: year
                      range_type: named
                      custom_from: null
                      custom_to: null
                      period_start: '2026-01-01T00:00:00Z'
                      period_end: '2027-01-01T00:00:00Z'
                      timezone: UTC
                      previous_period_start: '2025-01-01T00:00:00Z'
                      previous_period_end: '2026-01-01T00:00:00Z'
                      sections:
                        resolutions:
                          title: Resolutions
                          state: loaded
                          rows:
                            - key: knowledge
                              label: Knowledge
                              count: 6
                              credits: '24.0'
                              dollars: '2.1'
                              pricing_state: published
                              previous_count: 0
                              previous_credits: '0.0'
                              previous_dollars: '0.0'
                            - key: read
                              label: Read
                              count: 7
                              credits: '29.0'
                              dollars: '3.5'
                              pricing_state: published
                              previous_count: 0
                              previous_credits: '0.0'
                              previous_dollars: '0.0'
                          totals:
                            count: 29
                            credits: '225.0'
                            dollars: '23.1'
                          llm_passthrough:
                            credits: '0.0'
                            dollars: '0.0'
                            byok: false
                            itemized: []
                            previous_credits: '0.0'
                            previous_dollars: '0.0'
                          previous_totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                        channel_fees:
                          title: Channel Fees
                          state: loaded
                          rows:
                            - key: amb
                              label: Apple Messages
                              billable_unit: unknown
                              direction: outbound
                              count: 2
                              billable_quantity: null
                              mixtures: []
                              subtotals:
                                - billable_unit: unknown
                                  count: 2
                                  billable_quantity: null
                                  credits: '100.0'
                                  dollars: '10.0'
                              credits: '100.0'
                              dollars: '10.0'
                              previous_count: 0
                              previous_credits: '0.0'
                              previous_dollars: '0.0'
                            - key: rcs
                              label: RCS
                              billable_unit: unknown
                              direction: outbound
                              count: 2
                              billable_quantity: null
                              mixtures: []
                              subtotals:
                                - billable_unit: unknown
                                  count: 2
                                  billable_quantity: null
                                  credits: '100.0'
                                  dollars: '10.0'
                              credits: '100.0'
                              dollars: '10.0'
                              previous_count: 0
                              previous_credits: '0.0'
                              previous_dollars: '0.0'
                          totals:
                            count: 10
                            credits: '500.0'
                            dollars: '50.0'
                          previous_totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                        other_variable_usage:
                          title: Other Variable Usage
                          state: empty
                          rows:
                            - key: ask_tied
                              label: Ask Tied
                              count: 0
                              credits: '0.0'
                              dollars: '0.0'
                              previous_count: 0
                              previous_credits: '0.0'
                              previous_dollars: '0.0'
                          totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                          previous_totals:
                            count: 0
                            credits: '0.0'
                            dollars: '0.0'
                      drilldowns:
                        sections:
                          resolutions:
                            rows:
                              knowledge:
                                totals:
                                  count: 6
                                  credits: '24.0'
                                  dollars: '2.1'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              read:
                                totals:
                                  count: 7
                                  credits: '29.0'
                                  dollars: '3.5'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              write_simple:
                                totals:
                                  count: 6
                                  credits: '42.0'
                                  dollars: '4.2'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              write_financial:
                                totals:
                                  count: 6
                                  credits: '58.0'
                                  dollars: '5.7'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              orchestrated:
                                totals:
                                  count: 4
                                  credits: '72.0'
                                  dollars: '7.6'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                              long_horizon_case:
                                totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                                previous_totals:
                                  count: 0
                                  credits: '0.0'
                                  dollars: '0.0'
                                  passthrough_credits: '0.0'
                                  passthrough_dollars: '0.0'
                          channel_fees:
                            rows:
                              amb:
                                totals:
                                  count: 2
                                  billable_unit: unknown
                                  direction: outbound
                                  billable_quantity: '100.0'
                                  credits: '100.0'
                                  dollars: '10.0'
                                  subtotals:
                                    - billable_unit: unknown
                                      count: 2
                                      billable_quantity: '100.0'
                                      credits: '100.0'
                                      dollars: '10.0'
                                  mixtures: []
                                previous_totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                              rcs:
                                totals:
                                  count: 2
                                  billable_unit: unknown
                                  direction: outbound
                                  billable_quantity: '100.0'
                                  credits: '100.0'
                                  dollars: '10.0'
                                  subtotals:
                                    - billable_unit: unknown
                                      count: 2
                                      billable_quantity: '100.0'
                                      credits: '100.0'
                                      dollars: '10.0'
                                  mixtures: []
                                previous_totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                              sms:
                                totals:
                                  count: 2
                                  billable_unit: unknown
                                  direction: outbound
                                  billable_quantity: '100.0'
                                  credits: '100.0'
                                  dollars: '10.0'
                                  subtotals:
                                    - billable_unit: unknown
                                      count: 2
                                      billable_quantity: '100.0'
                                      credits: '100.0'
                                      dollars: '10.0'
                                  mixtures: []
                                previous_totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                              mms:
                                totals:
                                  count: 2
                                  billable_unit: unknown
                                  direction: outbound
                                  billable_quantity: '100.0'
                                  credits: '100.0'
                                  dollars: '10.0'
                                  subtotals:
                                    - billable_unit: unknown
                                      count: 2
                                      billable_quantity: '100.0'
                                      credits: '100.0'
                                      dollars: '10.0'
                                  mixtures: []
                                previous_totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                              whatsapp:
                                totals:
                                  count: 2
                                  billable_unit: unknown
                                  direction: outbound
                                  billable_quantity: '100.0'
                                  credits: '100.0'
                                  dollars: '10.0'
                                  subtotals:
                                    - billable_unit: unknown
                                      count: 2
                                      billable_quantity: '100.0'
                                      credits: '100.0'
                                      dollars: '10.0'
                                  mixtures: []
                                previous_totals:
                                  count: 0
                                  billable_unit: message
                                  direction: outbound
                                  billable_quantity: '0.0'
                                  credits: '0.0'
                                  dollars: '0.0'
                                  subtotals: []
                                  mixtures: []
                ledger:
                  state: loaded
                  source: postgres
                  entries:
                    - id: credit_reservation-3
                      type: reserve
                      status: reserved
                      occurred_at: '2026-08-11T02:20:53Z'
                      credits: '25.0'
                      dollars: '2.5'
                      reference: TXN-RSV-3
                      links:
                        detail: /api/v1/accounts/1/billing/ledger/credit_reservation-3
                        receipt: null
                        resource: null
                    - id: credit_reservation-2
                      type: reserve
                      status: reserved
                      occurred_at: '2026-08-11T02:20:53Z'
                      credits: '12.0'
                      dollars: '1.2'
                      reference: TXN-RSV-2
                      links:
                        detail: /api/v1/accounts/1/billing/ledger/credit_reservation-2
                        receipt: null
                        resource: null
                  months:
                    2025-10:
                      count: 0
                      credits: '0.0'
                      dollars: '0.0'
                    2025-11:
                      count: 0
                      credits: '0.0'
                      dollars: '0.0'
                    2025-12:
                      count: 0
                      credits: '0.0'
                      dollars: '0.0'
                    2026-01:
                      count: 0
                      credits: '0.0'
                      dollars: '0.0'
                    2026-02:
                      count: 0
                      credits: '0.0'
                      dollars: '0.0'
                    2026-03:
                      count: 0
                      credits: '0.0'
                      dollars: '0.0'
                    2026-04:
                      count: 0
                      credits: '0.0'
                      dollars: '0.0'
                    2026-05:
                      count: 0
                      credits: '0.0'
                      dollars: '0.0'
                    2026-06:
                      count: 0
                      credits: '0.0'
                      dollars: '0.0'
                    2026-07:
                      count: 0
                      credits: '0.0'
                      dollars: '0.0'
                    2026-08:
                      count: 3
                      credits: '38.0'
                      dollars: '3.8'
                    2026-09:
                      count: 0
                      credits: '0.0'
                      dollars: '0.0'
                  freshness:
                    source: postgres
                    as_of: 2026-08-11 02:20:53 UTC
                    state: fresh
                invoices:
                  state: loaded
                  source: postgres
                  invoices: []
                  months:
                    2025-10:
                      count: 0
                      amount_cents: 0
                    2025-11:
                      count: 0
                      amount_cents: 0
                    2025-12:
                      count: 0
                      amount_cents: 0
                    2026-01:
                      count: 0
                      amount_cents: 0
                    2026-02:
                      count: 0
                      amount_cents: 0
                    2026-03:
                      count: 0
                      amount_cents: 0
                    2026-04:
                      count: 0
                      amount_cents: 0
                    2026-05:
                      count: 0
                      amount_cents: 0
                    2026-06:
                      count: 0
                      amount_cents: 0
                    2026-07:
                      count: 0
                      amount_cents: 0
                    2026-08:
                      count: 0
                      amount_cents: 0
                    2026-09:
                      count: 0
                      amount_cents: 0
                  freshness:
                    source: postgres
                    as_of: '2026-09-21T04:24:39.210116Z'
                    state: fresh
                served_at: '2026-09-21T04:24:40.426204Z'
        '403':
          description: Access denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_message'
      security:
        - userApiKey: []
components:
  parameters:
    account_id:
      in: path
      name: id
      schema:
        type: integer
      required: true
      description: The numeric ID of the account
  schemas:
    error_message:
      type: object
      description: >-
        The shape returned by `render_unauthorized`, `render_not_found_error`
        and `render_could_not_create_error`.
      properties:
        error:
          type: string
          description: A single human-readable message.
          example: Resource could not be found
      required:
        - error
  securitySchemes:
    userApiKey:
      type: apiKey
      in: header
      name: api_access_token
      description: >-
        This token can be obtained by visiting the profile page or via rails
        console. Provides access to  endpoints based on the user permissions
        levels. This token can be saved by an external system when user is
        created via API, to perform activities on behalf of the user.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.