cURL
curl --request PATCH \ --url https://api.us.poly.ai/v1/agents/{agentId}/real-time-configs/{clientEnv}/variables \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "variables": {} } '
{ "clientEnv": "<string>", "variables": {}, "schema": {}, "lastUpdated": "<string>" }
Variables to shallow-merge into an environment's config page.
Key-value pairs to merge into the existing config
Successful response
A single config page for one environment.
Environment (sandbox, pre-release, live)
Config key-value pairs
JSON Schema (Draft 7) definition
ISO 8601 timestamp of last update
Was this page helpful?