Calls

Compute per-call usage for a trace, with descendant rollup.

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

Request body

project_idstring required
include_costsboolean

If true, include cost calculations in the usage.

limitinteger

Maximum number of calls to process. Acts as a safety limit to prevent unbounded memory 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 to the // request property anyOf list

    • info

      added to the ///// request property anyOf list

    • info

      added subschema #1 to the /////// request property 'prefixItems' list

    • info

      added subschema #1 to the //// request property 'prefixItems' list

    • info

      added subschema #1 subschema #2 to the /////// request property 'prefixItems' list

    • info

      added subschema #1 subschema #2 to the /////// request property 'prefixItems' list

    • info

      added subschema #1 subschema #2 to the /////// request property 'prefixItems' list

    • info

      added subschema #1 subschema #2 to the /////// request property 'prefixItems' list

    • info

      added subschema #1 subschema #2 to the //// request property 'prefixItems' list

    • info

      added subschema #1 subschema #2 to the //// request property 'prefixItems' list

    • info

      added subschema #1 subschema #2 to the //// request property 'prefixItems' list

    • info

      added subschema #1 subschema #2 to the //// request property 'prefixItems' list

    • 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