gtm-internal
gtm-internal

Get Cost Summary

Aggregated cost data with filters for the cost dashboard.

Query params: date_from: ISO date string (YYYY-MM-DD). Defaults to 30 days ago. date_to: ISO date string (YYYY-MM-DD). Defaults to today. domain_id: Filter by specific domain. task_type: Filter by task type (overview, monitor_probe, monitor_research, etc.) provider: Filter by provider (openai, gemini, perplexity) group_by: Time series granularity: day | week | month

get/gtm-internal/costs/summary

Request

  • Base URL
    https://api-v1.unusual.ai (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: /auth/login

Query parameters

date_fromstring nullable
date_tostring nullable
domain_idstring nullable
task_typestring nullable
providerstring nullable
group_bystring

Response

Successful Response

total_costnumber required
total_callsinteger required
total_input_tokensinteger required
total_output_tokensinteger required
total_reasoning_tokensinteger required
by_providerobject[] required
by_task_typeobject[] required
by_domainobject[] required

Changes

No recorded changes to this operation across all 1 revision of this API.