/
/PolyAI Agents API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 1mo ago · Updated 1mo ago
Agent Behavior2
Agents4
Audio Cache7
Branches4
Connectors7
Conversations3
Debug Chat2
Deployments5
  • getGet active deployment per environment
  • getList deployments for an environment
  • postPromote a deployment to the next environment
  • postPublish the current draft to an environment
  • postRollback to a previous deployment
External Events2
Knowledge Base5
Outbound Calls2
Phone Numbers8
Real-Time Configs4
Variants8
Voice Library5
  • getList alert rules
  • postCreate an alert rule
  • getGet an alert rule
  • deleteDelete an alert rule
  • patchUpdate an alert rule
  • getGet active alerts
  • putClose an existing chat conversation
  • postCreate a new chat conversation
  • postSend a message to an existing chat conversation
  • getGet distribution of the maximum number of concurrent conversations
  • get/v1/{account_id}/{project_id}/conversations
  • postReserve a DNI (Dynamic Number Insertion) for an incoming call.
  • getGet handoff state information for a call.
  • getList webhook endpoints
  • postCreate a webhook endpoint
  • getGet a webhook endpoint
  • deleteDelete a webhook endpoint
  • patchUpdate a webhook endpoint
  • postRotate webhook signing secret
Deployments

Rollback to a previous deployment

post/v1/agents/{agentId}/deployments/{deploymentId}/rollback

Request body

deploymentMessagestring

Response

Rolled-back deployment with triggered test run IDs

testRunIdsstring[] required

Changes