Documentation Index
Fetch the complete documentation index at: https://docs.eigi.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Use this endpoint to fetch the dynamic variables an agent expects at runtime.
This is useful before:
- placing outbound calls that need personalized values
- creating Daily sessions with agent-specific runtime fields
- building forms that collect required variables for a specific agent
Authentication
Your eigi.ai API key. Must be prefixed with vk_.
Path Parameters
The unique agent ID.Example: 68ea2517dbb84c09bae1ba0a
Response
Normalized dynamic variable definitions configured for the agent.
dynamic_variables[].variable_name
Canonical variable key used in prompts and runtime payloads.
dynamic_variables[].required
Whether the variable must be provided before starting the conversation.
dynamic_variables[].field_type
Expected value type: STRING, NUMBER, EMAIL, or PHONE.
dynamic_variables[].description
Guidance describing what value should be passed for that variable.
Example Use Cases
Build a runtime input form
Fetch the dynamic variables for an agent, render the required fields in your
UI, then collect the values before placing a call or creating a session.
Validate required inputs before calling
Use the required and field_type fields to validate your payload before
sending runtime values to eigi.ai.
Keep agent-specific forms in sync
Call this endpoint whenever an agent changes so your application always uses
the latest variable definitions.
Notes
- Variable names are normalized before they are returned.
- If an agent has no configured dynamic variables, the endpoint returns an empty array.
- This endpoint only returns variables for agents owned by the authenticated API key holder.
API key for authentication. Get your API key from the eigi.ai Dashboard under Settings → API Keys.
Successfully retrieved agent dynamic variables
Normalized dynamic variable definitions configured for the agent