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

# Get Billing Summary By Call

> Get billing summary for a specific call.
Billing is calculated per-model for accurate pricing.



## OpenAPI

````yaml https://originshq.b-cdn.net/openapi_sayna.json get /api/billing/summary/call/{call_id}
openapi: 3.1.0
info:
  title: core
  version: 0.1.0
servers: []
security: []
paths:
  /api/billing/summary/call/{call_id}:
    get:
      tags:
        - billing
        - billing
      summary: Get Billing Summary By Call
      description: |-
        Get billing summary for a specific call.
        Billing is calculated per-model for accurate pricing.
      operationId: get_billing_summary_by_call_api_billing_summary_call__call_id__get
      parameters:
        - name: call_id
          in: path
          required: true
          schema:
            type: string
            title: Call Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillingSummaryResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    BillingSummaryResponse:
      properties:
        total_calls:
          type: integer
          title: Total Calls
        billing:
          $ref: '#/components/schemas/BillingBreakdown'
        grand_total:
          type: number
          title: Grand Total
        currency:
          type: string
          title: Currency
          default: USD
      type: object
      required:
        - total_calls
        - billing
        - grand_total
      title: BillingSummaryResponse
      description: Response schema for /billing/summary endpoint.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    BillingBreakdown:
      properties:
        stt:
          $ref: '#/components/schemas/STTBilling'
          default:
            deepgram: 0
            sarvam: 0
        tts:
          $ref: '#/components/schemas/TTSBilling'
          default:
            elevenlabs: 0
            sarvam: 0
        llm:
          $ref: '#/components/schemas/LLMBilling'
          default:
            openai: 0
            openrouter: 0
      type: object
      title: BillingBreakdown
      description: Service-wise billing breakdown.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    STTBilling:
      properties:
        deepgram:
          type: number
          title: Deepgram
          default: 0
        sarvam:
          type: number
          title: Sarvam
          default: 0
      type: object
      title: STTBilling
      description: STT provider costs.
    TTSBilling:
      properties:
        elevenlabs:
          type: number
          title: Elevenlabs
          default: 0
        sarvam:
          type: number
          title: Sarvam
          default: 0
      type: object
      title: TTSBilling
      description: TTS provider costs.
    LLMBilling:
      properties:
        openai:
          type: number
          title: Openai
          default: 0
        openrouter:
          type: number
          title: Openrouter
          default: 0
      type: object
      title: LLMBilling
      description: LLM provider costs.

````