Edge

Get Inference Usage Attribution Rollup

Changed on

Returns inference request and token usage across the Edges the caller manages, grouped by the selected attribution dimension.

get/api/v1/edges/inference/usage-attribution

Request

  • Base URL
    https://example.conductor.one
  • URL
    https://example.conductor.one/api/v1/edges/inference/usage-attribution
  • Auth
    HTTP bearer and OAuth 2
    Client credentials
    Token URL: /auth/v1/token

Query parameters

dimension'TB_USAGE_ATTRIBUTION_DIMENSION_UNSPECIFIED' | 'TB_USAGE_ATTRIBUTION_DIMENSION_TEAM' | 'TB_USAGE_ATTRIBUTION_DIMENSION_APPLICATION' | 'TB_USAGE_ATTRIBUTION_DIMENSION_AGENT' | 'TB_USAGE_ATTRIBUTION_DIMENSION_COST_CENTER' | 'TB_USAGE_ATTRIBUTION_DIMENSION_USER' | 'TB_USAGE_ATTRIBUTION_DIMENSION_PROVIDER' | 'TB_USAGE_ATTRIBUTION_DIMENSION_MODEL' | 'TB_USAGE_ATTRIBUTION_DIMENSION_ROUTE' | 'TB_USAGE_ATTRIBUTION_DIMENSION_CALL_ROLE'

The dimension field.

page_sizeinteger

The pageSize field.

sincestring int64

The since field.

untilstring int64

The until field.

Response

Successful response

edgeCountinteger

Number of authorized Edges included. Zero means the caller manages no Edges, as distinct from Edges that have no traffic yet.

Changes