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

# Get Public Turn Credentials

> Obtain supported TURN connection details using an active embed session token and allowed origin. Treat returned credentials as temporary secrets.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/public/embed/turn-credentials/{session_token}
openapi: 3.1.0
info:
  title: Athena API
  version: 1.0.0
  description: >-
    Hosted Athena customer API. Authenticate backend management and call-trigger
    requests with X-API-Key. Website embeds and artifact playback use their own
    scoped tokens. Provider availability, feature settings, and verification
    limits are described in the guides.
servers:
  - url: https://athena.tryopencomputer.com
    description: Hosted Athena API
security: []
paths:
  /api/v1/public/embed/turn-credentials/{session_token}:
    get:
      tags:
        - Public
      summary: Get Public Turn Credentials
      description: >-
        Obtain supported TURN connection details using an active embed session
        token and allowed origin. Treat returned credentials as temporary
        secrets.
      operationId: >-
        get_public_turn_credentials_api_v1_public_embed_turn_credentials__session_token__get
      parameters:
        - name: session_token
          in: path
          required: true
          schema:
            type: string
            title: Session Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TurnCredentialsResponse'
        '403':
          description: Forbidden
        '404':
          description: Not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '500':
          description: Internal Server Error
        '503':
          description: Service Unavailable
components:
  schemas:
    TurnCredentialsResponse:
      properties:
        username:
          type: string
          title: Username
        password:
          type: string
          title: Password
        ttl:
          type: integer
          title: Ttl
        uris:
          items:
            type: string
          type: array
          title: Uris
      type: object
      required:
        - username
        - password
        - ttl
        - uris
      title: TurnCredentialsResponse
      description: Response model for TURN credentials.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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

````

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