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
Knowledge Bases v2
Add Files Document
Add a file document to the knowledge base by providing the file and document_type.
POST
/
v2
/
knowledge-bases
/
{kb_id}
/
documents
/
files
{
"processing_status": {
"status": "processing",
"message": "<string>",
"document_ids": []
}
}
Path Parameters
Body
multipart/form-data
Response
200
application/json
Successful Response
Response model for adding documents to a Knowledge Base.
{
"processing_status": {
"status": "processing",
"message": "<string>",
"document_ids": []
}
}
Assistant
Responses are generated using AI and may contain mistakes.