> ## Documentation Index
> Fetch the complete documentation index at: https://conductorone-hunner-patch-1.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Egress Traffic Summary Rollup

> Returns MCP traffic counts, verdicts and transferred bytes across the Edges the caller manages.



## OpenAPI

````yaml https://spec.speakeasy.com/conductor-one/conductorone/my-source-with-code-samples get /api/v1/edges/egress/traffic-summary
openapi: 3.1.0
info:
  description: The C1 API is a HTTP API for managing C1 resources.
  title: C1 API
  version: 0.1.0-alpha
servers:
  - description: The C1 API server for the current tenant.
    url: https://{tenantDomain}.conductor.one
    variables:
      tenantDomain:
        default: example
        description: The domain of the tenant to use for this request.
security:
  - bearerAuth: []
    oauth: []
paths:
  /api/v1/edges/egress/traffic-summary:
    get:
      tags:
        - Edge
      summary: Get Egress Traffic Summary Rollup
      description: >-
        Returns MCP traffic counts, verdicts and transferred bytes across the
        Edges the caller manages.
      operationId: c1.api.edge.v1.EdgeService.GetEgressTrafficSummaryRollup
      parameters:
        - in: query
          name: bucket
          schema:
            description: The bucket field.
            enum:
              - TB_TIME_BUCKET_UNSPECIFIED
              - TB_TIME_BUCKET_HOUR
              - TB_TIME_BUCKET_DAY
            type: string
            x-speakeasy-unknown-values: allow
        - in: query
          name: since
          schema:
            description: The since field.
            format: int64
            type: string
        - in: query
          name: until
          schema:
            description: The until field.
            format: int64
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/c1.api.edge.v1.EdgeServiceGetEgressTrafficSummaryRollupResponse
          description: Successful response
components:
  schemas:
    c1.api.edge.v1.EdgeServiceGetEgressTrafficSummaryRollupResponse:
      description: The EdgeServiceGetEgressTrafficSummaryRollupResponse message.
      properties:
        agentKindCounts:
          description: Distinct source_principal per source_principal_kind.
          items:
            $ref: '#/components/schemas/c1.api.edge.v1.AgentKindCount'
          type:
            - array
            - 'null'
        allowedEvents:
          description: The allowedEvents field.
          format: uint64
          type: string
        deniedEvents:
          description: The deniedEvents field.
          format: uint64
          type: string
        distinctAgentCount:
          description: The distinctAgentCount field.
          format: uint64
          type: string
        distinctDestinationCount:
          description: uniqExact(dest_host) over the window, excluding empty dest_host.
          format: int64
          type: string
        distinctToolCount:
          description: The distinctToolCount field.
          format: uint64
          type: string
        edgeCount:
          description: >-
            Number of authorized Edges included. Zero means the caller manages
            no
             Edges, as distinct from Edges that have no traffic yet.
          format: uint32
          type: integer
        fallbackAgentCount:
          description: >-
            Distinct source_principal with at least one row whose verdict
            resolved
             via the fail-closed default rather than an explicit policy match.
          format: int64
          type: string
        series:
          description: The series field.
          items:
            $ref: '#/components/schemas/c1.api.edge.v1.TBTrafficSummaryBucket'
          type:
            - array
            - 'null'
        totalEvents:
          description: The totalEvents field.
          format: uint64
          type: string
        totalRequestBytes:
          description: The totalRequestBytes field.
          format: uint64
          type: string
        totalResponseBytes:
          description: The totalResponseBytes field.
          format: uint64
          type: string
        unspecifiedEvents:
          description: The unspecifiedEvents field.
          format: uint64
          type: string
      title: Edge Service Get Egress Traffic Summary Rollup Response
      type: object
      x-speakeasy-name-override: EdgeServiceGetEgressTrafficSummaryRollupResponse
    c1.api.edge.v1.AgentKindCount:
      description: |-
        AgentKindCount is one source_principal_kind group -- how many distinct
         agents of that kind were seen in a summary window.
      properties:
        count:
          description: The count field.
          format: int64
          type: string
        kind:
          description: The kind field.
          type: string
      title: Agent Kind Count
      type: object
      x-speakeasy-name-override: AgentKindCount
    c1.api.edge.v1.TBTrafficSummaryBucket:
      description: TBTrafficSummaryBucket is one point in GetTrafficSummary's time series.
      properties:
        allowedEvents:
          description: The allowedEvents field.
          format: uint64
          type: string
        bucketStart:
          format: date-time
          type:
            - string
            - 'null'
        deniedEvents:
          description: The deniedEvents field.
          format: uint64
          type: string
        unspecifiedEvents:
          description: The unspecifiedEvents field.
          format: uint64
          type: string
      title: Tb Traffic Summary Bucket
      type: object
      x-speakeasy-name-override: TBTrafficSummaryBucket
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http
    oauth:
      description: >-
        This API uses OAuth2 with the Client Credential flow.

        Client Credentials must be sent in the BODY, not the headers.

        For an example of how to implement this, refer to the
        [c1TokenSource.Token()](https://github.com/ConductorOne/conductorone-sdk-go/blob/3375fe7c0126d17e7ec4e711693dee7b791023aa/token_source.go#L101-L187)
        function.
      flows:
        clientCredentials:
          scopes: {}
          tokenUrl: /auth/v1/token
      type: oauth2

````