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

# Fetch a session with all detected segments



## OpenAPI

````yaml https://api.goparlay.io/docs/json get /v1/all-day-sessions/{id}
openapi: 3.0.3
info:
  title: Parlay API
  description: >-
    Partner-facing API for Parlay pitch scoring, rep intelligence, and coaching.
    See API.md for the full spec.
  version: 0.1.0
servers:
  - url: http://localhost:3000
    description: production
security:
  - ApiKeyAuth: []
tags:
  - name: Health
    description: Service health and platform status
  - name: Analyses
    description: Submit and retrieve pitch scoring analyses
  - name: Orgs
    description: Partner org management
  - name: Reps
    description: Rep management
  - name: Keys
    description: API key lifecycle
  - name: Webhooks
    description: Webhook registration and delivery
  - name: Personas
    description: Rep persona intelligence
  - name: Methodologies
    description: Rep methodology intelligence
  - name: Synthesis
    description: Profile synthesis
  - name: Insights
    description: Org-level insights
  - name: Playbooks
    description: Playbook management + AI drafting
  - name: Prompts
    description: Custom AI prompts
  - name: Scoring
    description: Scoring profile config
  - name: Chat
    description: Scout AI chat
  - name: Dispositions
    description: Call dispositions
  - name: Practice
    description: Practice sessions
  - name: Bulk
    description: Batch and export
  - name: Usage
    description: Usage and billing
  - name: Audit
    description: Audit log
paths:
  /v1/all-day-sessions/{id}:
    get:
      tags:
        - All-day sessions
      summary: Fetch a session with all detected segments
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                  status:
                    type: string
                    enum:
                      - queued
                      - transcribing
                      - detecting
                      - analyzing
                      - completed
                      - failed
                  recording_url:
                    type: string
                  duration_seconds:
                    type: integer
                    nullable: true
                  segments_detected:
                    type: integer
                    minimum: 0
                  segments_analyzed:
                    type: integer
                    minimum: 0
                  segments_pending_review:
                    type: integer
                    minimum: 0
                  segments_skipped:
                    type: integer
                    minimum: 0
                  segments:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        start_seconds:
                          type: number
                        end_seconds:
                          type: number
                        confidence:
                          type: number
                          nullable: true
                        customer_name:
                          type: string
                          nullable: true
                        is_sales_conversation:
                          type: boolean
                          nullable: true
                        detected_outcome:
                          type: string
                          nullable: true
                        summary:
                          type: string
                          nullable: true
                        status:
                          type: string
                          enum:
                            - detected
                            - analyzing
                            - analyzed
                            - needs_review
                            - skipped
                            - failed
                        analysis_id:
                          type: string
                          format: uuid
                          nullable: true
                        analysis_url:
                          type: string
                          nullable: true
                        playback:
                          type: object
                          properties:
                            recording_url:
                              type: string
                              description: >-
                                Echo of the parent session's recording_url so a
                                single segment is self-contained.
                            start_seconds:
                              type: number
                            end_seconds:
                              type: number
                            browser_seek_js:
                              type: string
                              description: >-
                                JavaScript snippet that seeks an HTML5
                                <audio>/<video> element to the segment and stops
                                at end_seconds. Modern browsers issue HTTP Range
                                requests automatically — only the relevant byte
                                range downloads.
                            ffmpeg_extract:
                              type: string
                              description: >-
                                Shell command to extract the segment to a local
                                file via ffmpeg with -c copy (no re-encoding,
                                instant). Useful for offline export, archival,
                                or feeding the slice into another tool.
                          required:
                            - recording_url
                            - start_seconds
                            - end_seconds
                            - browser_seek_js
                            - ffmpeg_extract
                          additionalProperties: false
                          description: >-
                            Ready-to-paste recipes for playing or extracting
                            this segment from the original recording. We never
                            re-host audio — these are convenience snippets that
                            operate on your URL.
                        created_at:
                          type: string
                        analyzed_at:
                          type: string
                          nullable: true
                      required:
                        - id
                        - start_seconds
                        - end_seconds
                        - confidence
                        - customer_name
                        - is_sales_conversation
                        - detected_outcome
                        - summary
                        - status
                        - analysis_id
                        - analysis_url
                        - playback
                        - created_at
                        - analyzed_at
                      additionalProperties: false
                  options:
                    type: object
                    additionalProperties: {}
                  metadata:
                    type: object
                    additionalProperties: {}
                  callback_url:
                    type: string
                    nullable: true
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      details:
                        type: object
                        additionalProperties: {}
                    required:
                      - code
                      - message
                    additionalProperties: false
                    nullable: true
                  created_at:
                    type: string
                  started_at:
                    type: string
                    nullable: true
                  completed_at:
                    type: string
                    nullable: true
                  partner_org_id:
                    type: string
                    format: uuid
                    nullable: true
                  partner_rep_id:
                    type: string
                    format: uuid
                    nullable: true
                required:
                  - id
                  - status
                  - recording_url
                  - duration_seconds
                  - segments_detected
                  - segments_analyzed
                  - segments_pending_review
                  - segments_skipped
                  - segments
                  - options
                  - metadata
                  - callback_url
                  - error
                  - created_at
                  - started_at
                  - completed_at
                  - partner_org_id
                  - partner_rep_id
                additionalProperties: false
components:
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key (pk_sandbox_* or pk_live_*)

````