Post-call Analysis
Create a new post-call analysis configuration
API Reference
Built-in Tools
Custom Tools
Calls
Post-call Analysis
Phone Numbers
- GETRetrieve a paginated list of all phone numbers configured in your PIA Platform account
- POSTCreate a new phone number
- GETRetrieve detailed information about a specific phone number configuration
- DELRemove a phone number configuration from the PIA Platform
- PATCHUpdate the configuration of an existing phone number
Knowledge Bases
Knowledge Bases v2
Prompt Generation
Public Sharing
Post-call Analysis
Create a new post-call analysis configuration
Create a new post-call analysis configuration
POST
/
v2
/
ai-agents
/
{ai_agent_id}
/
postcall-analysis
{
"items": [
{
"type": "<string>",
"name": "<string>",
"description": "<string>",
"analysis_prompt": "<string>",
"temperature": 123,
"model": "<string>",
"response_format": {}
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"created_by_user_id": "<string>",
"ai_agent_id": "<string>"
}
Path Parameters
Body
application/json
Response
201
application/json
Successful Response
The response is of type object
.
{
"items": [
{
"type": "<string>",
"name": "<string>",
"description": "<string>",
"analysis_prompt": "<string>",
"temperature": 123,
"model": "<string>",
"response_format": {}
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"created_by_user_id": "<string>",
"ai_agent_id": "<string>"
}