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

# Start Auto Session from config



## OpenAPI

````yaml https://api.simli.ai/openapi.yaml get /auto/start/{agent_id}/{session_token}
openapi: 3.1.0
info:
  title: Simli
  version: 1.0.0
servers:
  - url: https://api.simli.ai/
    description: API server
security:
  - ApiKeyAuth: []
paths:
  /auto/start/{agent_id}/{session_token}:
    get:
      summary: Start Auto Session from config
      operationId: startAgentIDQuery_auto_start__agent_id___session_token__post
      parameters:
        - name: agent_id
          in: path
          required: true
          schema:
            type: string
            title: Agent Id
        - name: session_token
          in: path
          required: true
          schema:
            type: string
            title: Session Token
        - name: redirect
          in: query
          required: false
          schema:
            type: boolean
            default: false
            title: Redirect
        - $ref: '#/components/parameters/AgentVariables'
      responses:
        '200':
          description: Successful Response
          headers:
            X-Simli-Variables-Defaulted:
              $ref: '#/components/headers/VariablesDefaulted'
            X-Simli-Variables-Invalid:
              $ref: '#/components/headers/VariablesInvalid'
            X-Simli-Variables-Unknown:
              $ref: '#/components/headers/VariablesUnknown'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionDetails'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      deprecated: true
      security: []
components:
  parameters:
    AgentVariables:
      name: variables
      in: query
      required: false
      description: >-
        The agent's runtime variables, one query param each
        (?name=Ann&city=Paris). The agent marks them in its prompt and first
        message as {{name}} or {{name: default}}; each mark takes the value
        given for its name, or its default (blank without one). A value is at
        most 20 characters. Nothing here refuses the start: a value over 20
        characters, a variable not given and a param that is not one of the
        agent's variables are reported in the response's X-Simli-Variables-*
        headers instead. redirect and model are the route's own params, not
        variables.
      style: form
      explode: true
      schema:
        type: object
        additionalProperties:
          type: string
          maxLength: 20
  headers:
    VariablesDefaulted:
      description: >-
        The agent's variables given no value, comma-separated; their defaults
        went in.
      schema:
        type: string
    VariablesInvalid:
      description: >-
        The agent's variables whose value was over 20 characters,
        comma-separated; their defaults went in.
      schema:
        type: string
    VariablesUnknown:
      description: >-
        Query params that are not the agent's variables, comma-separated;
        unused.
      schema:
        type: string
  schemas:
    SessionDetails:
      properties:
        roomUrl:
          type: string
          title: Roomurl
        sessionId:
          type: string
          title: Sessionid
        warnings:
          type: array
          items:
            type: string
          description: >-
            Deprecations, starting camera fields outside their supported range,
            and background_id / foreground_id dropped as not your account's (the
            avatar's own is used). The session starts regardless.
      type: object
      required:
        - roomUrl
        - sessionId
      title: SessionDetails
    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
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-simli-api-key

````

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