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

# Get Agent Config

> Get full interview configuration for the agent.

This endpoint is used by the LiveKit agent to fetch complete interview
configuration (including interview_guide) when only interview_room_id
is provided in the token metadata. This avoids HTTP 414 errors from
overly long tokens.

Parameters:
- interview_room_id: UUID of the interview room

Headers:
- X-Agent-Secret: Optional shared secret for authentication

Returns:
- Full interview configuration including interview_guide



## OpenAPI

````yaml /api-reference/openapi-filtered.json get /api/interviews/agent-config/{interview_room_id}
openapi: 3.1.0
info:
  title: Aseed Insight API
  version: 0.1.0
servers:
  - url: https://app.aseed.ai/custdev
security: []
tags:
  - name: insight
    description: 'Core insight endpoints: records, transcripts, generation, and chat.'
    x-displayName: Insight
  - name: insight_public
    description: Public insight endpoints for shared/public access.
    x-displayName: Insight Public
  - name: projects
    description: Project management endpoints.
    x-displayName: Projects
  - name: project_reports
    description: Project report generation and management endpoints.
    x-displayName: Project Reports
  - name: project_reports_public
    description: Public project report endpoints.
    x-displayName: Project Reports Public
  - name: prompts
    description: Custom prompts management endpoints.
    x-displayName: Prompts
  - name: presets
    description: Presets and templates endpoints.
    x-displayName: Presets
  - name: agent
    description: AI agent threads and chat endpoints.
    x-displayName: Agent
  - name: interviews
    description: AI interviewer room and session endpoints.
    x-displayName: Interviews
  - name: webhooks
    description: Incoming webhook endpoints.
    x-displayName: Webhooks
paths:
  /api/interviews/agent-config/{interview_room_id}:
    get:
      tags:
        - interviews
      summary: Get Agent Config
      description: |-
        Get full interview configuration for the agent.

        This endpoint is used by the LiveKit agent to fetch complete interview
        configuration (including interview_guide) when only interview_room_id
        is provided in the token metadata. This avoids HTTP 414 errors from
        overly long tokens.

        Parameters:
        - interview_room_id: UUID of the interview room

        Headers:
        - X-Agent-Secret: Optional shared secret for authentication

        Returns:
        - Full interview configuration including interview_guide
      operationId: get_agent_config_api_interviews_agent_config__interview_room_id__get
      parameters:
        - name: interview_room_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Interview Room Id
        - name: x-agent-secret
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Agent-Secret
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentConfigResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AgentConfigResponse:
      properties:
        interview_room_id:
          type: string
          title: Interview Room Id
        research_goals:
          anyOf:
            - type: string
            - type: 'null'
          title: Research Goals
        interview_guide:
          anyOf:
            - type: string
            - type: 'null'
          title: Interview Guide
        max_duration_minutes:
          type: integer
          title: Max Duration Minutes
        respondent_email:
          anyOf:
            - type: string
            - type: 'null'
          title: Respondent Email
        voice:
          anyOf:
            - type: string
            - type: 'null'
          title: Voice
        realtime_provider:
          anyOf:
            - type: string
            - type: 'null'
          title: Realtime Provider
        language:
          anyOf:
            - type: string
            - type: 'null'
          title: Language
      type: object
      required:
        - interview_room_id
        - max_duration_minutes
      title: AgentConfigResponse
      description: Response model for agent configuration (full interview config).
    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
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````