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

# Start live session

> Start a live streaming session for incremental media uploads (softphones, browser mics).



## OpenAPI

````yaml api-reference/openapi.json post /analyze/live/start
openapi: 3.1.0
info:
  title: Illocution Insights API
  description: >-
    Developer-facing guide for the conversation-intelligence platform that
    powers docs.illocution.ai. The FastAPI service (version 0.3.0) exposes REST
    and Server‑Sent Events (SSE) endpoints for uploading media, driving live
    sessions, and retrieving higher-level insights.
  version: 0.3.0
servers:
  - url: https://api.illocution.ai
    description: Production API server
security:
  - apiKeyAuth: []
paths:
  /analyze/live/start:
    post:
      tags:
        - Live Streaming
      summary: Start live session
      description: >-
        Start a live streaming session for incremental media uploads
        (softphones, browser mics).
      operationId: startLiveSession
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LiveSessionStartRequest'
      responses:
        '200':
          description: Live session created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LiveSessionResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    LiveSessionStartRequest:
      type: object
      properties:
        goal:
          type: string
          description: Optional analysis focus
        filename:
          type: string
          description: Filename for the session
          example: call.wav
        suffix:
          type: string
          description: File extension
          example: .wav
        ttl_seconds:
          type: integer
          description: 'Time to live in seconds (default: 900)'
          default: 900
    LiveSessionResponse:
      type: object
      properties:
        session_id:
          type: string
        expires_at:
          type: string
          format: date-time
        status:
          type: string
        next_chunk_seq:
          type: integer
          description: Next expected chunk sequence number (zero-based)
    Error:
      type: object
      required:
        - detail
      properties:
        detail:
          type: string
          description: Error message
          example: Invalid or missing API key
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        API key for authentication. Can also be passed as query parameter:
        api_key=<client key>

````