orgs
get/api/v1/orgs/current/billing/usage

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/api/v1/orgs/current/billing/usage
  • Auth
    • API key in header X-API-Key
    • or API key in header X-Organization-Id
    • or HTTP bearer

Query parameters

starting_onstring date-time required
ending_beforestring date-time required
on_current_planboolean

Response

Successful Response

customer_idstring required
billable_metric_idstring required
billable_metric_namestring required
start_timestampstring required
end_timestampstring required
valuenumber nullable required
groupsobject nullable required

Changes

    • breaking

      the / response's property type changed from object to string for status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status