Agent Websites
List, add, and delete agent website knowledge sources through the frontend API.
GET
List agent websites
Manages website URLs associated with an agent’s knowledge base. This endpoint supports GET, POST, and DELETE operations.Documentation Index
Fetch the complete documentation index at: https://docs.phonely.ai/llms.txt
Use this file to discover all available pages before exploring further.
List Websites
Method:GETEndpoint:
/api/agent-websitesHeaders:
X-Authorization: Your API key (required)
uid(string, required): Your user IDagentId(string, required): The ID of the agent
Add Website
Method:POSTEndpoint:
/api/agent-websitesHeaders:
X-Authorization: Your API key (required)Content-Type:application/json
Delete Website
Method:DELETEEndpoint:
/api/agent-websitesHeaders:
X-Authorization: Your API key (required)
uid(string, required): Your user IDagentId(string, required): The ID of the agentwebsiteId(string, required): The ID of the website to delete
Error Responses
400 Bad Request: Invalid request parameters or invalid URL401 Unauthorized: Invalid or missing API key, or insufficient permissions404 Not Found: Website not found (for DELETE operations)500 Internal Server Error: Server error
Examples
List websites:List agent websites

