Costs
post/cost/query

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

Request body

project_idstring required
fieldsstring[] nullable
limitinteger nullable
offsetinteger nullable

Response

Successful Response

Example response

{
  "results": [
    {
      "id": "2341-asdf-asdf",
      "llm_id": "gpt4",
      "prompt_token_cost": 1,
      "completion_token_cost": 1,
      "cache_read_input_token_cost": 1,
      "cache_creation_input_token_cost": 1,
      "prompt_token_cost_unit": "USD",
      "completion_token_cost_unit": "USD",
      "effective_date": "2024-01-01T00:00:00Z",
      "provider_id": "openai"
    }
  ]
}

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

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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