> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pandaprobe.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Session Score Analytics Distribution

> Histogram of session score values for a metric.

Auth: ``Bearer`` + ``X-Project-ID`` | ``X-API-Key`` + ``X-Project-Name``



## OpenAPI

````yaml /openapi.json get /evaluations/analytics/session-scores/distribution
openapi: 3.1.0
info:
  title: PandaProbe API
  description: >-
    Open-source agent engineering platform — trace LLM calls, evaluate agent
    performance, and monitor AI pipelines.
  version: 0.1.0
  contact:
    name: PandaProbe
    url: https://www.pandaprobe.com
    email: support@pandaprobe.com
servers:
  - url: https://api.pandaprobe.com
    description: Production
security: []
tags:
  - name: health
    description: Service health and readiness probes.
  - name: user
    description: Authenticated user profile.
  - name: traces
    description: Trace ingestion, querying, updating, and analytics.
  - name: sessions
    description: Session-based trace aggregation and analytics.
  - name: evaluations
    description: Evaluation runs, scores, analytics, and monitoring.
  - name: organizations
    description: Organization management and membership.
  - name: projects
    description: Project CRUD within organizations.
  - name: api-keys
    description: API key lifecycle management.
paths:
  /evaluations/analytics/session-scores/distribution:
    get:
      tags:
        - evaluations
      summary: Get Session Score Analytics Distribution
      description: |-
        Histogram of session score values for a metric.

        Auth: ``Bearer`` + ``X-Project-ID`` | ``X-API-Key`` + ``X-Project-Name``
      operationId: >-
        get_session_score_analytics_distribution_evaluations_analytics_session_scores_distribution_get
      parameters:
        - name: metric_name
          in: query
          required: true
          schema:
            type: string
            description: Session metric name to get distribution for
            title: Metric Name
          description: Session metric name to get distribution for
        - name: date_from
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date-time
              - type: 'null'
            description: ISO 8601 datetime.
            title: Date From
          description: ISO 8601 datetime.
        - name: date_to
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date-time
              - type: 'null'
            description: ISO 8601 datetime.
            title: Date To
          description: ISO 8601 datetime.
        - name: buckets
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: Number of histogram buckets (1-100)
            default: 10
            title: Buckets
          description: Number of histogram buckets (1-100)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ScoreDistributionItem'
                title: >-
                  Response Get Session Score Analytics Distribution Evaluations
                  Analytics Session Scores Distribution Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
        - ApiKey: []
        - ProjectID: []
        - ProjectName: []
components:
  schemas:
    ScoreDistributionItem:
      properties:
        bucket:
          type: integer
          title: Bucket
        bucket_min:
          type: number
          title: Bucket Min
        bucket_max:
          type: number
          title: Bucket Max
        count:
          type: integer
          title: Count
      type: object
      required:
        - bucket
        - bucket_min
        - bucket_max
        - count
      title: ScoreDistributionItem
      description: Histogram bucket for score distribution.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
    ApiKey:
      type: apiKey
      in: header
      name: X-API-Key
    ProjectID:
      type: apiKey
      in: header
      name: X-Project-ID
    ProjectName:
      type: apiKey
      in: header
      name: X-Project-Name

````