Organization

Org usage summary

Changed on

Aggregated metering usage for the authenticated organization. By default includes all projects; use filters.project_id to restrict to one or more projects (must belong to the org). Values are summed from raw metering events grouped by entity_type.

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

Request

  • Base URL
    https://backend.composio.dev
  • URL
    https://backend.composio.dev/api/v3.1/org/usage/summary
  • Auth
    API key in header x-org-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 organization.

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_1OrgUsageSummary removed and replaced with postOrgUsageSummary

    • info

      api tag Logs removed

    • info

      added the required property to the response with the status

    • info

      endpoint added