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
Get post-call analysis configuration for an agent
Get post-call analysis configuration for an agent
GET
/
v2
/
ai-agents
/
{ai_agent_id}
/
postcall-analysis
/
Copy
{
"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
Response
200
application/json
Successful Response
The response is of type object
.
Copy
{
"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>"
}
Assistant
Responses are generated using AI and may contain mistakes.