Calls

Compute aggregated usage for multiple root calls, with descendant rollup.

post/calls/usage

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/usage
  • Auth
    none declared

Request body

project_idstring required
call_idsstring[] required

Root call IDs to aggregate. Each result key corresponds to one input call ID.

include_costsboolean

If true, include cost calculations in the usage.

limitinteger

Maximum calls per aggregation batch. Larger batches are split by trace; a single trace exceeding this limit returns an error, never partial usage.

Response

Successful Response

call_usageobject required
unfinished_call_idsstring[] required

Changes

    • info

      the endpoint scheme security HTTPBasic was removed from the API

    • info

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

    • info

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

    • info

      the response property became required for the status

    • info

      the response property /// became required for the status

    • info

      the response property /// became required for the status

    • info

      the response property /// became required for the status

    • info

      the response property /// became required for the status

    • info

      the response property /// became required for the status

    • info

      the response property /// became required for the status

    • info

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

    • info

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

    • info

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

    • info

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

    • info

      added the required property to the response with the status

    • info

      endpoint added