Calls
post/calls/stats

Request

  • Base URL
    https://trace.wandb.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://trace.wandb.ai/calls/stats
  • Auth
    none declared

Request body

project_idstring required
startstring date-time required

Inclusive start time (UTC, ISO 8601).

endstring date-time nullable

Exclusive end time (UTC, ISO 8601). Defaults to now if omitted.

granularityinteger nullable

Bucket size in seconds (e.g., 3600 for 1 hour). If omitted, auto-selected based on time range. Will be adjusted if it would produce more than 10,000 buckets.

timezonestring

IANA timezone for bucket alignment (e.g., 'America/New_York')

Response

Successful Response

startstring date-time required

Resolved start time (UTC)

endstring date-time required

Resolved end time (UTC)

granularityinteger required

Bucket size used (in seconds)

timezonestring required

Timezone used for bucket alignment

usage_bucketsobject[]

Usage metrics by model. Each bucket contains 'timestamp', 'model', and aggregated metric values.

call_bucketsobject[]

Call-level metrics. Each bucket contains 'timestamp' and aggregated metric values.

Changes

    • info

      the endpoint scheme security HTTPBasic was removed from the API

    • info

      added the new cache_creation_input_tokens enum value to the request property ///

    • info

      added the new cache_read_input_tokens enum value to the request property ///

    • info

      added the new count_false enum value to the request property ////

    • info

      added the new count_false enum value to the request property ////

    • info

      added the new count_true enum value to the request property ////

    • info

      added the new count_true enum value to the request property ////

    • info

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

    • info

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

    • info

      endpoint added