Get Agent Dynamic Variables
Agents
Get Agent Dynamic Variables
Retrieve the normalized dynamic variable definitions configured for an agent
GET
Get Agent Dynamic Variables
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:
68ea2517dbb84c09bae1ba0aResponse
The agent ID.
The agent name.
Normalized dynamic variable definitions configured for the agent.
Canonical variable key used in prompts and runtime payloads.
Whether the variable must be provided before starting the conversation.
Expected value type:
STRING, NUMBER, EMAIL, or PHONE.Guidance describing what value should be passed for that variable.
Example Use Cases
Build a runtime input form
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
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
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.
Authorizations
API key for authentication. Get your API key from the eigi.ai Dashboard under Settings → API Keys.
Path Parameters
The unique agent ID

