Get Platform Cost Logs
Query parameters
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.
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
}
}Changes
Changed in 2 of the 92 revisions of this API.44
- ○
added the new optional
queryrequest parameterexecution_pathnew-optional-request-parameter
- ○
added the new optional
queryrequest parametersourcenew-optional-request-parameter
- ○
added the optional property
logs/items/execution_pathto the response with the200statusresponse-optional-property-added
- ○
added the optional property
logs/items/sourceto the response with the200statusresponse-optional-property-added
- ○
- ●
deleted the
queryrequest parameterexecution_pathrequest-parameter-removed
- ●
deleted the
queryrequest parametersourcerequest-parameter-removed
- ●
removed the optional property
logs/items/execution_pathfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
logs/items/sourcefrom the response with the200statusresponse-optional-property-removed
This revision also has 96 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●