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

# List a session's players

> The roster with per-player box scores, highest scorer first.



## OpenAPI

````yaml /openapi.json get /v1/sessions/{id}/players
openapi: 3.1.0
info:
  title: Hooper API
  version: 1.0.0
  description: >-
    Submit basketball game video and receive highlights, shots and per-player
    box scores.


    All endpoints require `Authorization: Bearer hk_prod_…`. Money fields are
    integer **cents**. Timestamps are Unix seconds. Every list — top-level or
    embedded — is `{ object: "list", data, has_more, total_count }`.
servers:
  - url: https://api.hooper.gg
    description: Production (accepts hk_prod_ keys)
security:
  - apiKey: []
tags:
  - name: Uploads
    description: Resumable video uploads to Hooper storage.
  - name: Sessions
    description: >-
      A session is one submitted game and everything the pipeline produced for
      it.
  - name: Billing
    description: Prepaid credits, metered per second of video.
  - name: Webhooks
    description: Signed HTTP callbacks when a session finishes.
  - name: Events
    description: The log of every event Hooper has emitted for your organization.
paths:
  /v1/sessions/{id}/players:
    get:
      tags:
        - Sessions
      summary: List a session's players
      description: The roster with per-player box scores, highest scorer first.
      operationId: listSessionPlayers
      parameters:
        - $ref: '#/components/parameters/SessionId'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlayerList'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    SessionId:
      name: id
      in: path
      required: true
      schema:
        type: string
        example: sess_18234
  schemas:
    PlayerList:
      allOf:
        - $ref: '#/components/schemas/ListEnvelope'
        - type: object
          properties:
            data:
              type: array
              items:
                $ref: '#/components/schemas/Player'
    ListEnvelope:
      type: object
      required:
        - object
        - data
        - has_more
        - total_count
      properties:
        object:
          type: string
          const: list
        has_more:
          type: boolean
        total_count:
          type: integer
        url:
          type: string
          description: 'Embedded lists only: the endpoint that pages the full set.'
          example: /v1/sessions/sess_18234/highlights
    Player:
      type: object
      properties:
        id:
          type: string
          example: plr_5
        object:
          type: string
          const: player
        name:
          type: string
          nullable: true
        jersey:
          type: string
          nullable: true
        user_id:
          type: string
          nullable: true
        team_id:
          type: integer
          nullable: true
        stats:
          $ref: '#/components/schemas/BoxScore'
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - type
            - code
            - message
          properties:
            type:
              type: string
              enum:
                - invalid_request_error
                - authentication_error
                - insufficient_credits
                - rate_limit_error
                - api_error
            code:
              type: string
              example: parameter_invalid
            message:
              type: string
            param:
              type: string
              description: The request field the error refers to, when there is one.
              example: source.url
    BoxScore:
      type: object
      properties:
        points:
          type: integer
        fg_2pt_att:
          type: integer
        fg_2pt_make:
          type: integer
        fg_3pt_att:
          type: integer
        fg_3pt_make:
          type: integer
        ft_att:
          type: integer
        ft_make:
          type: integer
        assist:
          type: integer
        rebound:
          type: integer
  responses:
    NotFound:
      description: No such object for this organization
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: hk_prod_… / hk_stg_…
      description: >-
        API key issued by Hooper for your organization. Keys are
        environment-tagged: `hk_prod_` keys work against production, `hk_stg_`
        keys against staging.

````