v2
admin
platform-cost
admin
Get Platform Cost Logs
get/api/admin/platform-costs/logs
Query parameters
startstring date-time nullable
endstring date-time nullable
providerstring nullable
user_idstring nullable
pageinteger
page_sizeinteger
modelstring nullable
block_namestring nullable
tracking_typestring nullable
graph_exec_idstring nullable
execution_pathstring nullable
Filter on metadata.execution_path (e.g. 'anthropic_batch', 'sync_baseline', 'flex'). Lets admins narrow rows to a single dispatch mode for cost-savings audits.
Filter on metadata.execution_path (e.g. 'anthropic_batch', 'sync_baseline', 'flex'). Lets admins narrow rows to a single dispatch mode for cost-savings audits.
sourcestring nullable
Filter on metadata.source (e.g. 'dream_pass', 'copilot'). Distinguishes background/system spend from interactive.
Filter on metadata.source (e.g. 'dream_pass', 'copilot'). Distinguishes background/system spend from interactive.
Response
Successful Response
Example response
{
"pagination": {
"total_items": 42,
"total_pages": 2,
"current_page": 1,
"page_size": 25
}
}