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

# Bootstrap Agent

> Aggregate a full snapshot of an agent's runtime configuration.

Returns: agent record fields, the attached workflow (if any), every tool
*instance* with its full config, every centralized transfer_target the
owner has, the tenant's handoff persona registry joined to the backing
agents (`available_specialists`), and tool_connection identifiers
(auth_payload is redacted so this is safe to ship to a voice worker).



## OpenAPI

````yaml https://api.mrassistant.ai/openapi.json get /agents/{agent_id}/bootstrap
openapi: 3.1.0
info:
  title: Backend - Multilingual Voice Agent System
  description: FastAPI backend for multilingual voice agents with tool use
  version: 1.0.0
servers: []
security: []
paths:
  /agents/{agent_id}/bootstrap:
    get:
      tags:
        - agent-bootstrap
      summary: Bootstrap Agent
      description: |-
        Aggregate a full snapshot of an agent's runtime configuration.

        Returns: agent record fields, the attached workflow (if any), every tool
        *instance* with its full config, every centralized transfer_target the
        owner has, the tenant's handoff persona registry joined to the backing
        agents (`available_specialists`), and tool_connection identifiers
        (auth_payload is redacted so this is safe to ship to a voice worker).
      operationId: bootstrap_agent_agents__agent_id__bootstrap_get
      parameters:
        - name: agent_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Agent Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BootstrapResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    BootstrapResponse:
      properties:
        etag:
          type: string
          title: Etag
        snapshot_at:
          type: string
          format: date-time
          title: Snapshot At
        agent:
          additionalProperties: true
          type: object
          title: Agent
        workflow:
          anyOf:
            - $ref: '#/components/schemas/BootstrapWorkflow'
            - type: 'null'
        tools:
          items:
            $ref: '#/components/schemas/BootstrapToolInstance'
          type: array
          title: Tools
        transfer_targets:
          items:
            $ref: '#/components/schemas/BootstrapTransferTarget'
          type: array
          title: Transfer Targets
        available_specialists:
          items:
            $ref: '#/components/schemas/BootstrapSpecialist'
          type: array
          title: Available Specialists
        tool_connections:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Tool Connections
      type: object
      required:
        - etag
        - snapshot_at
        - agent
        - workflow
        - tools
        - transfer_targets
        - available_specialists
        - tool_connections
      title: BootstrapResponse
      description: Read-only snapshot of an agent's full runtime configuration.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    BootstrapWorkflow:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        nodes:
          title: Nodes
        edges:
          title: Edges
        global_nodes:
          anyOf:
            - {}
            - type: 'null'
          title: Global Nodes
        status:
          type: string
          title: Status
      type: object
      required:
        - id
        - name
        - description
        - nodes
        - edges
        - global_nodes
        - status
      title: BootstrapWorkflow
    BootstrapToolInstance:
      properties:
        id:
          type: string
          title: Id
        tool_key:
          type: string
          title: Tool Key
        instance_name:
          type: string
          title: Instance Name
        display_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Display Name
        enabled:
          type: boolean
          title: Enabled
        config:
          additionalProperties: true
          type: object
          title: Config
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        tool_type:
          type: string
          title: Tool Type
        version:
          type: integer
          title: Version
      type: object
      required:
        - id
        - tool_key
        - instance_name
        - display_name
        - enabled
        - config
        - description
        - tool_type
        - version
      title: BootstrapToolInstance
    BootstrapTransferTarget:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        target:
          type: string
          title: Target
        mode:
          type: string
          title: Mode
        sip_trunk_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Sip Trunk Id
        sip_headers:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Sip Headers
        briefing_prompt:
          anyOf:
            - type: string
            - type: 'null'
          title: Briefing Prompt
        transfer_announcement:
          anyOf:
            - type: string
            - type: 'null'
          title: Transfer Announcement
        tags:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Tags
      type: object
      required:
        - id
        - name
        - target
        - mode
        - sip_trunk_id
        - sip_headers
        - briefing_prompt
        - transfer_announcement
        - tags
      title: BootstrapTransferTarget
    BootstrapSpecialist:
      properties:
        persona_id:
          type: string
          title: Persona Id
        specialist_type:
          type: string
          title: Specialist Type
        display_name:
          type: string
          title: Display Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        agent_id:
          type: string
          title: Agent Id
        agent_name:
          type: string
          title: Agent Name
        config_overrides:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Config Overrides
      type: object
      required:
        - persona_id
        - specialist_type
        - display_name
        - description
        - agent_id
        - agent_name
        - config_overrides
      title: BootstrapSpecialist
      description: >-
        One row of the tenant's persona handoff registry, joined to the backing
        agent.
    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:
    HTTPBearer:
      type: http
      scheme: bearer

````