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