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

# Read Session

> Retrieve a session by its unique session ID.

This endpoint allows authenticated users to fetch a session by its unique session ID.
It returns a Session object containing details such as status, unique session ID,
creation time, candidate metadata, and other relevant information.

Raises 404 Not Found if the session does not exist.



## OpenAPI

````yaml get /sessions/{id}
openapi: 3.1.0
info:
  title: Core Voice API
  summary: Core Voice API
  description: Core Voice API for Tech Interviewer
  version: 1.0.0
servers:
  - url: https://api.techinterviewer.ai
    description: Production server
  - url: http://localhost:8080
    description: Local development server
security: []
paths:
  /sessions/{id}:
    get:
      summary: Read Session
      description: >-
        Retrieve a session by its unique session ID.


        This endpoint allows authenticated users to fetch a session by its
        unique session ID.

        It returns a Session object containing details such as status, unique
        session ID,

        creation time, candidate metadata, and other relevant information.


        Raises 404 Not Found if the session does not exist.
      operationId: read_session_sessions__id__get
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            title: Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Session'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBasic: []
components:
  schemas:
    Session:
      properties:
        status:
          type: string
          title: Status
        unique_session_id:
          type: string
          title: Unique Session Id
        created_at:
          title: Created At
        candidate_metadata:
          title: Candidate Metadata
        client_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Client Type
        messages:
          anyOf:
            - items:
                $ref: '#/components/schemas/Message'
              type: array
            - type: 'null'
          title: Messages
        session_specific_questions:
          anyOf:
            - items:
                type: object
              type: array
            - type: 'null'
          title: Session Specific Questions
          default: []
        recording_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Recording Url
        structured_outputs:
          anyOf:
            - items:
                type: object
              type: array
            - type: 'null'
          title: Structured Outputs
          default: []
      type: object
      required:
        - status
        - unique_session_id
        - created_at
        - candidate_metadata
        - client_type
        - messages
        - recording_url
      title: Session
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Message:
      properties:
        message:
          additionalProperties:
            type: string
          type: object
          title: Message
        createdAt:
          type: number
          title: Createdat
      type: object
      required:
        - message
        - createdAt
      title: Message
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBasic:
      type: http
      scheme: basic

````