v2
admin
platform-cost
admin
Get Platform Cost Logs
Changed onget/api/admin/platform-costs/logs
Request
- The document declares no server URL.
- AuthHTTP bearer
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.
sourcestring nullable
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
}
}Changes
- info
added the optional property
//to the response with the status
- info
- info
added the new optional
queryrequest parameterexecution_path - info
added the new optional
queryrequest parametersource - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info