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

# Get Simulation

> Retrieve a single role-play simulation by ID

> [!WARNING]
>
> This endpoint is removed on 1 January 2027 and works until the end of 31 December 2026 (UTC). To read the same attempts from version 2, see [Moving from version 1](https://solidroad.mintlify.site/api-reference/v2/moving-from-version-1.md).


## OpenAPI

````yaml GET /simulations/{id}
openapi: 3.1.0
info:
  title: Solidroad API
  description: REST API for reading your Solidroad role-play simulations.
  version: '1'
  contact:
    name: Solidroad Support
    email: support@solidroad.com
    url: https://help.solidroad.com
servers:
  - url: https://api.solidroad.com
    description: Production API
security:
  - bearerAuth: []
    versionHeader: []
tags:
  - name: Simulations
    description: Role-play simulation data and transcripts
paths:
  /simulations/{id}:
    get:
      tags:
        - Simulations
      summary: Get Simulation
      description: Retrieve a single role-play simulation by ID
      operationId: getSimulation
      parameters:
        - name: id
          in: path
          required: true
          description: Simulation ID
          schema:
            type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Simulation'
        '400':
          $ref: '#/components/responses/BadRequestError'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '404':
          $ref: '#/components/responses/NotFoundError'
        '429':
          $ref: '#/components/responses/RateLimitError'
      deprecated: true
components:
  schemas:
    Simulation:
      type: object
      properties:
        id:
          type: string
          description: Unique simulation identifier
        score:
          type: number
          nullable: true
          description: Overall percentage score (0-100)
        created_at:
          type: string
          format: date-time
          description: Creation timestamp
        updated_at:
          type: string
          format: date-time
          nullable: true
          description: Last update timestamp
        elapsed_time_in_seconds:
          type: number
          nullable: true
          description: Total call duration in seconds
        transcript:
          type: array
          items:
            $ref: '#/components/schemas/TranscriptMessage'
          description: Full conversation transcript
        feedback:
          allOf:
            - $ref: '#/components/schemas/SimulationFeedback'
          nullable: true
          description: AI-generated feedback and scoring
        public_access_enabled:
          type: boolean
          description: Whether simulation is publicly accessible
        public_uuid:
          type: string
          nullable: true
          description: UUID for public sharing
        recording_url:
          type: string
          nullable: true
          description: URL to audio/video recording
        user:
          allOf:
            - $ref: '#/components/schemas/User'
          nullable: true
          description: User who completed the simulation
        scenario:
          $ref: '#/components/schemas/Scenario'
        assignment_record:
          type: object
          nullable: true
          description: Associated assignment
        assessment_instance:
          type: object
          nullable: true
          description: Associated assessment
      required:
        - id
        - transcript
        - public_access_enabled
        - scenario
        - created_at
    TranscriptMessage:
      type: object
      properties:
        speaker_type:
          type: string
          enum:
            - user
            - ai
          description: Speaker type
        text:
          type: string
          description: Message content
        speaker_name:
          type: string
          description: Display name of speaker
        start_time_stamp:
          type: number
          description: Start time in milliseconds
        end_time_stamp:
          type: number
          description: End time in milliseconds
        seconds_since_start:
          type: number
          description: Time elapsed since call start
      required:
        - speaker_type
        - text
        - speaker_name
    SimulationFeedback:
      type: object
      properties:
        score:
          type: number
          nullable: true
          description: Overall score (0-100)
        summary:
          type: string
          description: Combined summary
        focus_areas:
          type: string
          description: Key areas to focus on
        overall_performance:
          type: string
          description: High-level performance assessment
        customer_satisfaction_score:
          type: number
          description: Predicted customer satisfaction (0-10)
        score_sections:
          type: array
          items:
            $ref: '#/components/schemas/SimulationScoreSection'
          description: Section-level scoring
      required:
        - summary
        - focus_areas
        - overall_performance
        - customer_satisfaction_score
        - score_sections
    User:
      type: object
      properties:
        id:
          type: integer
          description: User identifier
        first_name:
          type: string
          description: User's first name
        last_name:
          type: string
          nullable: true
          description: User's last name
        email:
          type: string
          format: email
          description: User's email address
      required:
        - id
        - first_name
        - email
    Scenario:
      type: object
      properties:
        name:
          type: string
          description: Scenario name
        aiName:
          type: string
          nullable: true
          description: AI character's name
      required:
        - name
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              description: Machine-readable error type
            message:
              type: string
              description: Human-readable error message
            statusCode:
              type: integer
              description: HTTP status code
          required:
            - type
            - message
            - statusCode
      required:
        - error
    SimulationScoreSection:
      type: object
      properties:
        name:
          type: string
          description: Section name
        score:
          oneOf:
            - type: number
            - type: string
              enum:
                - pass
                - fail
                - excluded
          description: Points earned or binary result
        top_score:
          type: number
          nullable: true
          description: Maximum points (null for binary)
        example:
          type: string
          nullable: true
          description: Quote from transcript
        explanation:
          type: string
          description: Feedback explanation
        improvement:
          type: string
          description: Improvement suggestions
        binary_result:
          type: boolean
          description: Whether this uses binary scoring
      required:
        - name
        - explanation
        - improvement
        - binary_result
  responses:
    BadRequestError:
      description: Bad request - Invalid parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              type: validation_error
              message: 'Invalid parameter: limit must be between 1 and 200'
              statusCode: 400
    UnauthorizedError:
      description: Unauthorized - Invalid or missing API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              type: authentication_error
              message: Invalid API key
              statusCode: 401
    NotFoundError:
      description: Not found - Resource doesn't exist
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              type: not_found_error
              message: Resource not found
              statusCode: 404
    RateLimitError:
      description: Rate limit exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              type: rate_limit_error
              message: >-
                API key rate limit exceeded. Please contact support if you need
                to increase your rate limit.
              statusCode: 429
              details:
                limit: 1000
                remaining: 0
                reset: 1704470400000
                retryAfter: 3600
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    versionHeader:
      type: apiKey
      in: header
      name: Solidroad-Version
      description: API version (use 1)
      x-default: '1'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.