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

# Get the customer-readable trace for one turn of a simulation run



## OpenAPI

````yaml /api-reference/openapi.json get /v1/simulation/runs/{sim_run_id}/turns/{turn_id}/trace
openapi: 3.1.0
info:
  title: Feather API
  description: >-
    Unified customer experience platform API. Manages identity, conversations,
    memory, agents, procedures, policies, model routing, knowledge bases,
    integrations, and runtime execution.
  version: 1.21.0
servers:
  - url: https://api-sandbox.featherhq.com
    description: Sandbox
  - url: http://localhost:8000
    description: Local dev
security: []
paths:
  /v1/simulation/runs/{sim_run_id}/turns/{turn_id}/trace:
    get:
      tags:
        - simulation_runs
      summary: Get the customer-readable trace for one turn of a simulation run
      operationId: getSimulationRunTurnTrace
      parameters:
        - name: sim_run_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Sim Run Id
        - name: turn_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Turn Id
        - name: cursor
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Cursor
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 1000
            minimum: 1
            default: 100
            title: Limit
        - name: category
          in: query
          required: false
          schema:
            enum:
              - product
              - engineering
              - all
            type: string
            default: product
            title: Category
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionTraceResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    SessionTraceResponse:
      properties:
        steps:
          items:
            $ref: '#/components/schemas/TraceStep'
          type: array
          title: Steps
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
      additionalProperties: false
      type: object
      required:
        - steps
      title: SessionTraceResponse
      description: Envelope returned by both trace read endpoints.
    ErrorResponse:
      properties:
        error:
          type: string
          title: Error
        message:
          type: string
          title: Message
      type: object
      required:
        - error
        - message
      title: ErrorResponse
      description: Standard error response returned by all API error handlers.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TraceStep:
      properties:
        kind:
          type: string
          title: Kind
        actor:
          type: string
          enum:
            - Customer
            - Agent
            - System
          title: Actor
        title:
          type: string
          title: Title
        summary:
          anyOf:
            - type: string
            - type: 'null'
          title: Summary
        status:
          type: string
          enum:
            - Succeeded
            - Failed
            - Skipped
            - In Progress
          title: Status
        started_at:
          type: string
          format: date-time
          title: Started At
        ended_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Ended At
        duration_ms:
          anyOf:
            - type: integer
            - type: 'null'
          title: Duration Ms
        turn_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Turn Id
        details:
          additionalProperties: true
          type: object
          title: Details
      additionalProperties: false
      type: object
      required:
        - kind
        - actor
        - title
        - status
        - started_at
      title: TraceStep
      description: One row in the customer-readable session trace.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````