What you can do
- Create a debug chat session targeting a specific agent variant.
- Send a user turn into an existing session and read back the agent response.
Regional base URLs
Identifiers
Agent Studio labels and API parameters use different names for the same things. When you read an ID from Agent Studio, map it to the API parameter using this table:Agent ID is the same value as Project ID. “Agent” is the current product name; “Project” is the legacy term still surfaced in some Agent Studio screens and URLs. Use the value you see in Agent Studio as the
agentId path parameter — no transformation needed.Authentication
The Debug Chat API uses API key authentication with theX-API-KEY header. API keys are scoped to account, project, and region. Issue keys from the API keys section of Agent Studio, or request one from your PolyAI representative.

