Projects

Project usage summary

Changed on

Aggregated metering usage for the authenticated project only. Values are summed from raw metering events grouped by entity_type.

post/api/v3.1/project/usage/summary

Request

  • Base URL
    https://backend.composio.dev
  • URL
    https://backend.composio.dev/api/v3.1/project/usage/summary
  • Auth
    API key in header x-api-key

Request body

fromnumber

Inclusive range start (Unix epoch milliseconds). Defaults to 30 days before to.

tonumber

Exclusive range end (Unix epoch milliseconds). Defaults to now.

entity_typesstring[]

Filter to these metering entity types. Omit for all types.

Response

Usage aggregates for the project.

entitiesobject required
instant_chargestring required

Total Instant charge over this window, as an exact USD amount. Zero when nothing in it was charged.

Changes

    • info

      api operation id postV3_1ProjectUsageSummary removed and replaced with postProjectUsageSummary

    • info

      api tag Logs removed

    • info

      api tag Organization removed

    • info

      added the required property to the response with the status

    • info

      the endpoint scheme security CookieAuth was removed from the API

    • info

      the endpoint scheme security UserApiKeyAuth was removed from the API