v2
admin
platform-cost
admin

Get Platform Cost Logs

Changed on
get/api/admin/platform-costs/logs

Request

  • The document declares no server URL.
  • Auth
    HTTP 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

      added the new optional query request parameter execution_path

    • info

      added the new optional query request parameter source

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status