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

# Get your team's spend this billing period

> Returns your Business team's estimated spend in its current billing period: included calls used, overage calls, the estimated overage so far, the monthly fee and a projection of the overage by the period's end.

> [accordion] Details
>
> It is an estimate; the invoice is authoritative.
>
> * Owners and Admins only. An API key needs team:manage.
>
> * Days are UTC days. Each day's calls beyond its included calls are overage at that day's price.
>
> * status no\_terms: the team has no billing terms with Pomerado yet.
>
> * **Callers:** an API key, an MCP OAuth token or a Dashboard session.
>
> * **Permission:** `team:manage`; an API key also needs `team:manage`.
>
> * **Effect:** Changes nothing.
>
> * **Errors:** [`business_account_required`](https://docs.pomerado.ai/errors#business_account_required), [`role_permission_missing`](https://docs.pomerado.ai/errors#role_permission_missing), and the [errors any request can get](https://docs.pomerado.ai/errors.md).


## OpenAPI

````yaml /api-reference/openapi.json get /v1/usage/spend
openapi: 3.1.0
info:
  title: Pomerado API
  version: '1'
  description: >-
    Run and build website tools, follow their jobs, and manage logins, API keys
    and webhooks. Authenticate with a Pomerado API key (pom_…), an MCP OAuth
    token or a Dashboard session as a Bearer token.
servers:
  - url: https://api.pomerado.ai
security: []
tags:
  - name: account
    x-group: Account
  - name: api_keys
    x-group: API keys
  - name: connected_apps
    x-group: Connected apps
  - name: usage
    x-group: Usage
  - name: quota
    x-group: Quota
  - name: spend_controls
    x-group: Spend controls
  - name: usage_alerts
    x-group: Usage alerts
  - name: usage_summary
    x-group: Usage summary
  - name: billing
    x-group: Billing
  - name: integrations
    x-group: Integrations
  - name: connect
    x-group: Connect
  - name: code
    x-group: Code
  - name: logins
    x-group: Saved logins
  - name: two_factor
    x-group: 2FA
  - name: login_access
    x-group: Login access
  - name: tools
    x-group: Tools
  - name: shapes
    x-group: Shapes
  - name: webhooks
    x-group: Webhooks
  - name: payer_profiles
    x-group: Payer profiles
  - name: payer_addresses
    x-group: Payer addresses
  - name: payment_methods
    x-group: Payment methods
  - name: runs
    x-group: Runs
  - name: builds
    x-group: Builds
  - name: jobs
    x-group: Jobs
  - name: suggestions
    x-group: Suggestions
  - name: audit
    x-group: Audit
  - name: files
    x-group: Files
  - name: team
    x-group: Team
  - name: sso
    x-group: Single sign-on
  - name: issue_reports
    x-group: Problem reports
paths:
  /v1/usage/spend:
    get:
      tags:
        - usage
      summary: Get your team's spend this billing period
      description: >-
        Returns your Business team's estimated spend in its current billing
        period: included calls used, overage calls, the estimated overage so
        far, the monthly fee and a projection of the overage by the period's
        end.
      operationId: usage.spend
      responses:
        '200':
          description: Your team's spend this period
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageSpend'
        '400':
          description: invalid_request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: unauthorized, reauthentication_required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: business_account_required, role_permission_missing, forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: temporarily_unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearer: []
components:
  schemas:
    UsageSpend:
      anyOf:
        - type: object
          required:
            - status
            - as_of
            - currency
            - period
            - included_calls_per_day
            - overage_unit_amount_cents
            - included_calls_used
            - overage_calls
            - monthly_fee_cents
            - estimated_overage_cents
            - estimated_total_cents
            - projected_overage_cents
            - today
          properties:
            status:
              type: string
              enum:
                - ready
            as_of:
              type: string
            currency:
              type: string
              enum:
                - usd
            period:
              type: object
              required:
                - start
                - end
                - interval
                - days
                - days_elapsed
              properties:
                start:
                  type: string
                  description: The period's first UTC midnight
                end:
                  type: string
                  description: The UTC midnight after the period's last day, exclusive
                interval:
                  type: string
                  enum:
                    - month
                    - week
                    - day
                  description: >-
                    How the team's overage is billed. Periods run from the
                    billing start date: a month to the same day of the next
                    month (or that month's last day), a week seven days, a day
                    one
                days:
                  type: integer
                  description: UTC days in the period
                  minimum: 0
                days_elapsed:
                  type: integer
                  description: >-
                    Days of the period through today, today included; 0 before
                    billing starts
                  minimum: 0
              additionalProperties: false
            included_calls_per_day:
              type: integer
              description: >-
                Tool calls included each UTC day, today's; unused ones don't
                carry over
              minimum: 0
            overage_unit_amount_cents:
              type: string
              description: >-
                Today's price of each call beyond the included ones, in cents
                with up to four decimal places, such as 1.0000
            included_calls_used:
              type: integer
              description: Calls in the period within each day's included calls
              minimum: 0
            overage_calls:
              type: integer
              description: Calls in the period beyond each day's included calls
              minimum: 0
            monthly_fee_cents:
              type: integer
              description: The team's monthly fee, in US cents
              minimum: 0
            estimated_overage_cents:
              type: integer
              description: >-
                Each day's overage calls at that day's price, so far, in US
                cents
              minimum: 0
            estimated_total_cents:
              type: integer
              description: >-
                The period's invoices so far, in US cents: on monthly terms the
                monthly fee plus the estimated overage; on weekly or daily terms
                the estimated overage alone, since the monthly fee is invoiced
                on its own each month
              minimum: 0
            projected_overage_cents:
              type: integer
              description: >-
                The overage by the period's end at the period's pace so far: the
                estimated overage over days_elapsed, times days, in US cents
              minimum: 0
            today:
              type: object
              required:
                - start
                - calls
                - overage_calls
              properties:
                start:
                  type: string
                  description: Today's UTC midnight
                calls:
                  type: integer
                  description: >-
                    Today's tool calls so far, as billing counts them; 0 before
                    billing starts
                  minimum: 0
                overage_calls:
                  type: integer
                  description: Today's calls beyond included_calls_per_day so far
                  minimum: 0
              additionalProperties: false
              description: Today, the UTC day, so far
          additionalProperties: false
        - type: object
          required:
            - status
            - as_of
          properties:
            status:
              type: string
              enum:
                - no_terms
              description: The team has no billing terms with Pomerado yet
            as_of:
              type: string
          additionalProperties: false
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - retryable
            - docs_url
          properties:
            code:
              type: string
            message:
              type: string
            retryable:
              type: boolean
            docs_url:
              type: string
            details:
              type: object
              required: []
              properties: {}
              additionalProperties:
                $id: /schemas/unknown
          additionalProperties: false
      additionalProperties: false
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````

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